Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

JamesANZ/prediction-market-mcp

БесплатноНе проверен

Real-time prediction market odds, prices and market info from Polymarket, PredictIt and Kalshi.

GitHubEmbed

Описание

Real-time prediction market odds, prices and market info from Polymarket, PredictIt and Kalshi.

README

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

prediction-market-mcp MCP server

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:

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)

gather-market-movement-evidence

Given one market and a lookback window, return the observed price move and recent external evidence. The server does not decide why the market moved. The calling model does that from the evidence.

Agent Reach is optional. If it is not installed, this tool still returns the market and the price move, and marks external sources unavailable. get-prediction-markets does not call Agent Reach.

Parameters:

  • market (string, required): A keyword, or a direct id such as polymarket:<slug>, kalshi:<ticker>, or predictit:<marketId>:<contractId>. A keyword that matches more than one market returns candidates and does not search the web.
  • outcome (string, optional): Outcome to measure. Defaults to Yes when that outcome exists.
  • lookback (string, optional): 1h, 6h, 24h, 7d, or 30d. Default 24h. PredictIt has no history API, so that venue compares the previous close with the last trade.
  • sources (string array, optional): web, x, reddit, and/or youtube. Default is all four.
  • queries (string array, optional): Up to three search queries. When set, they replace the generated query. Only the first query is executed.
  • limit (number, optional): Maximum evidence items, 1–10. Default 8.

Evidence text is untrusted data. It is returned in evidence[] and is not treated as instructions.

External search uses the Agent Reach 1.5 command table:

  • Web: Exa through mcporter
  • YouTube: yt-dlp search metadata, not transcripts
  • X: twitter search when TWITTER_AUTH_TOKEN and TWITTER_CT0 are set on this server process
  • Reddit: rdt, or desktop OpenCLI when rdt is absent

Facebook, Instagram, and GitHub are not searched. Install Agent Reach and run agent-reach doctor on the same machine as this server. A missing login, rate limit, or offline source is reported on that source and does not fail the price lookup.

{
  "tool": "gather-market-movement-evidence",
  "arguments": {
    "market": "polymarket:fed-decision",
    "lookback": "24h",
    "sources": ["web", "youtube"]
  }
}

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: Gamma search at https://gamma-api.polymarket.com/public-search, with CLOB history at https://clob.polymarket.com/prices-history
  • 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

from github.com/JamesANZ/prediction-market-mcp

Установка JamesANZ/prediction-market-mcp

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/JamesANZ/prediction-market-mcp

FAQ

JamesANZ/prediction-market-mcp MCP бесплатный?

Да, JamesANZ/prediction-market-mcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для JamesANZ/prediction-market-mcp?

Нет, JamesANZ/prediction-market-mcp работает без API-ключей и переменных окружения.

JamesANZ/prediction-market-mcp — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить JamesANZ/prediction-market-mcp в Claude Desktop, Claude Code или Cursor?

Открой JamesANZ/prediction-market-mcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

$5

Stripe

Payments, customers, subscriptions

Stripeавтор: Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemавтор: malamutemayhem

whiteknightonhorse/APIbase

API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.

whiteknightonhorseавтор: whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites on subdomains or custom .xyz domains, paid in USDC on Base, with templates for crypto tokens and AI agent profiles.

trackerfitness729-jpgавтор: trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.

embeddedlayersавтор: embeddedlayers

carrierone/verilexdata-mcp

Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.

carrieroneавтор: carrierone

paracetamol951/P-Link-MCP

HTTP 402 (Payment Required) implementation using Solana.

paracetamol951автор: paracetamol951

tipdotmd/tip-md-x402-mcp-server

Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.

tipdotmdавтор: tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticавтор: laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.

mrslbtавтор: mrslbt

Compare JamesANZ/prediction-market-mcp with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории finance