Setup · 2 min

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.

What is MCP?

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.

Your AIClaude · Cursor · Codex
MCP server@datapolymarket/mcp
Our APIdatapolymarket.com
What the AI gets

5 tools, ready to call.

list_open_markets

All open Polymarket weather/crypto markets the AI can pick from.

resolution_probability

Returns YES probability for any market by condition_id.

weather_current

Current temperature and today's max for any of 44 cities.

weather_forecast

Bias-corrected forecast ensemble for any city.

crypto_oracle_lag

Polymarket vs Binance vs Chainlink price drift, last N minutes.

Install

Three steps. Two minutes.

01

Have your API key handy

Get one from the homepage if you don't have it yet. It starts with dpm_.

02

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.

Claude CodeAdd to ~/.claude/config.json or your project's .mcp.json
{
  "mcpServers": {
    "datapolymarket": {
      "command": "npx",
      "args": ["-y", "@datapolymarket/mcp"],
      "env": { "DPM_API_KEY": "dpm_...your-key..." }
    }
  }
}
Cursor / ClineCursor → Settings → Tools & MCP
// In Cursor → Settings → Tools & MCP → Add server
{
  "datapolymarket": {
    "command": "npx",
    "args": ["-y", "@datapolymarket/mcp"],
    "env": { "DPM_API_KEY": "dpm_...your-key..." }
  }
}
Codex CLIEdit ~/.codex/config.toml
# ~/.codex/config.toml
[mcp_servers.datapolymarket]
command = "npx"
args = ["-y", "@datapolymarket/mcp"]
env = { DPM_API_KEY = "dpm_...your-key..." }
03

Talk to your AI

That's it. The 5 tools are now native. Try one of these:

Find me 3 mispriced Polymarket weather markets resolving today.
Is there a BTC oracle-vs-spot arb on Polymarket right now?
What's the current YES probability for the NYC heat market?
Summarize my edge across all open weather markets in cities I follow.
After setup

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.

Claude+ datapolymarket MCP
Ask Claude… send

Future-proof your stack.

New AI agent comes out next month? It probably supports MCP. Your setup just works.

Get your API key