TILLA - market data on one clock
v2.2.0Aligned market data for AI agents: crypto, stocks, FX and macro on one clock.
TILLA serves crypto spot and derivatives, US stocks and ETFs, FX, rates, macro, every Bitcoin and Ether spot ETF fund by fund, and blocks, mempool and fees from our own Bitcoin node - every value on one UTC clock. This is the official Model Context Protocol server: 22 tools for Claude, ChatGPT, Cursor or any MCP client - the data tools (latest, window, market, tick, changes, search, coverage, export ...), tilla_free_key (a free key in one call, no account) and TILLA Scan for ANY data set: tilla_scan -> tilla_scan_findings -> tilla_scan_validate -> tilla_scan_compare.
Summary extracted from the README.
TILLA MCP server
Aligned market data for quants and AI: crypto, stocks, FX and macro on one clock - straight into your AI agent.
| 133,616 | 12,927 · 524 · 78 · 68 | 23 spot ETFs, fund by fund | 6 years, 1-minute to quarterly |
|---|---|---|---|
| datapoints (133,210 market + 406 from our Bitcoin node) | US stocks/ETFs · coins · coin futures · FX pairs | BTC and ETH, daily flows | every bar since 2020-11-27, one UTC clock |
TILLA serves crypto spot and derivatives, US stocks and ETFs, FX, rates, macro, every Bitcoin and Ether spot ETF fund by fund, and blocks, mempool and fees from our own Bitcoin node - every value on one UTC clock.
This is the official Model Context Protocol server: 22 tools for Claude, ChatGPT,
Cursor or any MCP client - the data tools (latest, window, market, tick, changes, search, coverage, export ...),
tilla_free_key (a free key in one call, no account) and TILLA Scan for ANY data set: tilla_scan ->
tilla_scan_findings -> tilla_scan_validate -> tilla_scan_compare. No install at all with the hosted server
https://mcp.tillacrypto.com/mcp.
- Site: https://tillacrypto.com · Docs: https://tillacrypto.com/#docs · Plans: https://tillacrypto.com/#pricing
- Ask your agent things like "BTC price against spot ETF flows this month" or "NVDA and BTC on one hourly chart".
Connect in 30 seconds
Fastest - Claude.ai, ChatGPT or any app with "add a custom connector": paste this address, nothing else:
https://mcp.tillacrypto.com/mcp
Then just ask. With no key, your AI calls tilla_free_key and gets a free one on the spot (no account, no card) and
passes it to every tool as api_key. Already have a key? Put it in the address so you never think about it again:
https://mcp.tillacrypto.com/mcp?key=tk_live_your_key.
Want your own key you can rotate? Make a free account at https://tillacrypto.com (Data API, Get a free key).
Claude Desktop / Claude Code / Cursor (local, stdio)
pip install tilla-mcp
{
"mcpServers": {
"tilla": {
"command": "tilla-mcp",
"env": { "TILLA_API_KEY": "tk_live_your_key_here" }
}
}
}
With uv, nothing to install: "command": "uvx", "args": ["tilla-mcp"]. Or run this folder's file directly:
pip install "mcp>=1.9,<2" httpx, then "command": "python", "args": ["/path/to/tilla_mcp.py"].
Hosted - nothing to install
https://mcp.tillacrypto.com/mcp (streamable HTTP). Each caller sends their own key: X-API-Key: <key>, or
Authorization: Bearer <key>, or ?key=<key> on the URL. Without a key the free tools still answer.
{ "mcpServers": { "tilla": { "url": "https://mcp.tillacrypto.com/mcp", "headers": { "X-API-Key": "tk_live_..." } } } }
Run your own over HTTP
TILLA_MCP_TRANSPORT=http python tilla_mcp.py
# serves MCP over http://127.0.0.1:8971/mcp; each request carries its own key as above
Tools
Every data tool calls a real route of the API (TOOL_ROUTES in tilla_mcp.py names it). Every tool that needs a key
also takes api_key, so a key from tilla_free_key works in the same chat in any client.
| Tool | Key? | What it does | API call |
|---|---|---|---|
tilla_about |
no | What TILLA is and how to start | - |
tilla_status |
no | The newest 1-minute bar and the tiers served | GET /v1/status |
tilla_tiers |
no | The public plans: price, history cap, limits, size | GET /v1/tiers |
tilla_inventory |
yes | Exactly which series the key holds, per layer and lane (call this first) | GET /v1/inventory |
tilla_latest |
yes | The newest bar of named series on one lane | GET /v1/<tier>/<layer>/<lane> |
tilla_window |
yes | A range of bars; page with next_start while more is true |
GET /v1/<tier>/<layer>/<lane> |
tilla_usage |
yes | The key's plan and budget right now | GET /v1/usage |
tilla_markets |
no | Every market, its category and related markets | GET /v1/markets |
tilla_market |
yes | One market (and optionally its related ones) on one clock | GET /v1/<tier>/market/<id> |
tilla_sample |
no | The free sample: one whole day of every table, and one tick | GET /v1/sample/day |
tilla_health |
no | The newest bar of every lane - is the data current | GET /v1/health |
tilla_docs |
no | The whole API manual in one call | GET /llms-full.txt + GET /v1 |
tilla_tick |
yes | Every series the key holds for the bar that just closed, one call | GET /v1/<tier>/tick |
tilla_free_key |
no | A free key at once - no account (one per person per day) | POST /v1/demo_key |
tilla_scan |
no | TILLA Scan: give it data or a public link (CSV, JSON, Parquet, SQLite, .gz) - faults and things to look at, per table and column. Hosted server only; the data is deleted after the scan | the site's scanner |
tilla_changes |
yes | Every value repaired since a time, so a kept copy stays correct | GET /v1/<tier>/changes |
Resources: tilla://about, tilla://tiers.
Config (env)
| Var | Default | Meaning |
|---|---|---|
TILLA_API_KEY |
- | Your tk_live_... key (needed for keyed tools) |
TILLA_API_BASE |
https://api.tillacrypto.com |
API base (dev: http://127.0.0.1:8898) |
TILLA_MCP_TRANSPORT |
stdio |
stdio (local) or http (remote) |
TILLA_MCP_HOST / TILLA_MCP_PORT |
127.0.0.1 / 8971 |
HTTP bind |
Safe by design
- Read-only: every tool is an HTTPS
GETtoapi.tillacrypto.com(ortillacrypto.comfor the docs). No tool writes a file, runs a command, places a trade or touches a wallet. - Your key is read from
TILLA_API_KEYand sent only to the TILLA API, never logged or returned to the agent. - HTTP mode binds to
127.0.0.1unless you setTILLA_MCP_HOSTyourself. - Two dependencies, both standard: the official
mcpSDK andhttpx.
Notes for the agent
- Call
tilla_inventorybefore naming a series - never guess a series name. - A window with no
startreturns the newest bars; with astart, page forward withnext_startuntilmoreis false. 403means the key or the data is outside the plan;429means a minute or day budget was hit, andretry_after_secondssays when to try again.- An empty value is real: a closed market carries its last print, but an open market with no print is left empty and named, never invented.
MIT licensed. Data access governed by the TILLA plan terms.