Prediction Markets (Polymarket, PredictIt, Kalshi)▌

by jamesanz
Real-time prediction market data from Polymarket, PredictIt & Kalshi—calculated odds, contract pricing, and event filter
Integrates with Polymarket, PredictIt, and Kalshi to provide real-time prediction market data with calculated odds, contract pricing, and event filtering for market analysis and trading research applications.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Political and election analysis
- / Market research and trend analysis
- / Trading strategy development
- / Event probability assessment
capabilities
- / Search prediction markets by keyword
- / Get real-time odds and prices
- / Query multiple platforms simultaneously
- / Filter markets by topic
- / Access live contract pricing data
what it does
Fetches real-time prediction market data from Polymarket, PredictIt, and Kalshi, providing current odds, contract prices, and market search capabilities for analysis.
about
Prediction Markets (Polymarket, PredictIt, Kalshi) is a community-built MCP server published by jamesanz that provides AI assistants with tools and capabilities via the Model Context Protocol. Real-time prediction market data from Polymarket, PredictIt & Kalshi—calculated odds, contract pricing, and event filter It is categorized under finance, analytics data.
how to install
You can install Prediction Markets (Polymarket, PredictIt, Kalshi) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Prediction Markets (Polymarket, PredictIt, Kalshi) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
📊 Prediction Markets MCP Server
Real-time prediction market data in your AI workflow. Get current odds and prices from Polymarket, PredictIt, and Kalshi. No API keys required.
An MCP (Model Context Protocol) server that brings live prediction market data into AI coding environments like Cursor and Claude Desktop.
<a href="https://glama.ai/mcp/servers/@JamesANZ/prediction-market-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@JamesANZ/prediction-market-mcp/badge" alt="prediction-market-mcp MCP server" /> </a>Why Use Prediction Markets MCP?
- 🆓 No API Keys – Works out of the box, zero configuration
- 📈 Multi-Platform – Polymarket, PredictIt, and Kalshi in one interface
- ⚡ Real-time Data – Current odds and prices from live markets
- 🎯 Easy Setup – One-click install in Cursor or simple manual setup
- 🔍 Keyword Search – Find markets by topic or keyword
Quick Start
Ready to explore prediction markets? Install in seconds:
Install in Cursor (Recommended):
Or install manually:
npm install -g prediction-markets-mcp
# Or from source:
git clone https://github.com/JamesANZ/prediction-markets-mcp.git
cd prediction-markets-mcp && npm install && npm run build
Features
get-prediction-markets
Search for prediction markets across multiple platforms by keyword.
Parameters:
keyword(string, required): Search term (max 50 characters)- Examples: "trump", "election", "supreme court"
Returns:
- Markets from Polymarket (percentage odds)
- Markets from PredictIt (dollar prices)
- Markets from Kalshi (regulated US markets)
Installation
Cursor (One-Click)
Click the install link above or use:
cursor://anysphere.cursor-deeplink/mcp/install?name=prediction-markets-mcp&config=eyJwcmVkaWN0aW9uLW1hcmtldHMtbWNwIjp7ImNvbW1hbmQiOiJucHgiLCJhcmdzIjpbIi15IiwicHJlZGljdGlvbi1tYXJrZXRzLW1jcCJdfX0=
Manual Installation
Requirements: Node.js 18+ and npm
# Clone and build
git clone https://github.com/JamesANZ/prediction-markets-mcp.git
cd prediction-markets-mcp
npm install
npm run build
# Run server
node build/index.js
Usage Examples
Search for Markets
Find prediction markets by keyword:
{
"tool": "get-prediction-markets",
"arguments": {
"keyword": "trump"
}
}
Search Election Markets
Find markets related to elections:
{
"tool": "get-prediction-markets",
"arguments": {
"keyword": "election"
}
}
Supported Platforms
| Platform | Format | Description |
|---|---|---|
| Polymarket | Percentage odds | Crypto-based prediction markets |
| PredictIt | Dollar prices | Traditional prediction markets |
| Kalshi | Regulated | US-regulated prediction markets |
Data Sources
- Polymarket:
https://clob.polymarket.com/markets - PredictIt:
https://www.predictit.org/api/marketdata/all/ - Kalshi: Regulated US prediction markets
Use Cases
- Traders – Monitor odds and prices across platforms
- Researchers – Analyze market sentiment and predictions
- Developers – Build apps with prediction market data
- Analysts – Track political and event probabilities
Technical Details
Built with: Node.js, TypeScript, MCP SDK
Dependencies: @modelcontextprotocol/sdk, superagent, zod
Platforms: macOS, Windows, Linux
Contributing
⭐ If this project helps you, please star it on GitHub! ⭐
Contributions welcome! Please open an issue or submit a pull request.
License
MIT License – see LICENSE file for details.
Support
If you find this project useful, consider supporting it:
⚡ Lightning Network
lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa
₿ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp
Ξ Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f
FAQ
- What is the Prediction Markets (Polymarket, PredictIt, Kalshi) MCP server?
- Prediction Markets (Polymarket, PredictIt, Kalshi) is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Prediction Markets (Polymarket, PredictIt, Kalshi)?
- This profile displays 57 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.4 out of 5—verify behavior in your own environment before production use.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★57 reviews- ★★★★★Fatima Agarwal· Dec 16, 2024
Prediction Markets (Polymarket, PredictIt, Kalshi) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Neel Bansal· Dec 12, 2024
Strong directory entry: Prediction Markets (Polymarket, PredictIt, Kalshi) surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Harper Garcia· Dec 8, 2024
Strong directory entry: Prediction Markets (Polymarket, PredictIt, Kalshi) surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Fatima Bansal· Dec 4, 2024
Prediction Markets (Polymarket, PredictIt, Kalshi) has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Olivia Menon· Nov 27, 2024
I recommend Prediction Markets (Polymarket, PredictIt, Kalshi) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Fatima Menon· Nov 23, 2024
According to our notes, Prediction Markets (Polymarket, PredictIt, Kalshi) benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Dev Singh· Nov 7, 2024
Prediction Markets (Polymarket, PredictIt, Kalshi) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Neel Abbas· Nov 3, 2024
I recommend Prediction Markets (Polymarket, PredictIt, Kalshi) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Dev Rahman· Oct 26, 2024
I recommend Prediction Markets (Polymarket, PredictIt, Kalshi) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Neel Rao· Oct 22, 2024
Prediction Markets (Polymarket, PredictIt, Kalshi) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 57