Polymarket Kalshi Trading MCP server
{
"mcpServers": {
"oddsrail-polymarket-kalshi-trading": {
"command": "uvx",
"args": [
"oddsrail"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<polymarket_private_key>",
"POLYMARKET_RELAYER_API_KEY": "<polymarket_relayer_api_key>"
}
}
}
}{
"mcpServers": {
"oddsrail-polymarket-kalshi-trading": {
"command": "uvx",
"args": [
"oddsrail"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<polymarket_private_key>",
"POLYMARKET_RELAYER_API_KEY": "<polymarket_relayer_api_key>"
}
}
}
}{
"mcpServers": {
"oddsrail-polymarket-kalshi-trading": {
"command": "uvx",
"args": [
"oddsrail"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<polymarket_private_key>",
"POLYMARKET_RELAYER_API_KEY": "<polymarket_relayer_api_key>"
}
}
}
}{
"servers": {
"oddsrail-polymarket-kalshi-trading": {
"command": "uvx",
"args": [
"oddsrail"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "${input:polymarket_private_key}",
"POLYMARKET_RELAYER_API_KEY": "${input:polymarket_relayer_api_key}"
}
}
},
"inputs": [
{
"id": "polymarket_private_key",
"type": "promptString",
"description": "Polymarket private key",
"password": true
},
{
"id": "polymarket_relayer_api_key",
"type": "promptString",
"description": "Polymarket relayer api key",
"password": true
}
]
}{
"mcpServers": {
"oddsrail-polymarket-kalshi-trading": {
"command": "uvx",
"args": [
"oddsrail"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<polymarket_private_key>",
"POLYMARKET_RELAYER_API_KEY": "<polymarket_relayer_api_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall uvx oddsrailversion 0.18.0
What it does
An MCP server that routes orders to Polymarket and Kalshi prediction markets, with market search, orderbook access, price history, positions, and order management. Built for AI agents that need non-custodial trading access with transparent on-chain attribution and no trading fees.
- Search prediction markets across Polymarket and Kalshi, retrieve live orderbooks and historical prices to inform trading decisions.
- Route and manage orders on either venue with dry-run testing against live books before executing real trades.
- Detect market pricing anomalies using overshoot/fade signals and assess resolution dispute risk on specific markets.
Tools this server exposes
| Tool | Does |
|---|---|
| positions | View current holdings and positions across both venues. |
| watch_book | Monitor live orderbook updates in real-time with bounded streaming. |
| server_info | Display current configuration including builder code attribution in use. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.