Labsco
MCP SERVER

Kalshi MCP

by joinQuantish

Trade Kalshi prediction markets from an agent — find the market, read the quote, take a side, and manage the wallet it settles from.

Economic, Alternative & Prediction-Market Data
Summary
An agent that can actually take a position.

Search, quote and buy sit in the same server as the wallet and the API key flow, so a strategy runs end to end — on infrastructure you are running yourself.

What it is

A self-hosted Node server that routes Kalshi trades through the DFlow protocol on Solana. It covers the whole path: getting an API key, generating or importing a Solana wallet, finding markets, quoting them, and placing the trade.

What you get
  • kalshi_search_markets, kalshi_get_events, kalshi_get_event and kalshi_get_market find a market by search or by working down from events
  • kalshi_get_quote returns the price you would get; kalshi_get_live_data returns the market's live state
  • kalshi_buy_yes and kalshi_buy_no take either side of a contract
  • Wallet handling: kalshi_get_wallet_info, kalshi_get_wallet_status, kalshi_get_balances and kalshi_get_deposit_address
  • Bring your own key or take it back out: kalshi_import_private_key and kalshi_export_private_key
  • kalshi_signup and kalshi_request_api_key handle the account and key from inside the same session
Requirements

You host it yourself: the vendor has wound its platform down, the public endpoints are gone, and the project is no longer maintained. Running an instance needs Node, a PostgreSQL connection string and a hex encryption key for the stored wallets. Keys for DFlow and Jupiter, a Solana RPC endpoint, an admin key and the listening port are all optional — the Jupiter key is what enables the swap tools.

Setup effort

One command — npx -y @quantish/kalshi-server