Skip to main content
Glama
polymarket-news-mcp

polymarket-news-mcp

polymarket-news-mcp

Give an AI agent a headline — get the Polymarket markets it moves.

An MCP (Model Context Protocol) server that connects real-world news to prediction markets. Plenty of MCP servers can look up Polymarket prices; this one answers a different question: "this just happened — where can the world's belief about it be read?" Matching is deterministic and explainable — every match reports the exact terms that fired and a confidence score, so your agent can judge the match itself.

Read-only by default — no API keys, no wallet, no custody: live odds and links only. Optional trading tools exist (v0.2.0+) but stay absent unless you install the [trading] extra and set your own signing key — see Trading.

Tools

Tool

What it does

match_news(text, top_k)

The headline tool. News headline/snippet → the markets it could move, with live odds, 24h volume, match score, matched terms, deep links

latest_matched_news(top_k, max_age_hours)

Live feed: recent headlines from major outlets (crypto, politics, world, sports), each matched to its markets

search_markets(query, top_k)

Lenient free-text search over ~2,000 active markets

trending_markets(top_k)

Most active markets right now by 24h volume

get_market(slug_or_url)

One market's live odds by URL or slug

Example

match_news("Federal Reserve signals rate hike as inflation stays hot")

[
  {"question": "Fed rate hike in 2026?", "match_score": 17.2,
   "outcomes": {"Yes": 0.47, "No": 0.53}, "volume_24h_usd": 812440,
   "matched_terms": ["fed", "hike", "rate", "rate hike"],
   "url": "https://polymarket.com/event/fed-rate-hike-in-2026"},
  {"question": "Fed Rate Hike by July 2026 Meeting?", "match_score": 17.0,
   "outcomes": {"Yes": 0.08, "No": 0.92}, ...}
]

Related MCP server: Polymarket MCP Server

Install

Requires Python ≥3.10. With uv (no install needed):

uvx polymarket-news-mcp

Claude Code

claude mcp add polymarket-news -- uvx polymarket-news-mcp

Claude Desktop / any MCP client (claude_desktop_config.json):

{
  "mcpServers": {
    "polymarket-news": {
      "command": "uvx",
      "args": ["polymarket-news-mcp"]
    }
  }
}

Or classic pip: pip install polymarket-news-mcp then command polymarket-news-mcp.

Trading (opt-in, v0.2.0+)

By default this server is read-only. Trading tools appear only when you provide your own signing key and install the extra:

pip install "polymarket-news-mcp[trading]"
export POLYMARKET_PRIVATE_KEY=0x...     # YOUR key. Stays local, signs locally.
export POLYMARKET_FUNDER=0x...          # your Polymarket proxy/funds address (browser-wallet accounts)
# optional: POLYMARKET_SIGNATURE_TYPE (0 EOA / 1 proxy / 2 Safe / 3 deposit wallet)
# optional: POLYMARKET_MAX_ORDER_USD (spend cap per order, default 100)

Tools: trading_status, place_limit_order, place_market_buy, my_open_orders, cancel_order, my_positions. Every order is bounded by the spend cap.

Transparency — builder attribution. Orders placed through this server carry the newsbet builder code (0 bps maker/taker — you pay no extra fees); Polymarket's Builders program attributes routed volume to the project. Forks can override via POLYMARKET_BUILDER_CODE.

Security. Your key never leaves your machine and is never logged. Use a dedicated trading wallet with limited funds. Market SELL is deliberately not offered (ambiguous upstream semantics) — sell via limit orders.

Known upstream caveat (July 2026). Polymarket's py-clob-client-v2 currently cannot sign for NEW "deposit wallet" accounts (#52, #70, #76). Accounts created via the Polymarket website with a browser wallet (signature types 0/1/2) work — set POLYMARKET_FUNDER to your Polymarket profile address.

Jurisdiction. Polymarket's CLOB rejects orders from restricted regions (incl. the US) server-side; using these tools where prohibited is on you. Nothing here is financial advice.

