
keydata
io.github.RabbitGo777/keydata
Free SQL over Polymarket 5/15-min crypto up/down markets with Binance, Bybit, OKX, Coinbase data
Documentation
keydata MCP server: free Polymarket up/down and crypto exchange data
A free, remote Model Context Protocol server with the newest 30 days of Polymarket 5- and 15-minute crypto up/down markets. They sit next to the order books and trades of Binance, Bybit, OKX and Coinbase and the Chainlink feed that settles the markets, all on one receive clock, in 10-second bars. There is no sign-up and no API key.
https://keydata.shop/mcp
The transport is Streamable HTTP. The server is hosted by keydata.shop, so there is nothing to install.
Connect
Claude (claude.ai and desktop): Settings → Connectors → Add custom connector, name it keydata,
paste the URL above.
Claude Code
claude mcp add --transport http keydata https://keydata.shop/mcp
Cursor, in ~/.cursor/mcp.json
{"mcpServers": {"keydata": {"url": "https://keydata.shop/mcp"}}}
VS Code, in .vscode/mcp.json
{"servers": {"keydata": {"type": "http", "url": "https://keydata.shop/mcp"}}}
Any other client that speaks MCP over Streamable HTTP takes the same URL.
Try asking
- Which exchange has the tightest BTC spread and the deepest book, spot and perp?
- How well does the Polymarket price 60 seconds before the end predict the outcome, 5-minute against 15-minute markets?
- Show the hourly BTC perp volume on Binance over the last week and when it peaks.
- How often does a 5-minute ETH market change direction in its last minute?
What is in it
Seven coins: BTC, ETH, SOL, XRP, DOGE, BNB and HYPE (HYPE from 2026-12-02). The window holds the newest 30 days: a new day arrives daily and the oldest one leaves.
| Table | Contents |
|---|---|
cex | Binance, Bybit, OKX and Coinbase for every coin, spot and perpetual: quote, trades, ten levels of the book. Coinbase is spot only. |
polymarket | Every 5- and 15-minute up/down market: both outcome tokens, book, trades and the settled outcome |
chainlink | The settlement feed and its 30- and 60-second TWAPs |
Each coin and venue also has its own view, such as binance_btc, polymarket_eth_5m or chainlink_sol.
The bars are the shop's 1-second aggregates folded into 10 seconds, with the same columns. Quotes and the book hold their state at the end of the bar, and trades are summed.
Tools
| Tool | What it does |
|---|---|
list_tables | Tables, the days covered and the limits |
describe_table | Every column: type, how it was rolled up and what it means |
exchange_bars | OHLC, spread, volume and taker share, from 10 seconds to 1 day |
compare_venues | Spread, volume, depth and feed quality of every venue of a coin |
polymarket_markets | The markets of a series, with their prices along the way and the outcome |
expiry_calibration | The price before the end against how the markets settled |
sample_rows | The first rows of a table from a given time |
run_sql | Any read-only DuckDB query over the tables |
Limits
An answer holds up to 1,000 rows, and a query may run for 20 seconds. Each address runs one query at a time. Aggregation runs on the server, so a query can read every row and return a summary of it.
Download instead
The same 10-second data is also available as parquet files, with one URL list per coin and market length:
wget -nc -i https://keydata.shop/free/btc-5m/urls.txt
Swap btc-5m for any coin and length, such as eth-15m. -nc skips files you already have, so the same
command tomorrow fetches only the new day. To browse the files by day, see
keydata.shop/free/btc-5m.
What 10 seconds cannot show
Polymarket follows Binance within 50 to 400 milliseconds (the measurement), which falls inside a single bar. Lead-lag, queue and fill studies need finer data. keydata.shop sells it as parquet files for every day on sale: 1-second aggregates at $1 a day and raw ticks at $2 a day.
More
- How to connect, on the shop's site
- polymarket-updown-research: open notebooks on a free full day, including the lag measurement
- A free full day on Hugging Face, as 1-second aggregates and raw ticks for every coin
Licence
The text and config snippets in this repository are under the MIT licence. The data the server returns is covered by the shop's own terms.
No installation packages available.