Self-hosted MCP server for Kalshi prediction market trading via DFlow on Solana
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-joinquantish-kalshi": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
⚠️ Notice: Quantish is winding down. The Quantish platform (quantish.live) is shutting down. This MCP server is self-hosted and will continue to work independently, but the Quantish team will no longer be maintaining or updating this project. If you're building in the prediction market space and need real-time data infrastructure, check out polynode.dev.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
Model Context Protocol for Actual Budget API
MCP Security Weekly
Get CVE alerts and security updates for io.github.joinQuantish/kalshi and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
⚠️ Notice: Quantish is winding down. The Quantish platform (quantish.live) is shutting down. This MCP server is self-hosted and will continue to work independently, but the Quantish team will no longer be maintaining or updating this project. If you're building in the prediction market space and need real-time data infrastructure, check out polynode.dev.
Self-hosted Kalshi MCP server for trading on Kalshi markets via DFlow on Solana.
This package provides an MCP (Model Context Protocol) server that enables AI agents to trade on Kalshi prediction markets through the DFlow protocol on Solana.
git clone https://github.com/joinQuantish/kalshi-mcp
cd kalshi-mcp
npm install
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
ENCRYPTION_KEY | Yes | 64-character hex string for wallet encryption |
DFLOW_API_KEY | No | DFlow API key (optional, for authenticated endpoints) |
JUPITER_API_KEY | No | Jupiter API key from portal.jup.ag for swap tools |
SOLANA_RPC_URL | No | Solana RPC endpoint (defaults to mainnet) |
ADMIN_API_KEY | No | Admin API key for administrative endpoints |
PORT | No | Server port (defaults to 3002) |
DFlow API Key:
DFlow access may require approval. Contact the DFlow team at dflow.net for API access.
Jupiter API Key:
Get a free API key from portal.jup.ag (Basic tier, 1 RPS). Required for swap functionality.
Using Quantish's public servers? Quantish's public servers are no longer available as the platform is winding down. You must self-host this MCP server to use it. Follow the setup instructions above to run your own instance.
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Any PostgreSQL database works. Options:
| Provider | Notes |
|---|---|
| Railway | Add PostgreSQL service, copy DATABASE_URL from variables |
| Supabase | Free tier at supabase.com, copy connection string from Settings > Database |
| Neon | Serverless Postgres at neon.tech, free tier available |
| Local Docker | docker run -e POSTGRES_PASSWORD=pass -p 5432:5432 postgres |
Set your DATABASE_URL then run:
# Generate Prisma client
npm run db:generate
# Create tables
npm run db:push
kalshi_signup - Create account with Solana walletkalshi_request_api_key - Request API key with access codekalshi_get_wallet_info - Get wallet address and typekalshi_get_wallet_status - Full wallet status including balanceskalshi_get_balances - Get SOL and USDC balanceskalshi_get_deposit_address - Get address for depositskalshi_export_private_key - Export wallet private keykalshi_import_private_key - Import existing Solana walletkalshi_search_markets - Search Kalshi markets by keywordkalshi_get_market - Get market details by tickerkalshi_get_event - Get event with all nested marketskalshi_get_events - Browse events with filterskalshi_get_live_data - Get live pricing datakalshi_get_quote - Get quote for prediction market tradekalshi_buy_yes - Buy YES outcome tokenskalshi_buy_no - Buy NO outcome tokens