Connects Claude to Kalshi's prediction markets with real trading capabilities. You get six tools: search markets by keyword, pull full orderbook depth, check your portfolio balance and positions, find trending markets by volume, place limit orders, and query entire event series like Fed rate decisions. Built on production auth code from the author's live trading bot, so it handles RSA-PSS signatures and rate limiting properly out of the box. Useful when you want to research political or economic events through market prices, track positions without opening the web UI, or execute trades conversationally. Requires API credentials from Kalshi and a private key file on disk.
mcp-name: io.github.yakub268/kalshi
Model Context Protocol server for Kalshi prediction markets. Search, analyze, and trade prediction markets directly through Claude Desktop.
Built with production-grade authentication and rate limiting from a live trading system with 4+ months of uptime.
search_markets - Search by keyword, get prices/volumeget_market_details - Full market info + orderbook depthget_portfolio - Account balance + open positionsget_trending_markets - Top markets by 24h volumeplace_order - Execute limit ordersget_series_markets - All markets in a series (e.g., Fed events)kalshi://balance - Current account balancekalshi://positions - Open positions listKalshi API credentials: Get from kalshi.com/profile/api-keys
Python 3.10+
pip install kalshi-mcp
# Clone repository
git clone https://github.com/yakub268/kalshi-mcp.git
cd kalshi-mcp
# Install dependencies
pip install -e .
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"kalshi": {
"command": "python",
"args": ["-m", "kalshi_mcp"],
"env": {
"KALSHI_API_KEY": "your-api-key-here",
"KALSHI_PRIVATE_KEY_PATH": "C:\\Users\\YourName\\.trading_keys\\kalshi_private_key.pem"
}
}
}
}
Note:
your-api-key-here with your actual Kalshi API key.pem file\\) in pathsRestart Claude Desktop, then try:
What's my Kalshi balance?
or
Search for bitcoin prediction markets
Search for markets about the Federal Reserve
Show me details for ticker KXFED-26MAR19-B5.25
What's my current Kalshi portfolio?
Buy 10 contracts of KXHIGHNYC-26FEB20-B34.5 YES at 25 cents
This server uses RSA-PSS signature authentication:
Security: Your private key never leaves your machine. The server only signs requests locally.
Built on production code from a live Kalshi trading bot:
kalshi_client.py (4+ months uptime)scanner.pyIssues and PRs welcome! This is an open-source project built to fill a gap in the MCP ecosystem.
MIT License - see LICENSE file
Questions? Open an issue or reach out on GitHub.
KALSHI_API_KEY*secretYour Kalshi API key ID
KALSHI_PRIVATE_KEY_PATH*Path to your Kalshi RSA private key file (.pem)
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp