Prediction Markets (Polymarket, PredictIt, Kalshi) logo

Prediction Markets (Polymarket, PredictIt, Kalshi)

Community
JamesANZ

A simple MCP server that grabs prediction market data from polymarket, PredictIt, & Kalshi.

PublisherJamesANZ
Repositoryprediction-market-mcp
LanguageTypeScript
Forks
13
Stars
36
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Prediction Markets (Polymarket, PredictIt, Kalshi) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    36 stars and 13 forks from the linked repository.

📊 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.

Trust Score

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):

🔗 Install in Cursor

Or install manually:

bash
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

bash
# 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:

json
{
  "tool": "get-prediction-markets",
  "arguments": {
    "keyword": "trump"
  }
}

Search Election Markets

Find markets related to elections:

json
{
  "tool": "get-prediction-markets",
  "arguments": {
    "keyword": "election"
  }
}

Supported Platforms

PlatformFormatDescription
PolymarketPercentage oddsCrypto-based prediction markets
PredictItDollar pricesTraditional prediction markets
KalshiRegulatedUS-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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "prediction-markets-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "prediction-markets-mcp"
      ]
    }
  }
}

Use Prediction Markets (Polymarket, PredictIt, Kalshi) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Prediction Markets (Polymarket, PredictIt, Kalshi) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Prediction Markets (Polymarket, PredictIt, Kalshi) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Prediction Markets (Polymarket, PredictIt, Kalshi) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "prediction-markets-polymarket-predictit-kalshi": {
      "command": "npx",
      "args": [
        "-y",
        "prediction-markets-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Prediction Markets (Polymarket, PredictIt, Kalshi) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Prediction Markets (Polymarket, PredictIt, Kalshi) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Prediction Markets (Polymarket, PredictIt, Kalshi) to help me with this task?
Prediction Markets (Polymarket, PredictIt, Kalshi)
Sure. I read it.
Here is what I found using Prediction Markets (Polymarket, PredictIt, Kalshi).

Frequently asked questions

What is the Prediction Markets (Polymarket, PredictIt, Kalshi) MCP server used for?

Prediction Markets (Polymarket, PredictIt, Kalshi) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Prediction Markets (Polymarket, PredictIt, Kalshi) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Prediction Markets (Polymarket, PredictIt, Kalshi) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Prediction Markets (Polymarket, PredictIt, Kalshi) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Prediction Markets (Polymarket, PredictIt, Kalshi) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Prediction Markets (Polymarket, PredictIt, Kalshi) MCP to TypingMind?

Prediction Markets (Polymarket, PredictIt, Kalshi) runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Prediction Markets (Polymarket, PredictIt, Kalshi) MCP provide in TypingMind?

Prediction Markets (Polymarket, PredictIt, Kalshi) exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Prediction Markets (Polymarket, PredictIt, Kalshi) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Prediction Markets (Polymarket, PredictIt, Kalshi) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