prediction-market-mcp
This MCP server provides real-time prediction market data from multiple platforms (Polymarket, PredictIt, and Kalshi) through a unified interface.
Key capabilities:
• Search markets by keyword - Query across all platforms using search terms (max 50 characters) like "trump", "election", or "supreme court"
• Get current odds and prices - Retrieve real-time market data displayed as percentages (Polymarket) or dollar amounts (PredictIt)
• Access multi-platform data - Query crypto-based markets (Polymarket), traditional prediction markets (PredictIt), and regulated US markets (Kalshi) simultaneously
• Unified data format - Receive consistent data structure across platforms including market questions, contract names, active status, and current prices
• Single tool interface - Use get-prediction-markets to access all platforms with built-in error handling
• TypeScript support - Comprehensive type definitions for type-safe development
Built on Node.js runtime environment for server execution and JavaScript/TypeScript implementation
Uses npm package manager for dependency management and project build processes
Implemented in TypeScript with full type safety and comprehensive type definitions for prediction market data structures
Alternative package manager option for dependency installation and project management
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@prediction-market-mcpshow me prediction markets for the upcoming election"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📊 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.
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
Related MCP server: pmxt-mcp
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 buildFeatures
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.jsUsage 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/marketsPredictIt:
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
Available Tools
1 toolget-prediction-marketsC
Get prediction market prices from Polymarket, PredictIt, and Kalshi
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Keyword for the market you're looking for (e.g. 'trump') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. While 'Get' implies a read operation, it doesn't specify whether this requires authentication, has rate limits, returns real-time or historical data, or what format the output takes. For a data retrieval tool with zero annotation coverage, this represents significant gaps in behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise - a single sentence that efficiently communicates the core functionality. Every word earns its place by specifying the action, resource, and sources. There's no redundancy or unnecessary elaboration, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool that retrieves data from multiple prediction market platforms with no annotations and no output schema, the description is insufficient. It doesn't explain what format the prices come in, whether it returns all markets matching the keyword or just some, how results from different platforms are organized, or any error conditions. The agent lacks critical context to understand what to expect from using this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the single parameter 'keyword' well-documented in the schema. The description doesn't add any parameter-specific information beyond what's already in the schema. This meets the baseline expectation when the schema does the heavy lifting, but doesn't provide additional semantic context about how the keyword parameter affects results across the different platforms.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get') and resource ('prediction market prices') with specific sources listed (Polymarket, PredictIt, Kalshi). It distinguishes this as a data retrieval operation rather than creation or modification. However, without sibling tools, we cannot assess differentiation from alternatives, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or limitations. It simply states what the tool does without context about appropriate use cases or constraints. This leaves the agent with insufficient information to make informed decisions about tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.0- First observed
get-prediction-markets
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to confuse it with. The tool's purpose is clearly defined to fetch prediction market prices from specific sources.
Since there is only one tool, naming consistency is inherently perfect with no deviations or mixed conventions to evaluate. The tool name follows a clear verb_noun pattern (get-prediction-markets).
A single tool is too few for a server named 'prediction-market-mcp', which suggests a broader domain involving prediction markets. This minimal toolset limits functionality and likely leaves significant gaps in coverage, such as creating markets, placing bets, or managing accounts.
The tool surface is severely incomplete for the prediction market domain. It only provides a read operation (get prices) but lacks essential CRUD/lifecycle operations like creating markets, updating positions, or deleting entries, which are critical for agent workflows in this context.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.
Hosted MCP for Kalshi prediction markets: search, odds, order books, settlement rules, and trading.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that gives AI agents direct access to Polymarket Crypto prediction markets, enriched with live spot prices. Discover markets, analyze order books, paper trade strategies, track activity, and execute live trades — all through natural language.1AGPL 3.0
- AlicenseCqualityBmaintenanceMCP server that provides a unified prediction market API for multiple venues like Polymarket and Kalshi, allowing AI agents to discover markets, fetch order books, and execute trades through a single interface.32368MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes Polymarket prediction markets via CLI wrapper. Enables AI agents to discover markets, check prices, and place trades programmatically.-
- AlicenseNot gradedqualityCmaintenanceMCP server for querying and optionally trading across prediction markets (Polymarket, Kalshi, Limitless, Manifold) through a unified API.31MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JamesANZ/prediction-market-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server