📈Kalshi
Browse and trade Kalshi prediction markets from Claude. CFTC-regulated and US-friendly — no geofencing.
What it does
A Model Context Protocol server that lets Claude interact with Kalshi, the CFTC-regulated event-contracts exchange. Built by 9crusher, MIT-licensed, published to PyPI as mcp-server-kalshi.
What it gives Claude:
- Market discovery: list events and markets, filter by series, status, or close date
- Live data: prices, order books, recent trades, settlement state
- Portfolio: positions, fills, balance, open orders
- Order placement: place, amend, and cancel orders against your funded account
Kalshi vs Polymarket:
- Kalshi is CFTC-regulated and available to US residents — the main reason to pick it over Polymarket if you're in the US.
- No on-chain wallet, no crypto. Funding is USD via ACH/wire from your Kalshi account.
- Authentication is RSA-PSS-signed API requests, not a private key on Polygon.
Heads up: this is not an official Kalshi project. Kalshi has not published an MCP server, so the entire MCP-Kalshi ecosystem on GitHub is community-built. This is the most-starred dedicated Kalshi MCP, MIT-licensed, and actively maintained — but review the source before connecting credentials to a funded account, and only fund the account with money you can afford to lose.
Installation
⚠️ Real money. This connects Claude to your live Kalshi account and lets it place trades without a confirmation step. Only fund the account with what you can afford to lose.
Do these first:
-
Install
uv(provides theuvxcommand):curl -LsSf https://astral.sh/uv/install.sh | sh -
Create a Kalshi account at kalshi.com. Kalshi is CFTC-regulated, so US residents can sign up directly.
-
Generate API credentials in your Kalshi account → Settings → API Keys. You'll get two things:
- an API key ID (a string)
- an RSA private key file (
.pem) — download it when shown; Kalshi will not let you re-download it later.
-
Save the
.pemsomewhere safe (e.g.~/kalshi-key.pem). The install command needs the full path.
Then swap YOUR_API_KEY and the .pem path in the install command below for your actual values before running it.
- Make sure Claude is on your device and in your terminal.
MCP servers register with Claude Code via
claude mcp add. You need Claude Code installed first:npm i -g @anthropic-ai/claude-code - Set up the server on your machine.
Runs the project's installer (clone + dependencies + config). Follow any prompts. After this finishes, the server is ready to register with Claude Code in the next step.
- Configure credentials.
Needs a Kalshi API key ID + the RSA private key file you downloaded when you created the key. Swap the placeholders in the install command for your real values before running it.
- Restart Claude Code.
Quit and reopen Claude Code so it picks up the new MCP registration. Run
/mcpinside Claude Code to confirm the server is connected. - Use it.
Ask Claude naturally. It will call the server's tools when your request matches one. Tool calls show up inline so you can see exactly what Claude is doing.
Prefer to read the source first? Open on GitHub.