bykaranteli-mcp 0.7.3 → 0.8.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 +44 -0
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -450,4 +450,48 @@ export function registerByKaranteliTools(server, options) {
|
|
|
450
450
|
return fail(err);
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
|
+
server.registerTool("get_altseason", {
|
|
454
|
+
title: "Altcoin Season Index (live + recorded history)",
|
|
455
|
+
description: "Call this when the user asks whether it is altseason, how altcoins are doing against Bitcoin, or about market rotation. Returns the live Altcoin Season Index (share of the top 50 Binance perpetual altcoins beating BTC over the trailing 90 days; >=75 altseason, <=25 bitcoin season), the strongest and weakest large alts, and the recorded daily history (never reconstructed).",
|
|
456
|
+
inputSchema: {},
|
|
457
|
+
annotations: READ_ONLY,
|
|
458
|
+
}, async () => {
|
|
459
|
+
try {
|
|
460
|
+
return ok(await fetchJson("/api/public/altseason"));
|
|
461
|
+
}
|
|
462
|
+
catch (err) {
|
|
463
|
+
return fail(err);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
server.registerTool("get_quantum_exposure", {
|
|
467
|
+
title: "Quantum-exposed Bitcoin (daily first-party measurement)",
|
|
468
|
+
description: "Call this when the user asks how much Bitcoin is vulnerable to a quantum computer, about quantum-exposed supply, P2PK coins, or Satoshi-era exposure. Returns the latest daily measurement from ByKaranteli's own Bitcoin Core node: exposed BTC and its share of held value and UTXO count, composition by script family, dormancy cohorts, the dormant-P2PK watch set, and provenance hashes (base_height, base_hash, txoutset_hash) so any figure can be re-verified against any node.",
|
|
469
|
+
inputSchema: {},
|
|
470
|
+
annotations: READ_ONLY,
|
|
471
|
+
}, async () => {
|
|
472
|
+
try {
|
|
473
|
+
return ok(await fetchJson("/api/public/quantum"));
|
|
474
|
+
}
|
|
475
|
+
catch (err) {
|
|
476
|
+
return fail(err);
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
server.registerTool("get_metric_context", {
|
|
480
|
+
title: "Historical context for any recorded metric (conditional distribution)",
|
|
481
|
+
description: "Call this when the user asks whether a metric's current reading is high or low, or what happened after similar readings. Buckets today's value against the metric's own recorded daily history and returns the median forward BTC return and up-share per bucket at +1/+3/+7 days, with the all-days base rate alongside. Honesty rules: buckets under 30 days are suppressed, and most metrics do NOT separate from the base rate; the interpretation says so plainly. History, not a forecast. Metrics include coinbase_premium_pct, kraken_btc_premium_pct, dvol_btc, fear_greed, funding_btc_daily_pct, etf_btc_net_flow_usd, vpin_btc, altseason_index, stablecoin_total_mcap_busd, fred_dff, fred_dgs10, fred_walcl_busd, fred_rrp_busd and the btc_* network series.",
|
|
482
|
+
inputSchema: {
|
|
483
|
+
metric: z
|
|
484
|
+
.string()
|
|
485
|
+
.regex(/^[a-z0-9_]{2,50}$/)
|
|
486
|
+
.describe("Metric key, e.g. coinbase_premium_pct, fear_greed, altseason_index, stablecoin_total_mcap_busd."),
|
|
487
|
+
},
|
|
488
|
+
annotations: READ_ONLY,
|
|
489
|
+
}, async ({ metric }) => {
|
|
490
|
+
try {
|
|
491
|
+
return ok(await fetchJson(`/api/public/context?metric=${encodeURIComponent(metric)}`));
|
|
492
|
+
}
|
|
493
|
+
catch (err) {
|
|
494
|
+
return fail(err);
|
|
495
|
+
}
|
|
496
|
+
});
|
|
453
497
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bykaranteli-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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": {
|