Kalshi

Kalshi MCP

kalshi-mcp-production-7c2c.up.railway.app

Trade on Kalshi prediction markets via Solana blockchain and DFlow API. Supports generated wallets or importing existing Phantom/Solflare wallets.

✓ No Access Code Required

  • • Generate API key instantly with kalshi_signup
  • • USDC on Solana for trading (wallet setup/import handled by the MCP)

Quick Setup (Cursor)

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "quantish_kalshi": {
      "url": "https://kalshi-mcp-production-7c2c.up.railway.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "quantish-kalshi": {
      "type": "url",
      "url": "https://kalshi-mcp-production-7c2c.up.railway.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

🔑 Bring Your Own Wallet (BYOW)

You can generate a new wallet or import your existing Phantom/Solflare wallet:

  1. Use kalshi_setup_wallet to generate a new wallet, OR
  2. Use kalshi_import_wallet to import from Phantom
  3. Your private key is encrypted locally - we never see the raw key

Available Tools (18 total)

Authentication & Setup

kalshi_signup

Create account and get API credentials (no access code needed)

kalshi_setup_wallet

Generate new Solana wallet

kalshi_import_wallet

Import existing wallet (Phantom, Solflare)

kalshi_get_wallet_info

Get wallet public key and type

kalshi_get_wallet_import_instructions

Instructions for secure wallet export

Wallet & Balances

kalshi_get_balances

Get SOL and USDC balances

kalshi_get_token_holdings

Get all SPL token holdings

Market Discovery

kalshi_search_markets

Search markets by keyword (paginated)

kalshi_get_market

Get details for a specific market

kalshi_get_events

List events with filters (paginated)

kalshi_get_live_data

Get real-time pricing

Trading

kalshi_get_quote

Get swap quote for outcome tokens

kalshi_buy_yes

Buy YES outcome tokens

kalshi_buy_no

Buy NO outcome tokens

kalshi_sell_position

Sell outcome tokens back to USDC

kalshi_redeem_winnings

Redeem winning tokens after settlement

Positions & Orders

kalshi_get_positions

Get current positions

kalshi_get_orders

Get 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