Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kalshi": {
"env": {
"KALSHI_API_KEY": "your-api-key-here",
"KALSHI_PRIVATE_KEY_PATH": "C:\\Users\\YourName\\.trading_keys\\kalshi_private_key.pem"
},
"args": [
"-m",
"kalshi_mcp"
],
"command": "python"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Model Context Protocol server for Kalshi prediction markets. Search, analyze, and trade prediction markets directly through Claude Desktop.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'kalshi-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked kalshi-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
Model Context Protocol for Actual Budget API
MCP Security Weekly
Get CVE alerts and security updates for Kalshi MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.