bykaranteli-mcp 0.26.0 → 0.26.2

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.
Files changed (2) hide show
  1. package/dist/tools.js +7 -3
  2. package/package.json +2 -2
package/dist/tools.js CHANGED
@@ -802,7 +802,7 @@ export function registerByKaranteliTools(server, options) {
802
802
  });
803
803
  server.registerTool("get_liqmap", {
804
804
  title: "LiqMap: estimated liquidation clusters with real prints overlaid",
805
- description: "Call this when the user asks where liquidation clusters or liquidity pools sit for a perpetual, where leveraged longs/shorts would get liquidated, or for a liquidation heatmap reading. Returns the public LiqMap snapshot for one symbol: modeled liquidation levels by price, zone aggregates and real liquidation prints from six venues. Public tier serves the 24h view; other intervals are a member feature at the source page.",
805
+ description: "Call this when the user asks where liquidation clusters or liquidity pools sit for a perpetual, where leveraged longs/shorts would get liquidated, or for a liquidation heatmap reading. Returns the LiqMap snapshot for one symbol: modeled liquidation levels by price, zone aggregates and real liquidation prints from six venues. Without an account key (or on the Free plan) the 24h view; with a Builder or higher key (BYKARANTELI_API_KEY) every timeframe from 1h to 30d.",
806
806
  inputSchema: {
807
807
  symbol: z
808
808
  .string()
@@ -811,13 +811,17 @@ export function registerByKaranteliTools(server, options) {
811
811
  .regex(/^[A-Z0-9]{2,20}$/)
812
812
  .optional()
813
813
  .describe("Symbol like BTCUSDT (bare BTC accepted). Default BTCUSDT."),
814
+ timeframe: z
815
+ .enum(["1h", "4h", "12h", "24h", "3d", "1w", "30d"])
816
+ .optional()
817
+ .describe("Model window. Default 24h, the only one served without a Builder or higher key."),
814
818
  },
815
819
  annotations: READ_ONLY,
816
- }, async ({ symbol }) => {
820
+ }, async ({ symbol, timeframe }) => {
817
821
  try {
818
822
  const raw = symbol ?? "BTCUSDT";
819
823
  const sym = raw.endsWith("USDT") ? raw : `${raw}USDT`;
820
- const path = `/api/liqmap/public?symbol=${encodeURIComponent(sym)}&timeframe=24h`;
824
+ const path = `/api/liqmap/public?symbol=${encodeURIComponent(sym)}&timeframe=${encodeURIComponent(timeframe ?? "24h")}`;
821
825
  const data = await fetchJson(path);
822
826
  return ok({ ...data, source: `${PUBLIC_URL}/liqmap/${sym.replace(/USDT$/, "").toLowerCase()}` });
823
827
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bykaranteli-mcp",
3
- "version": "0.26.0",
4
- "description": "MCP server for live crypto derivatives data from bykaranteli.com: funding rates, funding arbitrage, open interest pressure, liquidations, options, ETF flows, Fear & Greed and BTC dominance. Free, no API key.",
3
+ "version": "0.26.2",
4
+ "description": "MCP server for live crypto derivatives data from bykaranteli.com: funding rates, funding arbitrage, open interest pressure, liquidations, options, ETF flows, Fear & Greed and BTC dominance. 45 read-only tools, free account key, paid depth via plans or x402.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "bykaranteli-mcp": "dist/index.js"