
Polymarket News Mcp
io.github.mobymedia由 GitHub 帳號 mobymedia 發布v0.2.2更新於 Oct 29, 2026
Match news headlines to the Polymarket prediction markets they move - live odds and deep links
概覽
把新聞標題對應到相關的 Polymarket 預測市場,回傳即時賠率、符合分數與深層連結;預設為唯讀。
- 可以做什麼
- 把一則新聞標題或摘要對應到可能受影響的預測市場,附上即時賠率、24 小時成交量、命中的詞彙與連結
- 瀏覽來自主要媒體的近期新聞即時清單,每則都已對應到相關市場
- 以自由文字搜尋活躍市場、依 24 小時成交量列出最熱門市場,並用 slug 或網址查詢單一市場的賠率
- 選用:安裝交易擴充並提供自己的簽章金鑰後,可查看交易狀態、下限價單或市價買單、查看未成交訂單與持倉、取消訂單
- 適用情境
- 適合需要把時事新聞與預測市場賠率連結起來的情境,例如查看某則新聞影響哪些市場、瀏覽熱門市場,或查詢單一市場的即時價格。
- 執行需求
- 本機 Python 程序,需 Python 3.10 以上,可透過 uvx 或 pip 安裝執行。需要連線至 Polymarket 公開 Gamma API 與新聞 RSS 來源。預設唯讀工具不需 API 金鑰或錢包;交易工具需安裝 trading 擴充並設定 POLYMARKET_PRIVATE_KEY 與 POLYMARKET_FUNDER,另可選用 POLYMARKET_SIGNATURE_TYPE 與 POLYMARKET_MAX_ORDER_USD。冷啟動後首次呼叫約需 10-15 秒建立索引。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Polymarket News Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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
Example
match_news("Federal Reserve signals rate hike as inflation stays hot")
Install
Requires Python ≥3.10. With uv (no install needed):
Claude Code
Claude Desktop / any MCP client (claude_desktop_config.json):
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:
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
來源:README.md,提交 eb5de74
工具
0版本歷史
2- v0.2.2最新Oct 29, 2026
- v0.2.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分