bykaranteli-mcp 0.24.0 → 0.24.1
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 +5 -5
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -399,9 +399,9 @@ export function registerByKaranteliTools(server, options) {
|
|
|
399
399
|
inputSchema: {
|
|
400
400
|
symbol: z.string().describe("The symbol, e.g. BTCUSDT, or a coin name like BTC."),
|
|
401
401
|
window_days: z
|
|
402
|
-
.preprocess((v) => (typeof v === "string" && v.trim() !== "" && Number.isFinite(Number(v)) ? Number(v) : v), z.
|
|
402
|
+
.preprocess((v) => (typeof v === "string" && v.trim() !== "" && Number.isFinite(Number(v)) ? Number(v) : v), z.number().int().min(1).max(365))
|
|
403
403
|
.optional()
|
|
404
|
-
.describe("Optional lookback window in days (
|
|
404
|
+
.describe("Optional lookback window in days, 1 to 365 (the API accepts any integer in that range). Default 90."),
|
|
405
405
|
},
|
|
406
406
|
annotations: READ_ONLY,
|
|
407
407
|
}, async ({ symbol, window_days }) => {
|
|
@@ -783,11 +783,11 @@ export function registerByKaranteliTools(server, options) {
|
|
|
783
783
|
server.registerTool("get_iv_surface", {
|
|
784
784
|
title: "Options implied-volatility surface and 25-delta skew",
|
|
785
785
|
description: "Call this when the user asks about implied volatility by strike or expiry, skew, put versus call IV, term structure of IV, or whether downside protection is expensive. Returns the IV surface (expiry x moneyness), per-expiry ATM / 25-delta put and call IV, skew and butterfly, and the constant-30d history, from the daily Deribit chain.",
|
|
786
|
-
inputSchema: { currency: z.
|
|
786
|
+
inputSchema: { currency: z.enum(["BTC", "ETH"]).optional().describe("BTC or ETH, default BTC") },
|
|
787
787
|
annotations: READ_ONLY,
|
|
788
788
|
}, async (args) => {
|
|
789
789
|
try {
|
|
790
|
-
const path = `/api/public/options/surface?currency=${
|
|
790
|
+
const path = `/api/public/options/surface?currency=${args.currency ?? "BTC"}`;
|
|
791
791
|
return ok(withProvenance(await fetchJson(path), path));
|
|
792
792
|
}
|
|
793
793
|
catch (err) {
|
|
@@ -1029,7 +1029,7 @@ export function registerByKaranteliTools(server, options) {
|
|
|
1029
1029
|
});
|
|
1030
1030
|
server.registerTool("get_coverage", {
|
|
1031
1031
|
title: "Coverage registry: which venues and data types we collect, how, and how fresh",
|
|
1032
|
-
description: "Call this when the user asks which exchanges sit behind a ByKaranteli number, whether a feed is complete or sampled, since when a venue is collected, or how fresh the data is. Returns the live coverage registry: liquidation feeds per venue with kind and last record, snapshot feeds per venue and market, funding arbitrage legs, positioning sources, whale tape, spot minutes and the Hyperliquid whale scan with freshness.",
|
|
1032
|
+
description: "Call this when the user asks which exchanges sit behind a ByKaranteli number, whether a feed is complete or sampled, since when a venue is collected, or how fresh the data is. Returns the live coverage registry: liquidation feeds per venue with kind and last record, snapshot feeds per venue and market, funding arbitrage legs, positioning sources, whale tape, spot minutes and the Hyperliquid whale scan with freshness. snapshots[].country is the jurisdiction only when the venue states one; it is null for most venues, so do not read null as unknown risk.",
|
|
1033
1033
|
inputSchema: {},
|
|
1034
1034
|
annotations: READ_ONLY,
|
|
1035
1035
|
}, async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bykaranteli-mcp",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
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": {
|