keydata.shop: Polymarket and exchange order flow
Free SQL over Polymarket 5/15-min crypto up/down markets with Binance, Bybit, OKX, Coinbase data
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"keydata": {
"url": "https://keydata.shop/mcp"
}
}
}원격 엔드포인트
https://keydata.shop/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢list_tables
List the tables, the period covered and the limits per query. Call it first.
입력 스키마
{
"type": "object",
"properties": {},
"title": "list_tablesArguments"
}출력 스키마
{
"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.
입력 스키마
{
"type": "object",
"properties": {
"table": {
"title": "Table",
"type": "string"
}
},
"required": [
"table"
],
"title": "describe_tableArguments"
}출력 스키마
{
"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.
입력 스키마
{
"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"
}출력 스키마
{
"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.
입력 스키마
{
"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"
}출력 스키마
{
"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.
입력 스키마
{
"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"
}출력 스키마
{
"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.
입력 스키마
{
"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"
}출력 스키마
{
"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).
입력 스키마
{
"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"
}출력 스키마
{
"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.
입력 스키마
{
"type": "object",
"properties": {
"sql": {
"title": "Sql",
"type": "string"
},
"max_rows": {
"default": 200,
"title": "Max Rows",
"type": "integer"
}
},
"required": [
"sql"
],
"title": "run_sqlArguments"
}출력 스키마
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "run_sqlOutput"
}커뮤니티
증거