Prediction Market Friction Tracker

io.github.ndrysdal-byte由 GitHub 帳號 ndrysdal-byte 發布v1.0.0更新於 Oct 24, 2026

Prediction-market fee/KYC/withdrawal data, venue recommendations, and a paid x402 change feed.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理取得 12 個預測市場平台的費用、KYC 與提領資料,並提供平台推薦。

可以做什麼
依可信度(已驗證、過期、未確認)瀏覽並篩選目前的預測市場平台快照。依代稱取得單一平台的費用、KYC、提領與 API 存取細節。以自然語言提問,例如哪個平台費用最低或免 KYC,由目前資料集回答。取得付費變更訂閱來源的資訊,包括位址與價格,但不回傳資料本身。
適用情境
適合助理在下單前比較各預測市場平台的執行摩擦,或使用者詢問哪個平台符合免 KYC、需要 API 存取等條件時使用。
執行需求
遠端 streamable-HTTP 端點;未宣告需要本機安裝、帳號、API 金鑰或請求標頭。助理直接連線該 MCP 位址。
安裝前請注意
變更訂閱來源為付費服務:每次請求須透過 x402 協定在 Base 主網支付 0.05 USDC,README 稱其以真實資金運作。標示為未確認的紀錄是 LLM 擷取結果,可能有歧義,應向平台查證。資料僅供參考,不構成財務或法律建議。此伺服器自身的流程會將擷取的頁面文字傳送給 Claude。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Prediction Market Friction Tracker,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ndrysdal-byte%2Fprediction-friction-tracker/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "prediction-market-friction-tracker": {
      "type": "http",
      "url": "https://prediction-friction-tracker-production.up.railway.app/mcp/"
    }
  }
}

README

Prediction market friction tracker

Structured KYC, fee, and withdrawal data across 12 prediction-market venues, plus a change feed for when those terms move and a natural-language "which venue is best for X" recommendation tool. Built for AI agents that need to check execution friction before routing a trade — not for humans clicking around a dashboard.

Live now: https://prediction-friction-tracker-production.up.railway.app

For agents: three ways in

  1. Plain HTTP — GET /friction/venues, GET /friction/venue/{slug}, GET /friction/changes?since=<ISO8601>. Full OpenAPI spec at /openapi.json, interactive docs at /docs, agent-readable summary at /llms.txt.
  2. MCP — a streamable-HTTP MCP server mounted at /mcp/, exposing list_venues, get_venue, recommend_venue, and get_changes_info as tools. Point any MCP-compatible client at the /mcp/ URL directly.
  3. x402 — /friction/changes (the time-sensitive change feed) is gated by the x402 protocol: unpaid requests get a real 402 with a payment challenge; pay $0.05 USDC on Base mainnet and retry to get the data. This is live, verified end-to-end with real money, not a demo — see api.py for the CDP-facilitator wiring.

Endpoints

EndpointCostWhat it returns
GET /friction/venuesFreeCurrent snapshot of every tracked venue. Optional ?confidence=verified|stale|unconfirmed filter.
GET /friction/venue/{slug}FreeOne venue's current fee/KYC/withdrawal/API-access data, e.g. /friction/venue/kalshi.
GET /friction/changes?since=<ISO8601>$0.05 USDC (x402)Append-only log of every detected change since a timestamp — the time-sensitive product.

Every record carries a confidence field: verified (spot-checked or high-confidence extraction), stale (source was unreachable, showing a cached value), or unconfirmed (LLM extraction was ambiguous). Treat unconfirmed as a lead to verify against the venue directly, not a fact to trade on.

MCP tools

  • list_venues(confidence) — browse/filter the current snapshot.
  • get_venue(slug) — one venue's full data.
  • recommend_venue(query) — free-text "which venue is best for lowest fees on high-frequency trading" / "I don't want to do KYC" / "API access without a wallet" style questions, reasoned over the current dataset. Says so explicitly rather than guessing when a query depends on data this tracker doesn't have (liquidity, volume, spread, uptime).
  • get_changes_info() — describes the paid change feed (URL, price) without reimplementing it for free.

What's here

FileWhat it does
schema.pyThe data model — one VenueFriction record per venue, plus the VenueRecommendation response shape
venues.pyThe 12 tracked venues and their policy-page source URLs
scrapers/base.pyFetches and cleans raw policy-page text (requests + Playwright fallback for JS-rendered pages)
extract.pySends raw page text to Claude, gets back a structured VenueFriction matching the schema
recommend.pyNatural-language venue recommendation — reasons over the current dataset via Claude, structured-output constrained to real venue slugs
reference_check.pyCross-checks scraped fees against a third-party source (TradeBlock), flags divergences for human review
storage.pySQLite: current_state table (latest snapshot) + change_log table (append-only, the paid product)
diff.pyCompares a fresh extraction to the stored one, writes a ChangeEvent for anything that moved
run_pipeline.pyOrchestrates fetch → extract → diff → store, for all 12 venues
api.pyFastAPI server — the HTTP endpoints above, x402 payment gating, MCP mount
mcp_server.pyThe MCP tool definitions, mounted into api.py at /mcp/
test_pipeline_logic.py, test_recommend_logic.pyPure-logic tests, no API key needed

Running it locally

bash
pip install -r requirements.txtpython test_pipeline_logic.py      # no API key needed, proves storage/diff logicpython test_recommend_logic.py     # no API key needed, proves recommendation logicexport ANTHROPIC_API_KEY=sk-ant-...python run_pipeline.py             # real scrape -> extract -> store, all 12 venuesuvicorn api:app --reload           # boots the API on localhost:8000

Then in another terminal:

bash
curl http://localhost:8000/friction/venuescurl http://localhost:8000/friction/venue/kalshicurl "http://localhost:8000/friction/changes?since=2020-01-01T00:00:00Z"

See CLAUDE.md for environment quirks, Claude API usage notes, and the data-quality/confidence model in more depth.

Informational only — not financial or legal advice. Verify directly with the venue before acting on any figure returned here.

來源:README.md,提交 09d0d98

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。