loading…
Search for a command to run...
loading…
Enables users to search, analyze, and trade on Kalshi prediction markets directly through MCP-compatible clients. It supports portfolio management, market data
Enables users to search, analyze, and trade on Kalshi prediction markets directly through MCP-compatible clients. It supports portfolio management, market data retrieval, and limit order execution with production-grade authentication and rate limiting.
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.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"kalshi-mcp-server": {
"command": "npx",
"args": []
}
}
}