Skip to content
VS Code

kalshi for VS Code

io.github.yakub268/kalshi

Search, analyze, and trade Kalshi prediction markets through Claude Desktop

client:VS Code transport:stdio runtime:pypi

Install kalshi in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "kalshi-api-key",
      "description": "KALSHI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "kalshi-private-key-path",
      "description": "KALSHI_PRIVATE_KEY_PATH",
      "password": true
    }
  ],
  "servers": {
    "kalshi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kalshi-mcp"
      ],
      "env": {
        "KALSHI_API_KEY": "${input:kalshi-api-key}",
        "KALSHI_PRIVATE_KEY_PATH": "${input:kalshi-private-key-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

kalshi in other clients