One install.
Every AI tool gets it.
MCP (Model Context Protocol) lets Claude, Cursor, and Codex call datapolymarket as a native tool — no prompt boilerplate, no copy-pasting keys, no glue code. Set up once, ask in English forever.
A standard way for AI to call APIs as tools.
Think of MCP like USB for AI. Plug in a server, every compatible AI tool sees the tools it provides — no per-tool integration. Anthropic invented it; Cursor, Codex, Cline, and the rest support it.
Our MCP server exposes 5 tools that map to our API. Your AI calls them by name.
5 tools, ready to call.
list_open_marketsAll open Polymarket weather/crypto markets the AI can pick from.
resolution_probabilityReturns YES probability for any market by condition_id.
weather_currentCurrent temperature and today's max for any of 44 cities.
weather_forecastBias-corrected forecast ensemble for any city.
crypto_oracle_lagPolymarket vs Binance vs Chainlink price drift, last N minutes.
Three steps. Two minutes.
Have your API key handy
Get one from the homepage if you don't have it yet. It starts with dpm_.
Pick your AI tool and paste the config
The same MCP server works in all of them. Choose your tool below and copy the snippet into its config file.
{
"mcpServers": {
"datapolymarket": {
"command": "npx",
"args": ["-y", "@datapolymarket/mcp"],
"env": { "DPM_API_KEY": "dpm_...your-key..." }
}
}
}// In Cursor → Settings → Tools & MCP → Add server
{
"datapolymarket": {
"command": "npx",
"args": ["-y", "@datapolymarket/mcp"],
"env": { "DPM_API_KEY": "dpm_...your-key..." }
}
}# ~/.codex/config.toml
[mcp_servers.datapolymarket]
command = "npx"
args = ["-y", "@datapolymarket/mcp"]
env = { DPM_API_KEY = "dpm_...your-key..." }Talk to your AI
That's it. The 5 tools are now native. Try one of these:
It looks like this.
Your AI sees datapolymarket as native tools. You ask, it calls, you get the analysis. No prompt-engineering tricks, no API keys in messages.
Future-proof your stack.
New AI agent comes out next month? It probably supports MCP. Your setup just works.
Get your API key