
Polymarket Us
io.github.pipeworx-iov0.1.0更新於 Oct 8, 2026
Polymarket US MCP — market data for Polymarket US (polymarket.us), the
概覽
透過搜尋、委託簿、價格歷史與結算工具,讀取美國受 CFTC 監管的預測市場交易所 Polymarket US 行情資料。
- 功能
- 提供五個唯讀工具:polymarket_us_search 依關鍵字尋找市場,或依類別瀏覽高成交量未結算市場;polymarket_us_bbo 回傳最佳買賣價、深度與未平倉量;polymarket_us_book 回傳完整買賣深度階梯與盤中統計;polymarket_us_price_history 回傳 Yes/No 顯示價格時間序列;polymarket_us_settlement 在市場結算後回傳最終結算價。所有工具都需要市場 slug,可由搜尋工具取得。回應帶有 venue 與 data_as_of 欄位,避免與其他場所資料混淆。
- 適用情境
- 當助理需要美國受監管預測市場的即時或歷史價格、委託簿深度、未平倉量或結算價時使用。它只提供唯讀行情資料,適合研究、監控與比較,而非交易。
- 執行需求
- 使用 gateway.pipeworx.io 上的遠端 MCP 端點;行情端點不需要帳號、API 金鑰或任何驗證。也可透過 npx @pipeworx/mcp-polymarket-us 以本機 stdio 方式執行,需要 Node.js。需要能連線至該閘道的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Polymarket Us,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"polymarket-us": {
"type": "http",
"url": "https://gateway.pipeworx.io/polymarket-us/mcp"
}
}
}README
polymarket-us
Market data from Polymarket US (polymarket.us) — the CFTC-regulated,
US-licensed prediction-market exchange. This is a SEPARATE venue from the
offshore Polymarket platform (see the polymarket pack) and from Kalshi (see
the kalshi pack): different company, different markets, different slugs. A
slug from one venue never resolves on another, and every response here
carries venue: "polymarket-us" plus data_as_of so a caller comparing
across packs never silently mixes venues.
Part of Pipeworx — an MCP gateway connecting AI agents to 1715+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Upstream: https://gateway.polymarket.us (docs:
https://docs.polymarket.us/api-reference/introduction). This is Polymarket
US's public market-data host — no auth, no account, no API key for any
endpoint this pack calls. A separate authenticated host, api.polymarket.us,
handles order placement and portfolio/account data; this pack is read-only
market data only, same posture as polymarket and kalshi.
Tools
All five need a market slug, which polymarket_us_search returns.
Auth
Keyless. The gateway.polymarket.us market-data endpoints need no API key,
account or authentication of any kind — verified live, including from a
Cloudflare Workers edge location (wrangler dev --remote), since the
sibling kalshi pack discovered its upstream filters Cloudflare egress on
some endpoints and this one does not share that problem.
Data sources
GET /v1/search— full-text search across events/markets.GET /v1/markets— filterable market listing (used for category/volume browsing whenpolymarket_us_searchis called without aquery).GET /v1/markets/{slug}/bbo— best bid/offer (lightweight top-of-book).GET /v1/markets/{slug}/book— full order book + session stats.GET /v1/price-history?symbol={slug}&fidelity=…&fixedInterval=…— historical Yes/No display prices.GET /v1/markets/{slug}/settlement— settlement price; 404s until the market resolves (this pack reports that assettled: false, not an error).
Notes
- Price history's
longPrice/shortPrice(mapped here toyes_price/no_price) are display prices —yes_priceis normally derived from the best ask andno_pricefrom one minus the best bid — so they preserve the bid/ask spread and CAN sum to more than 1.0. That is expected, not a data error. - The settlement endpoint returns a price only, no timestamp. Resolution-
audit integration (fleet #1909) is explicitly out of scope for this pack
— it would need (a) a stable per-market settlement timestamp, which this
API does not expose, and (b) a bulk "settled since <date>" filter, which
/v1/marketsalso does not have (only a booleanclosedflag) — without one, auditing settlements means polling every known slug. /v1/searchhas no category filter (onlyseriesIds,marketType, time-range andstatus).polymarket_us_search'scategoryargument is therefore browse-mode only (routes to/v1/markets) and is silently ignored whenqueryis set — the tool description says so.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/polymarket-us/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
Both URLs reach the same gateway and the same 1715+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/polymarket_us_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
Or run it directly to confirm it starts:
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
來源:README.md,提交 e2649d1
工具
0版本歷史
1- v0.1.0最新Oct 8, 2026

