Kalshi MCP server
io.github.9crusher/mcp-server-kalshi·v0.2.2·28 starsMCP server for end-to-end trading on Kalshi prediction markets: discover, research, trade.
28 stars110 downloads/wk
Reviews
Write oneNobody has reviewed Kalshi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Kalshi tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan9 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Kalshi compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,255 servers
- GitHub stars
- 28
- more than 92% of 28,688 servers
- Downloads a week
- 110
- more than 65% of 12,191 servers with a package
Install Kalshi in Claude Code, Cursor or VS Code
claude mcp add mcp-server-kalshi -- uvx mcp-server-kalshi
What the publisher says
From the Kalshi repository's README, as published. We do not edit it. Read it on GitHub
MCP Server Kalshi
<!-- mcp-name: io.github.9crusher/mcp-server-kalshi -->
An MCP server that gives Claude Code and other agent harnesses a first-class interface to Kalshi. It is built for end-to-end trading: browse markets, research them, read the exact settlement rules (including pulling the contract-terms PDFs), and execute trades — all through MCP tools.
Highlights
getseries. (Kalshi has no free-text search; listmarkets filters are the search.)
- Discovery — listmarkets, getmarket, listevents, getevent, list_series,
early-close conditions, settlement sources, and series prohibitions; fetchrulespdf downloads and extracts the text of the actual legal contract PDF so the agent can read it.
- Research — getmarketorderbook, getmarketcandlesticks, getmarkettrades.
- Deep rules — getmarketrules consolidates a market's rulesprimary/rulessecondary,
plus listorders / getorder.
- Exchange — getexchangestatus, getexchangeschedule (is the market open, and its hours).
- Portfolio — getbalance, getpositions, getfills, getsettlements.
- Trading — createorder, cancelorder, amendorder, decreaseorder,
Safety by default
KALSHI_ENV=prod.
- The server targets Kalshi's demo (sandbox) environment unless you explicitly set
return a preview — a human-readable summary and the exact payload — and place nothing.
- Order-placing tools (createorder, amendorder) require confirm=true. Without it they
and order tools need an API key + RSA private key.
- Credentials are optional: all market/rules tools work unauthenticated. Only portfolio
Intuitive order model
Kalshi's V2 order API quotes everything from the YES leg (bid/ask in fixed-point dollars). This server exposes the natural model instead — action (buy/sell) + side (yes/no) + a whole cents limit price — and translates it (including the buy-NO ⇄ sell-YES price inversion).
Configuration
See .env-example. Get API credentials at docs.kalshi.com/gettingstarted/apikeys and a demo account via the demo environment guide.
Claude Desktop (uvx)
"mcpServers": {
"kalshi": {
"command": "uvx",
"args": ["mcp-server-kalshi"],
"env": {
"KALSHI_ENV": "demo",
"KALSHI_API_KEY": "<YOUR KALSHI API KEY>",
"KALSHI_PRIVATE_KEY_PATH": "PATH TO YOUR RSA KEY FILE"
}
}
}Claude Desktop (Docker)
"mcpServers": {
"kalshi": {
"command": "docker",
"args": ["run", "--rm", "-i",
"--mount", "type=bind,src=/Users/username,dst=/Users/username",
"-e", "KALSHI_ENV", "-e", "KALSHI_API_KEY", "-e", "KALSHI_PRIVATE_KEY_PATH",
"mcp-server-kalshi"],
"env": {
"KALSHI_ENV": "demo",
"KALSHI_API_KEY": "<YOUR KALSHI API KEY>",
"KALSHI_PRIVATE_KEY_PATH": "PATH TO YOUR RSA KEY FILE"
}
}
}Local Development
- Create a .env file (see .env-example).
- Install deps: uv sync (add --extra dev for dev tools). Requires Python 3.10+.
- Run: uv run start.
- Test: uv run pytest.
MCP Inspector
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-kalshi run startTesting & code quality
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Kalshi: common questions
- Is Kalshi MCP server safe?
- Mostly: it is graded B (83/100). Read the Kalshi safety report
- How do I install Kalshi?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Kalshi need an API key?
- Yes. The registry entry asks for
KALSHI_API_KEY. - Is Kalshi maintained?
- The last commit was 46 days ago (2026-09-19). The latest release is v0.2.2.
- What can I use instead of Kalshi?
- Servers from other publishers that do the same job: CCXT MCP server and World Monitor MCP server.
- How does Kalshi compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,255 servers); github stars 28 (more than 92% of 28,688 servers); downloads a week 110 (more than 65% of 12,191 servers with a package). Full comparison.
Alternatives to Kalshi
Same job from other publishers: the closest match first, then the best rated.
- CCXTOfficial CCXT MCP server - Market data and trading across 100+ exchanges and prediction marketsnot reviewedWidely usedA
- World MonitorReal-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.not reviewedWidely usedA