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 分

    请在仓库或注册中心条目中声明许可证。