Skip to main content

Kalshi Prediction Markets

io.github.cejor6/kalshi-mcp-server

v0.1.8Updated May 31, 2026stdio · Dockerstdio · PyPI

MCP server for Kalshi prediction markets: native RSA-PSS auth, rate limiting, demo/prod safety.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add kalshi-mcp-server -e 'KALSHI_API_KEY_ID=<your-kalshi-api-key-id>' -- uvx kalshi-mcp-server==0.1.8

Configuration

6 settings.

  • KALSHI_API_KEY_ID
    Env var· required
    Kalshi API key ID from https://kalshi.com/account/profile
  • KALSHI_PRIVATE_KEY_PEM
    Env var· optional· secret
    Inline PEM contents, for hosted deploys without filesystem access.
  • KALSHI_PRIVATE_KEY_PATH
    Env var· optional
    Filesystem path to the RSA private key PEM. Set this or KALSHI_PRIVATE_KEY_PEM.
  • KALSHI_ENV
    Env var· optional
    demo or prod. Defaults to demo for safety.
  • KALSHI_ALLOW_PROD
    Env var· optional
    Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0.
  • KALSHI_TRADING_ENABLED
    Env var· optional
    Must be 1 for order-placement tools to operate. Read-only by default (0).

Listed in the official MCP Registry since May 31, 2026. Mirrored daily; last checked Nov 26, 2026.