bykaranteli-mcp 0.9.3 → 0.10.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/README.md CHANGED
@@ -72,6 +72,7 @@ Requires Node.js 18 or newer.
72
72
  | `get_new_listings` | "Which perpetuals were listed this week, and where first?" |
73
73
  | `get_macro_liquidity` | "What is the Fed balance sheet / RRP / stablecoin supply doing?" |
74
74
  | `get_network_health` | "Bitcoin hashrate, difficulty, fees, mempool right now?" |
75
+ | `get_tradfi_board` | "TSLA perp funding rate? Which exchanges list NVDA perps? Is the stock session open?" |
75
76
  | `get_altseason` | "Is it altseason?", "What is the altcoin season index?" |
76
77
  | `get_metric_context` | "Is today's funding extreme historically?", "Where does this reading sit in its distribution?" |
77
78
  | `get_quantum_exposure` | "How much Bitcoin is quantum-vulnerable?", "What is the P2PK exposure?" |
package/dist/tools.js CHANGED
@@ -749,4 +749,39 @@ export function registerByKaranteliTools(server, options) {
749
749
  return fail(err);
750
750
  }
751
751
  });
752
+ server.registerTool("get_tradfi_board", {
753
+ title: "TradFi perpetuals: stock, index and commodity perps on Binance",
754
+ description: "Call this when the user asks about stock perpetuals (TSLA, NVDA, AAPL, gold, S&P 500...), tokenized-equity perps, TradFi perp funding rates, open interest, liquidations, which exchanges list a stock perp, or whether the equity session is open. Returns Binance's TradFi perpetual board: per contract mark, index, basis, funding, 24h change and volume, open interest, 24h recorded liquidations, other venues listing the same underlying, and the trading-session state per market. Filter by market (EQUITY, HK_EQUITY, KR_EQUITY, CN_EQUITY, COMMODITY, INDEX, PREMARKET) or one symbol.",
755
+ inputSchema: {
756
+ market: z
757
+ .string()
758
+ .trim()
759
+ .toUpperCase()
760
+ .regex(/^[A-Z_]{3,16}$/)
761
+ .optional()
762
+ .describe("Market filter: EQUITY | HK_EQUITY | KR_EQUITY | CN_EQUITY | COMMODITY | INDEX | PREMARKET"),
763
+ symbol: z
764
+ .string()
765
+ .trim()
766
+ .toUpperCase()
767
+ .regex(/^[A-Z0-9]{2,24}$/)
768
+ .optional()
769
+ .describe("One Binance TradFi symbol, e.g. TSLAUSDT"),
770
+ },
771
+ annotations: READ_ONLY,
772
+ }, async ({ market, symbol }) => {
773
+ try {
774
+ const params = new URLSearchParams();
775
+ if (market)
776
+ params.set("market", market);
777
+ if (symbol)
778
+ params.set("symbol", symbol);
779
+ const qs = params.toString();
780
+ const path = `/api/public/tradfi${qs ? `?${qs}` : ""}`;
781
+ return ok(withProvenance(await fetchJson(path), path));
782
+ }
783
+ catch (err) {
784
+ return fail(err);
785
+ }
786
+ });
752
787
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bykaranteli-mcp",
3
- "version": "0.9.3",
3
+ "version": "0.10.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": {