AgentHubAgentHub

Kalshi Prediction Markets

MCP ServerMCP Registry官方收录

io.github.cejor6/kalshi-mcp-server · v0.1.8

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

概览

Kalshi Prediction Markets 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "kalshi-mcp-server": {
      "command": "uvx",
      "args": [
        "kalshi-mcp-server"
      ],
      "env": {
        "KALSHI_API_KEY_ID": "<KALSHI_API_KEY_ID>"
      }
    }
  }
}

环境变量

KALSHI_API_KEY_ID必填

Kalshi API key ID from https://kalshi.com/account/profile

KALSHI_PRIVATE_KEY_PATH可选

Filesystem path to the RSA private key PEM. Set this or KALSHI_PRIVATE_KEY_PEM.

KALSHI_PRIVATE_KEY_PEM可选secret

Inline PEM contents, for hosted deploys without filesystem access.

KALSHI_ENV可选

demo or prod. Defaults to demo for safety.

KALSHI_ALLOW_PROD可选

Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0.

KALSHI_TRADING_ENABLED可选

Must be 1 for order-placement tools to operate. Read-only by default (0).

KALSHI_API_KEY_ID必填

Kalshi API key ID from https://kalshi.com/account/profile

KALSHI_PRIVATE_KEY_PEM可选secret

Inline PEM contents, for hosted deploys without filesystem access.

KALSHI_ENV可选

demo or prod. Defaults to demo for safety.

KALSHI_ALLOW_PROD可选

Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0.

KALSHI_TRADING_ENABLED可选

Must be 1 for order-placement tools to operate. Read-only by default (0).

相关资源

统一 Manifest

{
  "id": "io.github.cejor6/kalshi-mcp-server",
  "type": "mcp-server",
  "version": "0.1.8",
  "displayName": "Kalshi Prediction Markets",
  "description": "MCP server for Kalshi prediction markets: native RSA-PSS auth, rate limiting, demo/prod safety.",
  "repository": {
    "url": "https://github.com/cejor6/kalshi-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "kalshi-mcp-server",
        "version": "0.1.8",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "KALSHI_API_KEY_ID",
            "description": "Kalshi API key ID from https://kalshi.com/account/profile",
            "isRequired": true
          },
          {
            "name": "KALSHI_PRIVATE_KEY_PATH",
            "description": "Filesystem path to the RSA private key PEM. Set this or KALSHI_PRIVATE_KEY_PEM."
          },
          {
            "name": "KALSHI_PRIVATE_KEY_PEM",
            "description": "Inline PEM contents, for hosted deploys without filesystem access.",
            "isSecret": true
          },
          {
            "name": "KALSHI_ENV",
            "description": "demo or prod. Defaults to demo for safety."
          },
          {
            "name": "KALSHI_ALLOW_PROD",
            "description": "Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0."
          },
          {
            "name": "KALSHI_TRADING_ENABLED",
            "description": "Must be 1 for order-placement tools to operate. Read-only by default (0)."
          }
        ]
      },
      {
        "registryType": "oci",
        "identifier": "ghcr.io/cejor6/kalshi-mcp-server:0.1.8",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "KALSHI_API_KEY_ID",
            "description": "Kalshi API key ID from https://kalshi.com/account/profile",
            "isRequired": true
          },
          {
            "name": "KALSHI_PRIVATE_KEY_PEM",
            "description": "Inline PEM contents, for hosted deploys without filesystem access.",
            "isSecret": true
          },
          {
            "name": "KALSHI_ENV",
            "description": "demo or prod. Defaults to demo for safety."
          },
          {
            "name": "KALSHI_ALLOW_PROD",
            "description": "Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0."
          },
          {
            "name": "KALSHI_TRADING_ENABLED",
            "description": "Must be 1 for order-placement tools to operate. Read-only by default (0)."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.cejor6/kalshi-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cejor6%2Fkalshi-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Kalshi Prediction Markets — MCP Server 安装与配置 · AgentHub