Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
MCP server for Kalshi prediction markets: native RSA-PSS auth, rate limiting, demo/prod safety.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
KALSHI_API_KEY_ID, KALSHI_PRIVATE_KEY_PATH, KALSHI_PRIVATE_KEY_PEM, KALSHI_ENV, KALSHI_ALLOW_PROD, KALSHI_TRADING_ENABLED비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"kalshi": {
"command": "uvx",
"args": [
"kalshi-mcp-server"
],
"env": {
"KALSHI_API_KEY_ID": "your-value",
"KALSHI_PRIVATE_KEY_PATH": "your-value",
"KALSHI_PRIVATE_KEY_PEM": "your-value",
"KALSHI_ENV": "your-value",
"KALSHI_ALLOW_PROD": "your-value",
"KALSHI_TRADING_ENABLED": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add kalshi --env KALSHI_API_KEY_ID=your-value --env KALSHI_PRIVATE_KEY_PATH=your-value --env KALSHI_PRIVATE_KEY_PEM=your-value --env KALSHI_ENV=your-value --env KALSHI_ALLOW_PROD=your-value --env KALSHI_TRADING_ENABLED=your-value -- uvx kalshi-mcp-server실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"kalshi": {
"command": "uvx",
"args": [
"kalshi-mcp-server"
],
"env": {
"KALSHI_API_KEY_ID": "your-value",
"KALSHI_PRIVATE_KEY_PATH": "your-value",
"KALSHI_PRIVATE_KEY_PEM": "your-value",
"KALSHI_ENV": "your-value",
"KALSHI_ALLOW_PROD": "your-value",
"KALSHI_TRADING_ENABLED": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"kalshi": {
"type": "stdio",
"command": "uvx",
"args": [
"kalshi-mcp-server"
],
"env": {
"KALSHI_API_KEY_ID": "your-value",
"KALSHI_PRIVATE_KEY_PATH": "your-value",
"KALSHI_PRIVATE_KEY_PEM": "your-value",
"KALSHI_ENV": "your-value",
"KALSHI_ALLOW_PROD": "your-value",
"KALSHI_TRADING_ENABLED": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
KALSHI_PRIVATE_KEY_PATH envKALSHI_ENV envKALSHI_ALLOW_PROD envKALSHI_TRADING_ENABLED env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 cejor6 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: KALSHI_API_KEY_ID, KALSHI_PRIVATE_KEY_PEM
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.8)은 5개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv), Docker도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Winecellarbuilders
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Find the team for your wine room.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
📦 [PyPI](https://pypi.org/project/kalshi-mcp-server/) · 🗂️ [MCP Registry](https://registry.modelcontextprotocol.io/?search=io.github.cejor6/kalshi-mcp-server) · 🐳 [Container image](https://github.com/cejor6/kalshi-mcp-server/pkgs/container/kalshi-mcp-server) · 🚀 [Deploy guide](DEPLOY.md)
A Model Context Protocol server for Kalshi prediction markets. Native RSA-PSS auth, async token-bucket rate limiting, two-step prepare/confirm order flow with safety caps, optional bundled OAuth proxy for remote-MCP deployments, 26 tools + 4 resources across REST and WebSocket. MIT, designed to be forked.
Works with any MCP client — locally via stdio (Claude Desktop, Claude Code, Cursor, Zed, Continue, Cline, Goose, etc.) or remotely as a self-hosted HTTP server (claude.ai custom connectors today, any OAuth-capable MCP client in the future).
⚠️ **This software lets an LLM place trades. Read DISCLAIMER.md
before deploying.** Trading prediction markets involves substantial
risk of loss. AI agents make mistakes — sometimes confidently. The
authors are not liable for any losses. Test in demo (
KALSHI_ENV=demo,
KALSHI_TRADING_ENABLED=0) until you understand the failure modes.
Status — alpha. Auth (REST + WS), rate limiting, safety controls,
26 tools across REST + live channels, and 4 resources are in place.
A long-lived multiplexed WebSocket session and
kalshi://markets/{ticker}/orderbook
live resource are planned for v0.2.
Read-only against Kalshi's demo environment — no real money, no trading flag. This is the safe way to try it.
pipx install kalshi-mcp-server # or: pip install kalshi-mcp-server
Point any MCP client at it (this is the Claude Desktop / Claude Code shape — see the full client matrix for others):
{
"mcpServers": { "kalshi": { "command": "kalshi-mcp", "args": ["--env-file", "/Users/you/.kalshi/.env"] } } }
Minimal ~/.kalshi/.env (get a demo key at demo.kalshi.co — it's shown once):
KALSHI_API_KEY_ID=<your-demo-key-id>
KALSHI_PRIVATE_KEY_PATH=/absolute/path/to/demo_private_key.pem KALSHI_ENV=demo
Restart the client and ask it to run a Kalshi tool. Enabling prod and trading is a deliberate opt-in — a few more flags (KALSHI_ALLOW_PROD=1, KALSHI_TRADING_ENABLED=1) — see Configure and the safety model.
Ask the agent for tradeable markets and kalshi_find_liquid_markets returns a volume-ranked, combo-excluded shortlist (trimmed, illustrative):
{
"scanned": 300, "markets": [ { "ticker": "KXNBAGAME-25JUL12BOSLAL-BOS", "title": "Will the Celtics beat the Lakers?", "yes_bid_dollars": 0.58, "yes_ask_dollars": 0.60, "volume_24h_fp": 41230, "open_interest_fp": 88400, "status": "active", "close_time": "2026-07-12T23:30:00Z" }, { "ticker": "KXHIGHNY-26JUL12-B90.5", "title": "Will NYC's high temp exceed 90.5°F today?", "yes_bid_dollars": 0.31, "yes_ask_dollars": 0.34, "volume_24h_fp": 12760, "open_interest_fp": 23110, "status": "active", "close_time": "2026-07-13T04:00:00Z" } ] }
Placing a trade is a deliberate two step — kalshi_prepare_order runs the local safety checks and hands back a confirmation_id; nothing reaches Kalshi until you call kalshi_confirm_order with that token. An LLM can't place an order in a single call.
Most existing Kalshi MCPs are thin wrappers around a handful of REST endpoints. This one aims to be:
main without ever triggering a production deploy — only tagged releases (v*) do. Your fork's deployment stays decoupled from this repo's, and your fork's contributors can't affect what you run.Published as kalshi-mcp-server. pipx installs the kalshi-mcp entrypoint into its own isolated environment:
pipx install kalshi-mcp-server # or: pip install kalshi-mcp-server
git clone https://github.com/cejor6/kalshi-mcp-server.git
cd kalshi-mcp-server uv sync
Multi-arch (amd64 + arm64) images are published to GHCR on every tagged release, tagged :latest and :vX.Y.Z:
docker pull ghcr.io/cejor6/kalshi-mcp-server:latest
See DEPLOY.md for hosted deployment.
.env file. A good location for the MCP-client use case is ~/.kalshi/.env (outside any repo). For local dev, the repo's own .env (gitignored) works too.cp .env.example ~/.kalshi/.env
KALSHI_API_KEY_ID=<your-key-id>
KALSHI_PRIVATE_KEY_PATH=/absolute/path/to/your_kalshi_private_key.pem KALSHI_ENV=demo
For prod, also set:
KALSHI_ENV=prod
KALSHI_ALLOW_PROD=1 KALSHI_TRADING_ENABLED=1 # only if you want writes
On startup, the server resolves config in this order (highest wins):
env: block, or exported in your shell.--env-file PATH if you pass that flag, otherwise from ./.env in the current working directory if it exists. Variables already in the environment from step 1 are not overridden.So you can put secrets either inline in the MCP config (env:) or in a file the config points at (--env-file). You don't need to do both.
Every MCP stdio client uses the same shape: a command to launch the server, optional args, optional env. The differences are just the file/UI where you put the config.
Three install patterns work — pick whichever fits your environment.
pipx install (cleanest, recommended)Installs kalshi-mcp to a globally-available, isolated environment. pipx is the modern Python tool for this:
pipx install kalshi-mcp-server
MCP client config then collapses to:
{
"mcpServers": { "kalshi": { "command": "kalshi-mcp", "args": ["--env-file", "/Users/you/.kalshi/.env"] } } }
Update with pipx upgrade kalshi-mcp-server when you want the latest.
uv run against a local cloneBest if you've cloned the repo and have uv installed. Point the MCP client at uv with --directory:
{
"mcpServers": { "kalshi": { "command": "uv", "args": [ "run", "--directory", "/absolute/path/to/kalshi-mcp-server", "kalshi-mcp", "--env-file", "/Users/you/.kalshi/.env" ] } } }
uv run activates the project's venv automatically. Update with git pull + restart the MCP client. Useful for development / hacking on the server itself.
Best for users without Python installed, or who prefer container isolation:
{
"mcpServers": { "kalshi": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "/Users/you/.kalshi/demo.pem:/secrets/demo.pem:ro", "-e", "KALSHI_API_KEY_ID= ", "-e", "KALSHI_PRIVATE_KEY_PATH=/secrets/demo.pem", "-e", "KALSHI_ENV=demo", "ghcr.io/cejor6/kalshi-mcp-server:latest" ] } } }
The -v mount bind-mounts your PEM file read-only into the container; KALSHI_PRIVATE_KEY_PATH points at that path. Secrets live in the JSON config — fine for a single-user machine.
| Client | Config location |
|---|---|
| Claude Desktop | claude_desktop_config.json (Settings → Developer) |
| Claude Code | project .mcp.json or ~/.claude/mcp.json |
| Cursor | Settings → MCP → Add new MCP Server (UI fills the same JSON) |
| Zed | ~/.config/zed/settings.json under context_servers |
| Continue | ~/.continue/config.json under experimental.modelContextProtocolServers |
| Cline | Cline settings → MCP Servers → Edit JSON |
| Goose | ~/.config/goose/config.yaml under extensions |
If you'd rather inline secrets in the MCP config (acceptable for local dev where the config file is on your own machine):
{
"mcpServers": { "kalshi": { "command": "kalshi-mcp", "env": { "KALSHI_API_KEY_ID": "your-key-id", "KALSHI_PRIVATE_KEY_PATH": "/path/to/your/private_key.pem", "KALSHI_ENV": "demo" } } } }
Why not just `.env` in the project dir? MCP clients spawn the
server as a subprocess from their own working directory (typically
your home dir on macOS/Linux, the client's install dir on Windows),
so a
.envsitting in this repo wouldn't get found. Hence
--env-fileto point at it explicitly. Running the server directly
from the project dir (no client) still works without flags — the
CLI auto-loads
./.envwhen launched there.
For clients that don't speak local stdio — currently the main one being claude.ai's custom connector form, which only supports OAuth-protected HTTP — host the server somewhere reachable and point the client at it. The OAuth proxy is bundled with the server; you just need to configure it.
The proxy lets any GitHub account sign in, so HTTP transport also requires an identity allowlist — MCP_ALLOWED_GITHUB_IDS (numeric ids, preferred: they survive renames) and/or MCP_ALLOWED_GITHUB_LOGINS — enforced on every MCP request (tool calls, resource reads such as kalshi://balance, and listings). HTTP refuses to start on a partial OAuth config, and unauthenticated HTTP (MCP_ALLOW_INSECURE_HTTP=1) is confined to a loopback bind with DNS-rebinding protection unless you also set MCP_ALLOW_INSECURE_PUBLIC_BIND=1.
See DEPLOY.md for an end-to-end walkthrough using Render + GitHub OAuth + Upstash
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요