プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Polymarket Toolkit

作者:runesleoバージョン 0.7.1i★ –iパソコンで動く
レジストリ名io.github.runesleo/polymarket-toolkit

インストール

概要

作者による説明(英語の原文)

Read-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 暗号資産・ブロックチェーン

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "polymarket-toolkit": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-toolkit-mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add polymarket-toolkit -- npx -y polymarket-toolkit-mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "polymarket-toolkit": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-toolkit-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "polymarket-toolkit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polymarket-toolkit-mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント runesleo で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

暗号資産・ブロックチェーンのほかのサーバーとの比較i

  • このカテゴリのほかの1611件のうち0%よりスターが多い
  • このカテゴリのほかの1611件のうち30%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1611件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Polymarket Toolkitは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.7.1)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Quidli Connect, Diamond Bitcoin Intelligence, Soheil Router

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Quidli Connect

作者:Quidli

Resolve social handles to wallets, score onchain reputation, pay in any ERC-20, SPL or native.

パソコンでもクラウドでも今日更新
インストール

Soheil Router

作者:soheil-fi

Best-price token swaps on EVM networks through a non-custodial contract: quotes and trade status.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Polymarket Toolkit

For anyone who wants to research Polymarket on their own — run the CLI yourself, or install skills for Claude / Cursor / OpenClaw and let AI run the tools. Read-only public APIs. No API keys. No signing.

Nothing to install? probpocket.com/lookup answers the same first question in a browser: paste an address, see lifetime PnL, what the wallet actually makes its money on, and how its leaderboard days compare with its real settled total. Free, no signup. Same public APIs as this CLI.

中文说明

Machine-readable product facts: ai-info.json · llms.txt. Both are generated from content/ai-identity.json; npm run check:ai-discovery fails on tool, package-version, or output drift.

Install as a plugin

  • Claude Code (2.1.275 or later): /plugin install polymarket-toolkit --marketplace runesleo/x-reader
  • Codex: codex plugin marketplace add runesleo/x-reader, then codex plugin add polymarket-toolkit@runesleo

The runesleo marketplace also lists Leo's other tools; see runesleo/x-reader.

Toolbox · pick a drawer

I want to…Start here
Research an addresspm profile · skills polymarket-profile / polymarket-pnl / polymarket-brier
See whether they actually cash outpm cashflow — on-chain pUSD withdrawals, separated from trade settlement
Check execution qualitypm markout — markout vs market baseline (adverse selection)
Classify a traderpm mix — passive market maker or aggressive taker
Scan markets & pricespm markets · examples/01,09,11 · docs/cookbook.md
Wire my own data pipelinesrc/index.ts · cookbook · examples/14
Validation checklistsdocs/templates/ — handoff · backtest · paper · live-gate · runbook
PnL cross-check (LB snapshot)pm pnl-check · docs/fee-inclusive-pnl.md
Track leaderboard / redeem / activitypm lb · pm redeem · pm activity · examples/05–08,15–20
Give an AI agent toolsskills/ — copy into Claude / OpenClaw / Cursor

Full index: docs/toolbox.md

30-second try
git clone https://github.com/runesleo/polymarket-toolkit.git && cd polymarket-toolkit

./bin/pm profile 0x63ce342161250d705dc0b16df89036c8e5f9ba9a

What you get: LB PnL snapshot + first-page positions. For audit-grade PnL, use the polymarket-pnl skill.

V2 merge/split broken? → docs/v2-ctf-ops-faq.md + ./bin/pm v2-check 0x…

CLI (pm)

Node 22+ (uses --experimental-strip-types). From repo root:

./bin/pm help

./bin/pm profile 0x63ce342161250d705dc0b16df89036c8e5f9ba9a ./bin/pm profile Theo4 --json ./bin/pm brier 0x63ce342161250d705dc0b16df89036c8e5f9ba9a ./bin/pm redeem 0x63ce342161250d705dc0b16df89036c8e5f9ba9a 25 ./bin/pm markets --limit 5 --active ./bin/pm activity 0x63ce342161250d705dc0b16df89036c8e5f9ba9a --type TRADE --max-pages 5

Prefer ./bin/pm from repo root (no install step). Or: npm run pm -- profile … · optional npm link for global pm.

CommandWhat it does
pm profileLB PnL + open positions sample + Brier hint
pm activityActivity pagination + ~4000 row cap warnings
pm scanTop markets by 24h volume + spread
pm updownCrypto updown event fields / resolution source
pm v2-checkV2 CTF split/merge checklist + activity sample
pm lbLeaderboard snapshot + day-over-day diff
pm pnl-checkLB snapshot + hints — not audit-grade PnL
pm limitsOfficial API rate limit pacing
pm brierBrier score from settled positions (sample)
pm markoutExecution quality — markout vs market baseline
pm mixExecution style — maker/taker split, cross-checked against fees
pm feesLifetime taker fees from /activity · pre-fee → net PnL
pm redeemRead-only redeem watchdog JSON
pm marketsQuick Gamma market list

Audit-grade PnL (Python): python3 skills/polymarket-pnl/compute_precise_pnl.py --address …

pm fees — why your number never matches the profile
./bin/pm fees 0xYourProxy

**Polymarket's own PnL — profile, lb-api, the user-pnl curve — is *pre-fee*.

A cashflow replay is *post-fee*. gap ≈ lifetime taker fees − maker rebates.**

The fee is already in /activity: usdcSize is not size × price, and the residual is what you were charged. That means lifetime fees, per-fill taker proof, and the pre-fee → net conversion come from one REST call — no RPC, no receipt decoding, no credentials.

Verified by predicting the gap before comparing, on four wallets: a heavy-taker wallet landed at a $0.84 residual against a $1,308.87 prediction, and a pure maker matched the official number to $0.40.

