keydata.shop: Polymarket and exchange order flow

Free SQL over Polymarket 5/15-min crypto up/down markets with Binance, Bybit, OKX, Coinbase data

¿Debería usar esto?

Calidad y seguridad

B
Calidad de la descripción
95%
Integridad del esquema
66%
Calidad de los nombres
85%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,884Tokens (definiciones de herramientas)
~1.4 KBTamaño de respuesta típico
Impacto moderado en la atención (1.47% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "keydata": {
      "url": "https://keydata.shop/mcp"
    }
  }
}

Puntos de conexión remotos

https://keydata.shop/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (8)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢list_tables

List the tables, the period covered and the limits per query. Call it first.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "title": "list_tablesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_tablesOutput"
}
🟢describe_table(table)

Columns of a table: type, how the 10-second bar was rolled up, and what the column means. Numbered book levels (bid_price_00 .. bid_price_09) are listed once.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "table": {
      "title": "Table",
      "type": "string"
    }
  },
  "required": [
    "table"
  ],
  "title": "describe_tableArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "describe_tableOutput"
}
🟢exchange_bars(coin, exchange, instrument_class, interval, start, ...)

OHLC bars of one exchange instrument: mid open/high/low/close, time-weighted spread (bps), trade OHLC, base and quote volume, taker-buy share of the quote volume, trades and messages. Times are UTC; the default window is the last day. Coinbase has spot only.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "coin": {
      "enum": [
        "btc",
        "eth",
        "sol",
        "xrp",
        "doge",
        "bnb",
        "hype"
      ],
      "title": "Coin",
      "type": "string"
    },
    "exchange": {
      "default": "binance",
      "enum": [
        "binance",
        "bybit",
        "okx",
        "coinbase"
      ],
      "title": "Exchange",
      "type": "string"
    },
    "instrument_class": {
      "default": "perp",
      "enum": [
        "spot",
        "perp"
      ],
      "title": "Instrument Class",
      "type": "string"
    },
    "interval": {
      "default": "1m",
      "enum": [
        "10s",
        "1m",
        "5m",
        "15m",
        "1h",
        "4h",
        "1d"
      ],
      "title": "Interval",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "End"
    }
  },
  "required": [
    "coin"
  ],
  "title": "exchange_barsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "exchange_barsOutput"
}
🟢compare_venues(coin, start, end)

Side-by-side market quality of every exchange instrument of a coin: mean and median spread (bps), quote volume, trades, mean depth within 5 bps (both sides), book reach, share of silent bars and of bars with a provably valid book. Default window: every day served.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "coin": {
      "enum": [
        "btc",
        "eth",
        "sol",
        "xrp",
        "doge",
        "bnb",
        "hype"
      ],
      "title": "Coin",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "End"
    }
  },
  "required": [
    "coin"
  ],
  "title": "compare_venuesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "compare_venuesOutput"
}
🟢polymarket_markets(coin, interval_min, start, end, limit)

Markets of one up/down series in a window (default: the last day): start and end, the settled outcome, the Up token's mid at the start, 60 s before the end (the last bar that closed by then) and at the end, its mean spread (probability points), and volume and trades of both tokens.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "coin": {
      "enum": [
        "btc",
        "eth",
        "sol",
        "xrp",
        "doge",
        "bnb",
        "hype"
      ],
      "title": "Coin",
      "type": "string"
    },
    "interval_min": {
      "default": 5,
      "enum": [
        5,
        15
      ],
      "title": "Interval Min",
      "type": "integer"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "End"
    },
    "limit": {
      "default": 50,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "coin"
  ],
  "title": "polymarket_marketsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "polymarket_marketsOutput"
}
🟢expiry_calibration(coin, interval_min, seconds_before_end, buckets, start, ...)

How well the Polymarket price predicts the outcome: the Up token's mid N seconds before each market's end (from the last 10-second bar that had closed by then, so no look-ahead), grouped into probability buckets, against the share of markets that settled Up. Also the Brier score. coin and interval_min narrow the set; default: every market served.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "coin": {
      "anyOf": [
        {
          "enum": [
            "btc",
            "eth",
            "sol",
            "xrp",
            "doge",
            "bnb",
            "hype"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Coin"
    },
    "interval_min": {
      "anyOf": [
        {
          "enum": [
            5,
            15
          ],
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Interval Min"
    },
    "seconds_before_end": {
      "default": 60,
      "title": "Seconds Before End",
      "type": "integer"
    },
    "buckets": {
      "default": 10,
      "title": "Buckets",
      "type": "integer"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "End"
    }
  },
  "title": "expiry_calibrationArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "expiry_calibrationOutput"
}
🟢sample_rows(table, start, limit, columns)

First rows of a table from `start` (UTC; default: the first bar). limit 1-50. `columns` picks columns by name; default all (the exchange tables are 83 columns wide).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "table": {
      "title": "Table",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Start"
    },
    "limit": {
      "default": 10,
      "title": "Limit",
      "type": "integer"
    },
    "columns": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Columns"
    }
  },
  "required": [
    "table"
  ],
  "title": "sample_rowsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "sample_rowsOutput"
}
🟢run_sql(sql, max_rows)

Run one read-only DuckDB SELECT over the tables of list_tables (cex, polymarket, chainlink and the per-source views such as binance_btc or polymarket_btc_5m). Filter on ts and aggregate in SQL: at most max_rows rows come back (up to the server's cap), and the query is stopped at the timeout. DuckDB functions such as time_bucket, arg_max, quantile_cont, corr, regr_slope and window functions are available; file and network access are not.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "sql": {
      "title": "Sql",
      "type": "string"
    },
    "max_rows": {
      "default": 200,
      "title": "Max Rows",
      "type": "integer"
    }
  },
  "required": [
    "sql"
  ],
  "title": "run_sqlArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "run_sqlOutput"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada8 herramientas