Kalshi MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kalshi MCP Servershow my current portfolio balance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kalshi MCP Server
FastMCP server for Kalshi's Trade API.
Setup
This repo vendors fastmcp/, so run commands from the repository root:
python -m kalshi_mcp.serverBy default the server uses Kalshi's demo API host. Configure it with environment variables:
export KALSHI_ENV=demo
export KALSHI_API_KEY_ID="your-key-id"
export KALSHI_PRIVATE_KEY_PATH="/path/to/kalshi-private-key.pem"You can also provide KALSHI_PRIVATE_KEY directly. Escaped newlines are supported.
Trading tools are disabled unless explicitly enabled:
export KALSHI_ENABLE_TRADING=trueEven then, order_create, order_cancel, rfq_create, and rfq_delete require confirm=true on each call.
Related MCP server: Kalshi MCP Server
Tool Coverage
The server exposes 49 tools covering the core Predictions REST API areas:
Exchange status, schedule, announcements, and user-data timestamp
Markets, market orderbooks, market trades, candlesticks, and series
Events, event metadata, event fee changes, event candlesticks, and multivariate events
Portfolio balance, subaccount balances, positions, fills, settlements, deposits, and withdrawals
Orders, order lookup, order queue positions, V2 create order, and V2 cancel order
Account limits, API usage progress, endpoint costs, and API key listing
Historical cutoffs, historical markets, historical candlesticks, historical trades, historical orders, and historical fills
Communications ID, RFQs, quotes, create RFQ, and delete RFQ
Tool names are prefix-grouped for IDEs and MCP clients that display tools as a flat list:
exchange_*market_*series_*event_*portfolio_*order_*account_*historical_*communications_*,rfq_*, andquote_*
Local MCP Config
Many IDEs and MCP clients can run this server from an mcp.json config. Use this shape and adjust paths/secrets for your machine:
{
"mcpServers": {
"kalshi": {
"command": "python",
"args": ["-m", "kalshi_mcp.server"],
"cwd": "",
"env": {
"KALSHI_API_KEY_ID": "your-key-id",
"KALSHI_PRIVATE_KEY_PATH": "/path/to/kalshi-private-key.pem"
}
}
}
}For public market-data tools, the env block can be omitted. Authenticated portfolio/order tools require KALSHI_API_KEY_ID and either KALSHI_PRIVATE_KEY_PATH or KALSHI_PRIVATE_KEY.
cwd is included because this is a source checkout that vendors fastmcp/ locally. If you install this package into the Python environment used by your MCP client, cwd is not needed.
Optional environment variables:
KALSHI_ENV=productionswitches from demo to production. The default isdemo.KALSHI_ENABLE_TRADING=trueenables write tools such as order placement and RFQ creation. Those tools still requireconfirm=trueon each call.
Notes
Kalshi authenticated requests are signed with RSA-PSS over the concatenated timestamp, HTTP method, and request path without query parameters.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables 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.MIT
- Alicense-qualityDmaintenanceSelf-hosted MCP server for trading on Kalshi prediction markets via DFlow on Solana, enabling account management, market discovery, trading, swaps, transfers, and redemption.181PolyForm Noncommercial 1.0.0
- Alicense-qualityDmaintenanceFastMCP server exposing brokerage and market tools (Angel One, Coinbase, News) via the Model Context Protocol, enabling portfolio queries and trade execution through natural language.1MIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for the Kalshi prediction market trading platform. It provides automated access to market data, order management, and portfolio operations through Kalshi's REST API.MIT
Related MCP Connectors
Kalshi MCP — US-regulated prediction-market data (no auth on public reads).
Multi-tenant FastMCP server for Charles Schwab brokerage data, monetized via DPYC Tollbooth
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/spacegpu/kalshi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server