How matching works

IDF-weighted term overlap between your text and market questions/event titles, plus: phrase (bigram) agreement, numeric normalization ($120,000 ≡ 120k), accent folding, a salience gate (every match needs a rare informative anchor — "openai", never "the"), one-best-market-per-event dedupe, and a relative cutoff. Market data comes from Polymarket's public Gamma API (top ~2,000 markets by liquidity, cached 15 minutes at ~/.cache/polymarket-news-mcp/). First call after a cold start takes ~10–15s to build the index; subsequent calls are instant.

Notes & limits

  • Informational only — not financial advice. Polymarket availability depends on your jurisdiction; this server never places orders.

  • News feed sources: CoinDesk, Cointelegraph, Decrypt, The Block, SEC, BBC World & Politics, ESPN (RSS). PRs welcome for more.

  • Match scores ≥15 are high-confidence; 10–15 are related-entity matches.

License

MIT

Available Tools

5 tools
get_marketA

Look up one market by its polymarket.com URL, event slug, or market slug.

NameRequiredDescriptionDefault
slug_or_urlYes
latest_matched_newsA

Live feed: recent headlines from major news sources, each matched to the Polymarket markets it could move. The 'what does the news mean for the odds' view. Only headlines with at least one confident market match are returned.

NameRequiredDescriptionDefault
top_kNo
max_age_hoursNo

Output Schema

NameRequiredDescription
resultYes
match_newsA

Find the Polymarket markets a news headline or snippet could move.

Pass a headline (optionally with a sentence or two of body text). Returns matched markets with live odds, 24h volume, deep links, a match_score (higher = stronger term overlap; >=15 is a confident match), and the exact matched_terms that fired, so you can judge the match yourself.

NameRequiredDescriptionDefault
textYes
top_kNo

Output Schema

NameRequiredDescription
resultYes
search_marketsA

Free-text search over active Polymarket markets (lenient matching).

Use for questions like 'what markets exist about the Fed' — returns the most relevant active markets with live odds and links.

NameRequiredDescriptionDefault
queryYes
top_kNo

Output Schema

NameRequiredDescription
resultYes

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updates
    • First observedget_market
    • First observedlatest_matched_news
    • First observedmatch_news
    • First observedsearch_markets
    • First observedtrending_markets

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool addresses a distinct scenario: exact lookup, free-text search, trending discovery, matching user-provided news, and browsing a live matched feed. There is no meaningful overlap or ambiguity between tools.

Naming Consistency3/5

Three names follow a verb_noun pattern (get_market, search_markets, match_news), but latest_matched_news and trending_markets are adjective_noun phrases. The snake_case is consistent, but the verb-first convention is not uniformly applied, making the set readable but mildly inconsistent.

Tool Count5/5

With five tools, the count is well-scoped for the server's purpose of connecting news to Polymarket markets. Each tool serves a clear function with no redundancy or bloat.

Completeness5/5

The set covers the full workflow: discovering markets via search or trends, retrieving specific market details, matching incoming news to markets, and consuming a live feed of already-matched news. There are no dead ends, and any referenced market can be looked up directly.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to query Polymarket prediction markets, accessing real-time odds, market data, price history, order books, and trending markets across categories like politics, crypto, and sports through natural language.
    31 npm
    7
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI-powered tools for searching Polymarket prediction markets and calculating financial metrics like expected value and Kelly bet sizing. It enables users to perform arbitrage scanning, news-based sentiment analysis, and market research through natural language interfaces.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with Polymarket prediction markets through read-only access to market data, events, orderbooks, and user positions, plus authenticated trading capabilities for creating and managing orders.
    1
    -
  • A
    license
    A
    quality
    D
    maintenance
    Trade, analyze, and automate Polymarket prediction markets via AI. 34 tools for direct trading, smart money flow, copy trading, backtest, and portfolio management.
    48
    113 npm
    18
    MIT