Polymarket Toolkit logo

Polymarket Toolkit

Read-only Polymarket research tools for profiles, PnL, market scans, activity, fees, and execution analysis.

Install Polymarket Toolkit

Run the project’s own setup commands, in order.

Setup steps from the project

polymarket-toolkit installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/runesleo/polymarket-toolkit.git && cd polymarket-toolkit
    

Overview

polymarket-toolkit MCP server connects AI-assisted research workflows to Polymarket’s public, read-only APIs. Its toolkit covers wallet profiles, PnL checks, settled-position scoring, market scans, activity, fees, cash flow, markout, and maker/taker analysis. Use it when an agent needs to investigate addresses or markets without API keys, signing, custody, or order execution. The repository also provides a Node.js 22+ CLI and reusable TypeScript helpers.

Use cases

  • Research a Polymarket wallet’s PnL and positions
  • Scan active markets by volume and spread
  • Reconstruct audit-grade PnL from cash flows
  • Measure a trader’s execution quality and style
  • Inspect activity, fees, redemptions, and leaderboard changes

Key features

  • Read-only Polymarket public API access
  • Wallet profiles, PnL, positions, and Brier scoring
  • Market scans and crypto up/down event inspection
  • Cash-flow, fee, markout, and maker/taker analysis
  • CLI, TypeScript helpers, and agent skills
  • V2 CTF and API pacing diagnostics

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 88d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars203Stargazers on the source repository.
Last commit17d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Polymarket Toolkit works

What polymarket-toolkit MCP server does

polymarket-toolkit provides read-only research capabilities for Polymarket data. Address-focused tools can inspect leaderboard PnL snapshots, open-position samples, activity, cash-outs, fees, Brier scores, execution markouts, and maker/taker behavior. Market-oriented commands list active markets, rank markets by recent volume and spread, and expose crypto up/down event fields and resolution sources.

The toolkit is intended for analysis rather than trading. It does not include private keys, signing, custody, or order placement. It also includes diagnostics for V2 CTF activity, leaderboard changes, redeemable positions, and official API pacing.

How it works

The CLI is invoked as pm from the repository root. Examples include pm profile <address>, pm markets --limit 5 --active, and pm activity <address> --type TRADE. JSON output is available for commands such as profile, making results easier to pass into other workflows.

The repository includes TypeScript examples and zero-dependency helpers in src/index.ts. AI-oriented skills can be copied into the skills directory used by an agent client. The polymarket-pnl skill reconstructs PnL from cash flows and includes a separate Python computation script; it requires httpx.

Setup and configuration

Node.js 22 or newer is required for the CLI, which uses Node’s experimental type-stripping support. A typical local setup is to clone the repository, enter its directory, and run ./bin/pm. There is no repository install step for this approach. The CLI can also be run through npm run pm, or exposed globally with the optional npm link command.

The tools use Polymarket’s public APIs and do not require API keys or signing credentials. Skills are installed by copying the selected skill directory into the agent client’s configured skills location. Claude Code supports the listed plugin installation command, while Codex supports adding the marketplace and plugin shown by the project.

Tools and capabilities

  • Inspect an address with profile data, positions, PnL context, and Brier hints.
  • Reconstruct more precise PnL through cash-flow analysis.
  • Separate on-chain pUSD withdrawals from trade settlement with cashflow.
  • Review activity pages, leaderboard snapshots, redemptions, and API pacing.
  • Scan markets by recent volume and spread, including active-market filtering.
  • Measure markout against a windowed VWAP and a market baseline.
  • Estimate execution style from maker/taker splits and fee evidence.
  • Calculate lifetime taker fees and convert pre-fee PnL toward net PnL.

Limitations and notes

Profile and leaderboard PnL are snapshots and are not equivalent to audit-grade PnL. The activity command warns about an approximately 4,000-row cap, and Brier calculations operate on sampled settled positions. Fee interpretation also needs care: a positive fee identifies taker activity, while a zero fee can represent either maker activity or a fee-exempt category.

Markout results should be read with coverage. Short-dated markets may leave few fills with a usable future reference, so the average can describe only a surviving subset. The toolkit is read-only and does not provide runnable merge, split, or redeem modules, even though it includes redeem-watchdog and V2 diagnostic commands.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Polymarket Toolkit

polymarket-toolkit is an MCP server that connects AI agents to Polymarket’s public read-only APIs for wallet and market research. Its main tools cover profiles, PnL, activity, markets, fees, cash flow, Brier scores, markout, maker/taker analysis, leaderboard data, and V2 diagnostics without keys, signing, or order execution.

Install the repository by cloning it and running `./bin/pm` from its root; Node.js 22 or newer is required. Claude Code and Codex also have plugin installation commands, and individual skills can be copied into an agent client’s configured skills directory.

Yes, Cursor is supported through the project’s agent skills. Copy the selected skill from the repository’s `skills/` directory into the skills location configured for Cursor, then use capabilities such as profile, PnL, or Brier analysis.

No, polymarket-toolkit is read-only and does not sign transactions or execute trades. It focuses on public data research, including markets, activity, PnL, fees, redemptions, and execution analysis.

Use the `polymarket-pnl` skill or run `python3 skills/polymarket-pnl/compute_precise_pnl.py --address …`. The skill reconstructs PnL from cash flows and requires the Python `httpx` package.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPolymarket Toolkit AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/polymarket-toolkit?style=directory)](https://allmcps.com/mcp/polymarket-toolkit)
HTML Embed
<a href="https://allmcps.com/mcp/polymarket-toolkit"><img src="https://allmcps.com/api/badge/polymarket-toolkit?style=directory" alt="Polymarket Toolkit on AllMCPs" /></a>