bykaranteli-mcp 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools.js +40 -1
- package/package.json +2 -2
package/dist/tools.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* bykaranteli.com both call registerByKaranteliTools on their own server
|
|
5
5
|
* instance, so the 10 tools have exactly one definition.
|
|
6
6
|
*/
|
|
7
|
-
import { z } from "zod";
|
|
7
|
+
import { z } from "zod/v4";
|
|
8
8
|
export function registerByKaranteliTools(server, options) {
|
|
9
9
|
const BASE_URL = (options?.baseUrl ?? process.env.BYKARANTELI_BASE_URL ?? "https://bykaranteli.com").replace(/\/+$/, "");
|
|
10
10
|
const USER_AGENT = `bykaranteli-mcp/${options?.version ?? "dev"} (+https://github.com/bykarantelicom/bykaranteli-mcp)`;
|
|
@@ -319,4 +319,43 @@ export function registerByKaranteliTools(server, options) {
|
|
|
319
319
|
return fail(err);
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
+
server.registerTool("get_cot_positioning", {
|
|
323
|
+
title: "CME futures positioning (weekly COT report, BTC + ETH)",
|
|
324
|
+
description: "Call this when the user asks how hedge funds or institutions are positioned in Bitcoin or Ethereum, or about the CFTC Commitments of Traders report. Returns net positions in contracts, week-over-week changes, open interest and notable extremes/streaks, from official CFTC data updated every Friday. Note: a large share of hedge fund shorts is the market-neutral basis trade, so the weekly change carries more signal than the level.",
|
|
325
|
+
inputSchema: {},
|
|
326
|
+
annotations: READ_ONLY,
|
|
327
|
+
}, async () => {
|
|
328
|
+
try {
|
|
329
|
+
return ok(await fetchJson("/api/public/cot"));
|
|
330
|
+
}
|
|
331
|
+
catch (err) {
|
|
332
|
+
return fail(err);
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
server.registerTool("get_options_snapshot", {
|
|
336
|
+
title: "Options walls, gamma exposure and DVOL (BTC + ETH)",
|
|
337
|
+
description: "Call this when the user asks where the big options bets sit, about call/put walls, gamma exposure (GEX), the zero-gamma level, implied volatility (DVOL) or the IV term structure for Bitcoin or Ethereum. Daily snapshot of listed crypto options: top strikes by open interest, put/call ratio, dealer hedging map and ATM IV by expiry.",
|
|
338
|
+
inputSchema: {},
|
|
339
|
+
annotations: READ_ONLY,
|
|
340
|
+
}, async () => {
|
|
341
|
+
try {
|
|
342
|
+
return ok(await fetchJson("/api/public/options"));
|
|
343
|
+
}
|
|
344
|
+
catch (err) {
|
|
345
|
+
return fail(err);
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
server.registerTool("get_coinbase_premium", {
|
|
349
|
+
title: "Coinbase Premium (US demand gauge) + carry yield",
|
|
350
|
+
description: "Call this when the user asks whether US investors are buying or selling Bitcoin or Ethereum, about the Coinbase Premium, or what the cash-and-carry basis trade pays. Returns the latest daily premium in percent, 7-day average, same-sign streak, the last 30 days, and annualized quarterly carry yields. History since 2017; positive premium = US buying pressure.",
|
|
351
|
+
inputSchema: {},
|
|
352
|
+
annotations: READ_ONLY,
|
|
353
|
+
}, async () => {
|
|
354
|
+
try {
|
|
355
|
+
return ok(await fetchJson("/api/public/premium"));
|
|
356
|
+
}
|
|
357
|
+
catch (err) {
|
|
358
|
+
return fail(err);
|
|
359
|
+
}
|
|
360
|
+
});
|
|
322
361
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bykaranteli-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "MCP server for live crypto derivatives data from bykaranteli.com: funding rates, funding arbitrage, open interest pressure, Fear & Greed, BTC dominance and verified signal performance. Free, no API key.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"default": "./dist/tools.js"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|