Skip to main content
Datadash runs a Model Context Protocol server alongside the REST API. Connect it to an AI assistant and you can ask questions in plain English — “which wallets are up the most on election markets this month?” — and the assistant composes the queries, runs them and reads the rows for you.
It uses the Streamable HTTP transport and authenticates with the same X-Api-Key header as the REST API.
The MCP option in this site’s page menu connects an assistant to these docs, for searching them. The server on this page connects it to Datadash’s data.

Setup

1

Create an API key

Follow API Keys to create one.The assistant acts with that key’s full access, including creating, changing and deleting your cohorts. Create a key just for your MCP client, so you can revoke it without affecting anything else.
2

Pick your AI tool

Each tab has the exact setup. Replace <your-api-key-here> with the key from step 1.
Register the Datadash MCP server. --scope user makes it available in every project:
Start a new session and open the MCP menu. datadash should be listed as connected:
3

You're set

Datadash is connected. Start a new chat and ask about the data. The prompts below are a good place to start.

What you can ask

Once connected, just ask. A few starting points:
  • “Who are the top 10 wallets by realized PnL in crypto markets?”
  • “What is smart money positioned on in the biggest active politics markets?”
  • “Show me the open positions of 0xAb8D…90F1, largest first.”
  • “Build a cohort of wallets with over $100k in volume and a win rate above 60%, then tell me what they’re holding.”
The assistant works out the table, fields and filters itself. You don’t need to know the request shape. When it creates or reports on a cohort, it links you to that cohort in the dashboard.

Tools

The server exposes a small, fixed set of tools. Rather than one tool per endpoint, a single query_table takes the table as an argument, and get_schema describes every table in one call. The schema is also published as the resource datadashxyz://schema, for clients that can load resources into context without spending a tool call.

Things worth knowing

A tool call runs through the same validation, filtering and authentication as the equivalent REST request. The filter grammar, page limits and error messages are identical, so anything you can do over MCP you can reproduce with curl. That makes it a quick way to prototype a query before you write code.
The assistant picks a page.limit for each query. When a result fills the page, the tool says so, and the assistant can either narrow the filter or read on with page.offset. If an answer looks suspiciously round, ask whether it saw every row.
A criteria cohort’s membership is computed asynchronously after it’s created or changed. The assistant waits for the build to finish (up to two minutes) before reading its wallets. A static cohort is ready as soon as it’s saved. See Cohorts for how criteria work.
Markets, events and similar entities are filtered by ID, not name. The assistant finds the IDs with query_lookup first. When a name matches several candidates, it should pick the right ones or ask you. If an answer covers the wrong market, name the market more precisely.

Next steps

API Keys

Create a dedicated key for your MCP client.

Cohorts

How cohort criteria are defined and built.