MCP Server
MCP
Kalshi Prediction Markets
MCP server for Kalshi prediction markets: native RSA-PSS auth, rate limiting, demo/prod safety.
Install
uvx kalshi-mcp-server
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"identifier": "kalshi-mcp-server",
"version": "0.1.8",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Kalshi API key ID from https://kalshi.com/account/profile",
"isRequired": true,
"format": "string",
"name": "KALSHI_API_KEY_ID"
},
{
"description": "Filesystem path to the RSA private key PEM. Set this or KALSHI_PRIVATE_KEY_PEM.",
"format": "string",
"name": "KALSHI_PRIVATE_KEY_PATH"
},
{
"description": "Inline PEM contents, for hosted deploys without filesystem access.",
"format": "string",
"isSecret": true,
"name": "KALSHI_PRIVATE_KEY_PEM"
},
{
"description": "demo or prod. Defaults to demo for safety.",
"format": "string",
"name": "KALSHI_ENV"
},
{
"description": "Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0.",
"format": "string",
"name": "KALSHI_ALLOW_PROD"
},
{
"description": "Must be 1 for order-placement tools to operate. Read-only by default (0).",
"format": "string",
"name": "KALSHI_TRADING_ENABLED"
}
]
},
{
"registryType": "oci",
"identifier": "ghcr.io/cejor6/kalshi-mcp-server:0.1.8",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Kalshi API key ID from https://kalshi.com/account/profile",
"isRequired": true,
"format": "string",
"name": "KALSHI_API_KEY_ID"
},
{
"description": "Inline PEM contents, for hosted deploys without filesystem access.",
"format": "string",
"isSecret": true,
"name": "KALSHI_PRIVATE_KEY_PEM"
},
{
"description": "demo or prod. Defaults to demo for safety.",
"format": "string",
"name": "KALSHI_ENV"
},
{
"description": "Must be 1 for the server to start with KALSHI_ENV=prod. Defaults to 0.",
"format": "string",
"name": "KALSHI_ALLOW_PROD"
},
{
"description": "Must be 1 for order-placement tools to operate. Read-only by default (0).",
"format": "string",
"name": "KALSHI_TRADING_ENABLED"
}
]
}
]
}
mcp
model-context-protocol
pypi
oci
By
Comments
Sign in to leave a comment