⚠️ The taker test is one-directional. fee > 0 proves you were the taker — makers are never charged. fee == 0 means maker or fee-exempt category, so it is reported as an upper bound on passive share, never as a maker count.

⚠️ Fees are recent. The earliest on record here is late June 2026, rate stepping 0.03 → 0.05 → 0.07. Any reconciliation that passed before then proves nothing about today.

pm markout — is this address getting picked off?
./bin/pm markout 0x9a18f10966262d9be5d662754256380583fabb54 --fills 200

Markout is where a fill stands some seconds later: (reference − fill) × direction, in cents per share. Negative means the price walked away from you — adverse selection.

Three things this command does that a hand-rolled version usually gets wrong:

  • Passive fills are included. /trades?user= behaves like takerOnly=true by default, so a market maker's entire passive side is missing unless you ask for it.
  • The reference is a windowed VWAP, not the next print. Prints alternate between bid and ask, and that bounce alone makes every SELL look good and every BUY look bad.
  • Everything is measured against a baseline — the same tokens over the same span, minus this wallet. Levels drift; the excess is the part that means something.

Read the excess column and the coverage column together. In short-dated markets a large tau leaves most fills with nothing ahead of them to be priced against, and the mean then describes the surviving handful rather than the trader.

Why these three defaults exist. I ran 15 strategies on Polymarket over half a year, and the ones that cost the most failed at measurement, not at strategy: the same logic made +77% on paper and lost −74% live; 18.3% of my own trade records were quietly wrong, two thirds of those being false wins; market-making went 0 for 10 while the platform shipped three fee formulas in a single night. Each flag above is one of those mistakes turned into a default, so it isn't paid for twice.

The full write-up — 15 strategies, 5 deep pits, 14,000 words — is at leolabs.me/pm-quant ($49). It comes with monthly supplement notes; the current one measures a ~300ms server-side floor on taker orders that no colo or private line removes, against 56ms for maker.

TypeScript library

Zero-dependency helpers in src/index.ts. Run demos with Node 22+:

npx tsx examples/01-fetch-gamma-markets.ts

node --experimental-strip-types examples/01-fetch-gamma-markets.ts

  • Examples: examples/ — one numbered script per API pattern
  • Cookbook: docs/cookbook.md — bilingual recipes

Skills (AI agents)

SkillWhat it does
polymarket-profileDeep profile — PnL, win rate, positions, categories, strategy detection
polymarket-brierPrediction accuracy scoring, calibration analysis
polymarket-pnlAudit-grade PnL via cashflow reconstruction (~0.2% MAPE vs. official)

Install: copy the chosen skill into the skills directory configured by your agent client. polymarket-pnl also needs: pip install httpx

Skill details: skills/*/SKILL.md · long-form docs in sections below.


What's in this repo

IncludedNot included
Read-only APIs, CLI, skills, docs, templatesPrivate keys, signing, or trade execution
V2 FAQ + pm v2-check diagnosticsRunnable merge/split/redeem modules
polymarket-pnl audit scriptCustodial wallets or one-click trading
Builder attribution helper for future CLOB executorsBuilder API credentials or reward guarantees
Opt-in executor/ sub-package (isolated deps, dry-run default)Custody, strategy logic, or one-click trading
mcp/ MCP server — read-only tools for AI agents (docs/mcp.md)MCP-exposed order placement

The core (src/, CLI, skills) never holds keys or sends transactions. Order execution lives only in the opt-in executor/ sub-package, which signs with your env-provided key, defaults to dry-run, and is never imported by the core. For normal redemption, use the official Polymarket app.

New to Polymarket? Sign up via the link above (affiliate disclosure: the author may earn referral rewards; no extra cost to you).

Building your own order executor? Start from the opt-in executor/ sub-package (docs/executor.md) — CLOB V2 limit orders with dry-run default, notional cap, and default builder attribution via src/builder.ts (override / opt-out via env). See builder attribution for the disclosure and FAQ. Read-only CLI/skills still do not send orders.


Release notes

v0.7 — MCP server for AI agents
  • `mcp/` — Model Context Protocol server exposing 12 read-only tools (pm_profile, pm_activity, pm_brier, pm_mix, pm_markout, pm_pnl_check, pm_scan, pm_updown, pm_leaderboard, pm_redeem_watchdog, pm_v2_check, pm_rate_limits) — docs/mcp.md
  • The CLI is the contract: every tool shells out to pm, so the server is exactly as read-only as the CLI; inputs are allowlist-validated before reaching argv
  • Order placement is deliberately not exposed over MCP — the executor stays a separate, human-wired opt-in
v0.6 — Opt-in executor sub-package
  • `executor/` — isolated CLOB V2 order execution module (docs/executor.md): own dependencies, never imported by the zero-dependency core
  • Safety ladder — dry-run by default (EXECUTOR_LIVE=1 to post), notional cap EXECUTOR_MAX_USD (default $10), fail-closed credential validation
  • Builder attribution wired end-to-end — default / override / opt-out via core src/builder.ts, full disclosure in docs
  • Core CLI/skills remain read-only and key-free — scope table updated above
v0.5 — Toolbox CLI + roadmap flagships
  • `pm` CLI — profile · activity · scan · updown · v2-check · brier · redeem · markets
  • Activity cap detection — duplicate-page warnings near ~4000 rows
  • V2 CTF FAQ — docs/v2-ctf-ops-faq.md (split/merge/convert · infra alignment)
  • Builder attribution helper — src/builder.ts + docs/builder-attribution.md for future CLOB executors, with default / override / opt-out paths
  • Market scanner · crypto updown fields · handoff template — toolbox.md
v0.4 — Redeem wat

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く