MCP
kalshi-mcp-server-production.up.railway.app
Trade on prediction markets via
Solana blockchain and DFlow API. Supports generated wallets or importing existing Phantom/Solflare wallets.
Requirements
- Access code required to generate API key
- USDC on
Solana for trading (wallet setup/import handled by the MCP)
One-Click Install for Cursor
Or generate custom install link:
Enter your API key to generate a ready-to-use install link
Preview mcp.json config
{
"mcpServers": {
"quantish_kalshi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://kalshi-mcp-server-production.up.railway.app/mcp",
"--header",
"x-api-key: YOUR_API_KEY"
]
}
}
}⚠️ Enter your API key above to generate a ready-to-use install link, or add it manually after installing
Manual Setup
Add this to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"Quantish Kalshi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://kalshi-mcp-server-production.up.railway.app/mcp",
"--header",
"x-api-key: YOUR_API_KEY"
]
}
}
}Replace YOUR_API_KEY with your actual API key.
Bring Your Own Wallet (BYOW)
You can generate a new wallet or import your existing Phantom/Solflare wallet:
- Use
kalshi_setup_walletto generate a new wallet, OR - Use
kalshi_import_walletto import from Phantom - Your private key is encrypted locally - we never see the raw key
Available Tools (18 total)
Authentication & Setup
kalshi_request_api_keyGet API credentials (requires access code)
kalshi_setup_walletGenerate new Solana wallet
kalshi_import_walletImport existing wallet (Phantom, Solflare)
kalshi_get_wallet_infoGet wallet public key and type
kalshi_get_wallet_import_instructionsInstructions for secure wallet export
Wallet & Balances
kalshi_get_balancesGet SOL and USDC balances
kalshi_get_token_holdingsGet all SPL token holdings
Market Discovery
kalshi_search_marketsSearch markets by keyword (paginated)
kalshi_get_marketGet details for a specific market
kalshi_get_eventsList events with filters (paginated)
kalshi_get_live_dataGet real-time pricing
Trading
kalshi_get_quoteGet swap quote for outcome tokens
kalshi_buy_yesBuy YES outcome tokens
kalshi_buy_noBuy NO outcome tokens
kalshi_sell_positionSell outcome tokens back to USDC
kalshi_redeem_winningsRedeem winning tokens after settlement
Positions & Orders
kalshi_get_positionsGet current positions
kalshi_get_ordersGet order history
Pagination
Search results are paginated (default 10 results). Use offset for more:
"Search for bitcoin markets" → First 10 results"Get more bitcoin markets, offset 10" → Next 10 results