Skip to main content
Glama
polymarket-paper-trader

polymarket-paper-trader

polymarket-paper-trader

PyPI PyPI downloads Tests ClawHub License: MIT

A zero-risk gym for AI agents on real prediction markets — real order books, official fees, verified fill fidelity. Practice, evaluate, and benchmark decision intelligence.

Agents make probability judgments all day. Polymarket is the world's largest prediction market, and its order books are the honest scoreboard: real money, real prices, real outcomes. But you cannot hand an agent a wallet to learn with. So this project gives every agent what SWE-bench gave coders — a faithful environment where judgment has consequences and gets scored:

  • Practice — your agent trades $10k of paper money against live Polymarket order books, with the same fee model and fill mechanics as the real exchange

  • Evaluate — the polymarket-benchmark harness in this repository (installed separately) scores any model on prediction-market decision sets (Brier score, calibration, alpha)

  • Compare — multi-account battles and leaderboards rank agents against each other

  • Compete — Forecast Arena: the live public leaderboard where AI models and simple baselines forecast the same Polymarket questions daily and are scored by real outcomes (Brier score). Runs from this repo (enter your model · workflow · raw data).

Part of agent-next — building an agentic world.

60-second demo

pip install polymarket-paper-trader
pm-trader init --balance 10000                 # $10k paper money
pm-trader markets search "bitcoin"             # find markets
pm-trader buy will-bitcoin-hit-100k yes 500    # buy $500 of YES
pm-trader stats --card                         # shareable stats card

Prefer not to install? uvx --from polymarket-paper-trader pm-trader-mcp runs the MCP server your agent connects to (see Works with below).

That's it. Your AI agent is now trading Polymarket with zero risk.

Related MCP server: Polymarket MCP Server

Install

# via pip (CLI + MCP server)
pip install polymarket-paper-trader

# or the MCP server alone, with no install
uvx --from polymarket-paper-trader pm-trader-mcp

# from source (development)
uv pip install -e ".[dev]"

Requires Python 3.10+.

Works with

Runtime

One-line install

Claude Code

/plugin marketplace add agent-next/polymarket-paper-trader

Codex CLI

codex mcp add polymarket-paper-trader -- uvx --from polymarket-paper-trader pm-trader-mcp

Cursor

Add to Cursor

Gemini CLI

gemini extensions install https://github.com/agent-next/polymarket-paper-trader

OpenCode / Goose / Cline / Windsurf / Copilot

add pm-trader-mcp to the client's MCP config

OpenClaw / ClawHub

npx clawhub install polymarket-paper-trader

Hermes Agent / LangChain / OpenAI Agents SDK / CrewAI

wrap uvx --from polymarket-paper-trader pm-trader-mcp

ChatGPT / Claude.ai (remote MCP)

add the remote /mcp URL in the host's remote-MCP settings

Full copy-paste config for every runtime above (plus Grok/xAI remote MCP): docs/integrations.md. Hosts that implement MCP Apps render portfolio and stats as an inline dashboard; every other host gets the same text result.

Use it from ChatGPT / Claude.ai / personal agents

Remote mode exists for hosts that only speak HTTP: run pm-trader-mcp --transport streamable-http with the opt-in --auth-issuer, --auth-audience and --resource-url flags, then add your server's /mcp URL in the host's remote-MCP settings. It is off by default, and it needs an OAuth/OIDC issuer you operate — pm-trader verifies bearer tokens against it and gives every verified subject its own paper accounts. There is no hosted endpoint to add: you run the server yourself. Setup, threat model and the environment equivalents: docs/remote-mcp.md.

Quick start

# Initialize with $10k paper balance
pm-trader init --balance 10000

# Browse markets
pm-trader markets list --sort liquidity
pm-trader markets search "bitcoin"

# Trade
pm-trader buy will-bitcoin-hit-100k yes 100      # buy $100 of YES
pm-trader sell will-bitcoin-hit-100k yes 50       # sell 50 shares

# Check portfolio and P&L
pm-trader portfolio
pm-trader stats

How it works — and why to trust it

  • Your order walks the real book. A buy consumes live ask levels from the lowest price upward, exactly like a real taker order — slippage is real and reported in basis points

  • Fees follow the official per-match curve — fee = C × rate × p × (1-p), rounded to 5 decimals, makers exempt (exact spec in the CHANGELOG) — charged per filled level from each market's published fee schedule, not an approximation

  • Paper cash, real discipline. Resting buys reserve their cash, partial fills keep their remainder open, closed or paused markets reject trades, and limit prices are validated against tick size

  • Resolution pays $1/share. Call resolve (or resolve --all) when a market closes and winners pay out like the real thing

  • Verified fidelity. The live test suite asserts that simulated fills land inside the band of prices the market actually quoted (Data API v2 price history) and that fees match the official curve exactly — run against real APIs on CI

  • Upstream-aligned. The client tracks the current Gamma / CLOB / Data API surface, contract-verified by live probes

  • Multi-outcome markets — any number of outcomes, not just YES/NO

  • Kalshi too. Paper trade Kalshi markets with the same commands and tools by passing a kalshi:<ticker> slug (pm-trader buy kalshi:KXNBAGAME-26OCT16DENLAL-LAL yes 25); find them with kalshi markets. Fees follow each series' published curve (docs/kalshi.md)

  • 100% coverage gate on the core package, plus end-to-end tests against the live API

CLI commands

Command

Description

init [--balance N]

Create paper trading account

balance

Show cash, reserved/available cash, positions value, total P&L

reset --confirm

Wipe all data

markets list [--limit N] [--sort volume|liquidity]

Browse active markets

markets search QUERY

Full-text market search

markets get SLUG

Market details

markets tags

List all market categories/tags

markets event SLUG

Event details — a group of related markets

price SLUG

YES/NO midpoints and spread

book SLUG [--depth N]

Order book snapshot

watch SLUG [SLUG...] [--outcome yes|no]

Monitor live prices

buy SLUG OUTCOME AMOUNT [--type fok|fak]

Buy at market price

sell SLUG OUTCOME SHARES [--type fok|fak]

Sell at market price

portfolio

Open positions with live prices

history [--limit N]

Trade history

kalshi markets [--limit N] [--status open|closed|settled] [--series T] [--event T]

Kalshi markets (read-only)

kalshi market TICKER

One Kalshi market (read-only)

kalshi book TICKER [--depth N]

Kalshi YES order book (read-only)

orders place SLUG OUTCOME SIDE AMOUNT PRICE

Limit order (GTC/GTD)

orders list

Open limit orders (pending and partially filled)

orders cancel ID

Cancel a limit order

orders cancel-all

Cancel all pending limit orders at once

orders check

Fill limit orders if price crosses

stats [--card|--tweet|--plain]

Win rate, ROI, profit, max drawdown

resolve [SLUG] [--all]

Resolve a closed market, or all closed markets (winners get $1/share)

leaderboard

Local account rankings

pk ACCOUNT_A ACCOUNT_B

Battle: who's the better trader?

export trades [--format csv|json]

Export trade history

export positions [--format csv|json]

Export positions

strategy run MODULE.FUNC

Run a trading strategy

strategy compare ACCT1 ACCT2

Compare account performance

strategy pk STRAT_A STRAT_B

Battle: who's the better trader?

benchmark run MODULE.FUNC

Alias of strategy run

benchmark compare ACCT1 ACCT2

Alias of strategy compare

benchmark pk STRAT_A STRAT_B

Alias of strategy pk

accounts list

List named accounts

accounts create NAME

Create account for A/B testing

accounts delete NAME --confirm

Delete a named account and all its data

mcp

Start MCP server (stdio transport)

Global flags: --data-dir PATH, --account NAME (or env vars PM_TRADER_DATA_DIR, PM_TRADER_ACCOUNT).

MCP server — what your agent can do

Your agent gets the following tools via the Model Context Protocol. The server also carries the full trading playbook with it — as MCP server instructions, as a trading_playbook prompt, and as a skill://trading-playbook resource — so MCP-only clients (Cursor, Claude.ai connectors, Grok API remote MCP, ChatGPT apps) get the same guidance skill-aware agents get from skill/polymarket-paper-trader/SKILL.md.

pm-trader-mcp  # starts on stdio

# or, with no local install:
uvx --from polymarket-paper-trader pm-trader-mcp

Add to your Claude Code config:

{
  "mcpServers": {
    "polymarket-paper-trader": {
      "command": "pm-trader-mcp"
    }
  }
}

Remote transport (streamable-http)

For MCP clients that only speak HTTP, run the server with --transport streamable-http:

pm-trader-mcp --transport streamable-http --host 127.0.0.1 --port 8000
# or: pm-trader mcp --transport streamable-http --host 127.0.0.1 --port 8000

The MCP endpoint is then http://<host>:<port>/mcp. There is no isolation between callers — everyone who reaches the server shares all of its paper accounts; it is self-host-only, not a public multi-user service. There is no authentication on this transport; anyone who can reach the port can call every exposed tool. backtest and pk_battle (local file reads + local strategy-module execution) are stdio-only and are not registered when serving over streamable-http.

Docker

docker build -t pm-trader-mcp .
docker run -p 127.0.0.1:8000:8000 -v pm-trader-data:/root/.pm-trader pm-trader-mcp

Publish the port to 127.0.0.1 only (as above) unless you put a real authenticating proxy in front of it — the container has no auth of its own.

MCP tools

Tool

What it does

init_account

Create paper account with starting balance

get_balance

Cash, reserved/available cash, positions value, total P&L

reset_account

Wipe all data and start fresh

search_markets

Find markets by keyword

list_markets

Browse markets sorted by volume/liquidity

get_tags

All market categories/tags for filtering

get_markets_by_tag

Markets in a specific category/tag

get_event

Event details — a group of related markets

get_market

Market details with outcomes and prices

get_order_book

Live order book snapshot (bids + asks)

kalshi_markets

Kalshi markets, read-only (open/closed/settled, by series or event)

kalshi_market

One Kalshi market by ticker, read-only

kalshi_book

Live Kalshi YES order book, read-only

watch_prices

Monitor prices for multiple markets

buy

Buy shares at best available prices

sell

Sell shares at best available prices

portfolio

Open positions with live valuations and P&L

history

Recent trade log with execution details

place_limit_order

Limit order — stays open until filled or cancelled/expired

list_orders

Pending limit orders

cancel_order

Cancel a pending order

cancel_all_orders

Cancel all pending limit orders at once

check_orders

Execute pending orders against live prices

stats

Win rate, ROI, profit, max drawdown

resolve

Resolve a closed market (winners get $1/share)

resolve_all

Resolve all closed markets

backtest

Backtest a strategy against historical snapshots (stdio only)

stats_card

Shareable stats card (tweet/markdown/plain)

share_content

Platform-specific content (twitter/telegram/discord)

leaderboard_entry

Generate verifiable leaderboard submission

leaderboard_card

Top 10 ranking card from all local accounts

pk_card

Head-to-head comparison between two accounts

pk_battle

Run two strategies head-to-head, auto-compare (stdio only)

Strategy examples

Three ready-to-use strategies in examples/:

Momentum (examples/momentum.py)

Buys when YES price crosses above 0.55, takes profit at 0.70, stops loss at 0.35.

pm-trader strategy run examples.momentum.run

Mean reversion (examples/mean_reversion.py)

Buys when YES price drops 12+ cents below 0.50 fair value, sells when it reverts.

pm-trader strategy run examples.mean_reversion.run

Limit grid (examples/limit_grid.py)

Places a grid of limit buy orders below current price with take-profit sells above.

pm-trader strategy run examples.limit_grid.run

Jev edge (examples/jev_edge.py)

"Jev vs the market": asks Jev for a YES probability per binary market and buys the side it favors, skipping markets priced outside [0.05, 0.95] where fees dominate — pm-trader strategy run examples.jev_edge.run (needs pip install -e "benchmark").

Writing your own strategy

Strategies are imported from the examples. package (the allowlist lives in pm_trader/benchmark.py), so drop your file there:

# examples/my_strategy.py
from pm_trader.engine import Engine

def run(engine: Engine) -> None:
    """Your strategy receives a fully initialized Engine."""
    markets = engine.api.search_markets("crypto")
    for market in markets:
        if market.closed or market.yes_price < 0.3:
            continue
        engine.buy(market.slug, "yes", 100.0)
pm-trader strategy run examples.my_strategy.run

For backtesting with historical data:

def backtest_strategy(engine, snapshot, prices):
    """Called once per historical price snapshot."""
    if snapshot.midpoint > 0.6:
        engine.buy(snapshot.market_slug, snapshot.outcome, 50.0)

Evaluate your agent: polymarket-benchmark

The paper trader is the gym; the polymarket-benchmark package in this repository is the scoreboard. It is a separate install (not part of the pm-trader CLI — pm-trader strategy replays trading strategies (pm-trader benchmark remains as an alias), see the CLI table above):

pip install -e "benchmark[dev]"
cd benchmark && polymarket-benchmark run --model opencode/jev-1.13-free --market-set mini

Run two models head-to-head to see whose judgment is actually better. Market sets, scoring (Brier, calibration, alpha) and model setup: benchmark/README.md.

Multi-account support

Run parallel strategies with isolated accounts:

pm-trader --account aggressive init --balance 5000
pm-trader --account conservative init --balance 5000

pm-trader --account aggressive buy some-market yes 500
pm-trader --account conservative buy some-market yes 100

pm-trader strategy compare aggressive conservative

Share your results

Generate a shareable stats card and post to X/Twitter:

pm-trader stats --tweet    # X/Twitter optimized
pm-trader stats --card     # markdown for Telegram/Discord
pm-trader stats --plain    # plain text

AI agents can use the stats_card MCP tool to generate and share cards automatically.

Honest limits

  • Paper only. No wallet, no keys, no real trades, no real money — ever. Resolution payouts are simulated $1/share

  • Simulation quality is verified against live order books and price history, but real execution adds queue position, latency, and counterparty behavior no simulator can promise

  • Live market data needs network access to Polymarket's public APIs (no key required)

OpenClaw / ClawHub

Available on ClawHub as polymarket-paper-trader:

npx clawhub install polymarket-paper-trader

GitHub bot

Comment /oc or /opencode on an issue or PR. New issues get a triage reply; non-draft PRs get a shallow review. Implementation starts only if a human adds bot:implement or comments /oc implement (FreeInference deepseek-v4-flash; the implement push uses GITHUB_TOKEN scoped to contents/issues/PRs only — no Actions access — so a separate dispatch-tests job, the only job holding actions: write, re-validates the pushed branch ref, verifies .github/workflows/test.yml on that ref is identical to the default branch, then runs gh workflow run Tests --ref — token pushes do not trigger CI). Merging is always manual: the bot never merges, and required checks are enforced by branch protection. Q&A / triage / review stay on qwen3.6-35b. No wallet, no real trades. Sessions are not shared.

Also in this repository

The paper-trader is the product; three companion packages live alongside it.

Package

Directory

What it is

polymarket-benchmark

benchmark/

LLM evaluation harness — see Evaluate your agent

polymarket-leaderboard-client

leaderboard-client/

Client SDK for a compatible leaderboard server: register an agent, trade, read portfolio and stats.

polymarket-leaderboard

leaderboard-server/

FastAPI leaderboard service for agents — accounts, trading, rankings, and a small website

See CONTRIBUTING.md for how to work on each package and CHANGELOG.md for release history.

Tests

pytest -m "not live"             # unit + integration, 100% coverage gate
pytest                           # full suite (requires network)
pytest tests/test_e2e_live.py    # live API integration tests only

License

MIT

Available Tools

33 tools
backtestRun backtestA

Replay a strategy over historical price snapshots on synthetic order books.

Reads the data file and returns performance metrics; it does not touch your paper accounts. Use pk_battle to compare two strategies live, or stats for an account's real results.

Inputs: data_path (required), strategy_path (required), depth, spread, +1 more. Returns: result

buyBuy sharesA

Buy shares of a Polymarket or Kalshi ('kalshi:') outcome with paper money.

Fills immediately against the live order book and records the trade and fee (simulated; no real order). Kalshi fees follow the series fee schedule. Use place_limit_order for a resting order at your price, or sell to exit.

Inputs: outcome (required), amount_usd (required), slug_or_id (required), account, +1 more. Returns: result

cancel_all_ordersCancel all limit ordersA
DestructiveIdempotent

Cancel every pending limit order of an account and release the reserved cash.

Local change only; filled orders and open positions are untouched. Returns the count and the cancelled orders. Use cancel_order to cancel just one.

Inputs: account. Returns: result

cancel_orderCancel limit orderA
DestructiveIdempotent

Cancel one pending limit order by ID and release its reserved cash.

Local change only. Returns a not_found error if the order does not exist or is no longer pending. Use cancel_all_orders to cancel every pending order.

Inputs: order_id (required), account. Returns: result

check_ordersCheck limit ordersA

Evaluate pending limit orders against live prices and execute any that fill.

Writes fills and cash changes to the local account. Resting orders never fill on their own, so call this periodically. Use list_orders to only view pending orders.

Inputs: account. Returns: result

get_balanceGet account balanceA
Read-onlyIdempotent

Get an account's cash, reserved and available cash, positions value and P&L.

Reads the local account and prices positions with live market data. Use portfolio for per-position detail and stats for performance metrics.

Inputs: account. Returns: result

get_eventGet eventA
Read-onlyIdempotent

Get a Polymarket event: the group of related markets sharing one topic.

Reads the live Polymarket API and changes nothing. Use get_market for a single market.

Inputs: slug (required). Returns: result

get_marketGet marketA
Read-onlyIdempotent

Get one market's question, outcome prices, volume, liquidity and status.

Takes a Polymarket slug or condition ID, or a Kalshi market as 'kalshi:'. Reads live data and changes nothing; use get_order_book for depth.

Inputs: slug_or_id (required). Returns: result

get_markets_by_tagList markets by tagA
Read-onlyIdempotent

List open Polymarket markets in one category tag.

Reads the live Polymarket API and changes nothing. Get slugs from get_tags; use search_markets for a keyword or list_markets for the top markets overall.

Inputs: tag_slug (required), limit. Returns: result

get_order_bookGet order bookA
Read-onlyIdempotent

Get the live asks and bids (price and size) for one market outcome.

Works for Polymarket slugs and for Kalshi markets as 'kalshi:'. Reads live data and changes nothing; check it before sizing a buy or sell.

Inputs: slug_or_id (required), outcome. Returns: result

get_tagsList market tagsA
Read-onlyIdempotent

List all Polymarket market categories (tags) with their slugs.

Reads the live Polymarket API and changes nothing. Pass a returned slug to get_markets_by_tag.

Inputs: no named parameters. Returns: result

historyGet trade historyA
Read-onlyIdempotent

List an account's recent trades with market, side, price, shares, USD and fee.

Reads the local database only (no network) and changes nothing. Use portfolio for open positions or stats for aggregate performance.

Inputs: limit, account. Returns: result

init_accountInitialize paper accountA
DestructiveIdempotent

Create a paper trading account with a starting USD balance.

Writes the local account database; calling it again on an existing account replaces its balance. Run it before any trade; use reset_account to wipe trades and positions instead.

Inputs: account, balance. Returns: result

kalshi_bookGet Kalshi order bookA
Read-onlyIdempotent

Get the live YES order book for a Kalshi market, best levels first; read-only.

Kalshi publishes bids only, so asks are derived from NO bids (a NO bid at p is a YES ask at 1 - p). get_order_book returns the same book for the slug 'kalshi:' and also covers the NO side.

Inputs: ticker (required), depth. Returns: result

kalshi_marketGet Kalshi marketA
Read-onlyIdempotent

Get one Kalshi market by ticker; read-only discovery, no trade is placed.

Reads the live Kalshi API. To trade it, pass 'kalshi:' as slug_or_id to buy or sell. The same slug also works in get_market.

Inputs: ticker (required). Returns: result

kalshi_marketsList Kalshi marketsA
Read-onlyIdempotent

List Kalshi markets for discovery; this tool is read-only and places no trade.

Reads the live Kalshi API. To trade a result, pass 'kalshi:' as slug_or_id to buy, sell or place_limit_order. Use search_markets or list_markets for Polymarket instead.

Inputs: limit, status, event_ticker, series_ticker. Returns: result

leaderboard_cardGenerate leaderboard cardA
Read-onlyIdempotent

Rank accounts with 10+ trades by ROI% and return a Top 10 leaderboard card.

Scans local accounts (~/.pm-trader locally, the caller's own directory in remote mode) and changes nothing. Open positions are valued at live midpoints (0 if a lookup fails). Use leaderboard_entry for one account's record or pk_card for two.

Inputs: accounts. Returns: result

leaderboard_entryGet leaderboard entryA
Read-onlyIdempotent

Return one account's standardized leaderboard record as JSON.

Includes ROI%, Sharpe, win rate, trade count, max drawdown, fees, first and last trade times, and 'qualified' (10+ trades). Reads the local account; Open positions are valued at live midpoints (0 if a lookup fails). Use leaderboard_card to rank many accounts, or stats for analysis.

Inputs: account. Returns: result

list_marketsList marketsA
Read-onlyIdempotent

List active Polymarket markets, highest volume or liquidity first.

Queries the live Polymarket API and changes nothing. Use search_markets for a keyword, get_markets_by_tag for a category, or kalshi_markets for Kalshi.

Inputs: limit, sort_by. Returns: result

list_ordersList limit ordersA
Read-onlyIdempotent

List an account's pending limit orders.

Reads the local database only and changes nothing. Use check_orders to evaluate them against live prices, or cancel_order to remove one.

Inputs: account. Returns: result

pk_battleRun strategy PK battleA

Run two strategies from scratch on equal balances and return stats, a PK card and the winner.

Executes the strategy functions against live market data in temporary accounts. Use pk_card to compare accounts that already exist, or backtest to test one strategy on historical data.

Inputs: strategy_a (required), strategy_b (required), name_a, name_b, +1 more. Returns: result

pk_cardGenerate PK cardA
Read-onlyIdempotent

Compare two existing accounts head-to-head and return a card naming the winner.

Compares ROI, Sharpe, win rate, trades and tier from local accounts. Open positions are valued at live midpoints (0 if a lookup fails). Use pk_battle to run two strategies from scratch instead, or stats_card for a single account.

Inputs: account_a, account_b. Returns: result

place_limit_orderPlace limit orderA

Place a resting paper limit order on a Polymarket or Kalshi ('kalshi:') market.

Stores the order locally and reserves cash for a buy; an order that crosses the book fills at once as a taker. Resting orders fill only when check_orders runs. Use buy or sell for an immediate market-price fill.

Inputs: side (required), amount (required), outcome (required), slug_or_id (required), +4 more. Returns: result

portfolioGet portfolioA
Read-onlyIdempotent

List an account's open positions with live prices and unrealized P&L.

Reads the local account and prices positions with live market data. Use get_balance for cash totals, history for past trades, or stats for performance metrics.

Inputs: account. Returns: result

reset_accountReset accountA
DestructiveIdempotent

Delete an account's trades, positions and orders and reset its balance.

Irreversible local change. Use init_account to set a new starting balance afterwards; use cancel_all_orders to remove only pending orders.

Inputs: account. Returns: result

resolveResolve market positionsA
Idempotent

Settle an account's positions in one closed market, paying $1 per winning share.

Writes payouts to the local account and cancels resting orders on that market. Fails if the market is not closed, the winner is ambiguous, or no position is held. Use resolve_all to settle every closed market at once.

Inputs: slug_or_id (required), account. Returns: result

resolve_allResolve all closed positionsA
Idempotent

Settle every open position whose market has closed, paying $1 per winning share.

Writes payouts to the local account; open markets are skipped, as are markets that hit a transient network error (retry later). Use resolve to settle a single market.

Inputs: account. Returns: result

search_marketsSearch marketsA
Read-onlyIdempotent

Search Polymarket markets by text and return slug, question, prices and volume.

Queries the live Polymarket API and changes nothing. Searches Polymarket only: use kalshi_markets to find Kalshi markets, list_markets to browse by volume, or get_markets_by_tag to browse a category.

Inputs: query (required), limit. Returns: result

sellSell sharesA

Sell held shares of a Polymarket or Kalshi ('kalshi:') outcome for paper cash.

Fills immediately against the live order book and records the trade and fee (simulated; no real order). Use place_limit_order with side 'sell' to rest an exit at your price, or resolve to collect payout on a closed market.

Inputs: shares (required), outcome (required), slug_or_id (required), account, +1 more. Returns: result

share_contentGenerate share contentA
Read-onlyIdempotent

Generate post-ready text for a platform and template from one account's stats.

Reads the local account and posts nothing. Open positions are valued at live midpoints (0 if a lookup fails). Use this when you need a template (milestone, daily); use stats_card for a plain stats card or stats for raw numbers.

Inputs: account, platform, template. Returns: result

statsGet performance statsA
Read-onlyIdempotent

Get one account's raw performance numbers: win rate, ROI, profit, Sharpe, max drawdown.

Reads the local account and prices positions live; changes nothing. Use this for analysis, stats_card for a postable text card, or leaderboard_entry for the ranking record.

Inputs: account. Returns: result

stats_cardGet stats cardA
Read-onlyIdempotent

Render one account's ROI, Sharpe, win rate and P&L as a postable text card.

Reads the local account and posts nothing. Open positions are valued at live midpoints (0 if a lookup fails). Use stats for raw numbers, share_content for platform and template choices, or pk_card to compare two accounts.

Inputs: format, account. Returns: result

watch_pricesWatch pricesA
Read-onlyIdempotent

Get live midpoint prices for several markets and outcomes in one call.

Reads live data and changes nothing. Use get_order_book for depth on one market, or portfolio for prices of the positions you hold.

Inputs: slugs (required), outcomes. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 33 tools

    Disambiguation4/5

    Descriptions are unusually explicit about cross-references (use X for Y), which cleanly separates most tools like search_markets/list_markets/get_markets_by_tag and stats/stats_card/leaderboard_entry. The main ambiguity is redundant Kalshi tools (kalshi_market, kalshi_book) whose output is already reachable via get_market/get_order_book with 'kalshi:<TICKER>', and the cluster of stat-card variants that overlap in purpose.

    Naming Consistency3/5

    Many tools follow verb_noun snake_case (get_balance, search_markets, place_limit_order, cancel_all_orders, resolve_all), but the set mixes in bare verbs (buy, sell, backtest, resolve) and noun/fragment names (stats_card, pk_battle, leaderboard_entry, share_content). It stays readable but there is no single predictable pattern.

    Tool Count3/5

    33 tools is heavy for this scope, and a noticeable cluster is reporting-oriented variants (stats, stats_card, leaderboard_entry, leaderboard_card, share_content, pk_card, pk_battle) that could arguably be consolidated. The broad domain (discovery, trading, accounts, analytics, social) justifies many of them, but the surface feels larger than necessary.

    Completeness4/5

    Coverage is strong: account lifecycle (init_account/reset_account/get_balance), market discovery across both venues, full order lifecycle (buy, sell, place_limit_order, list/cancel/check), portfolio/history, stats, and settlement (resolve/resolve_all). Minor gaps only, such as no order-modify/deposit operation, but these are easily worked around with existing tools.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides a comprehensive set of tools for Polymarket prediction market trading, including Gamma discovery, CLOB trading, gasless relayer, managed WebSockets, and paper simulation, enabling agents to interact with Polymarket natively.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables LLM agents to interact with Polymarket prediction markets, including market discovery, real-time pricing, analytics, account management, and trading with built-in safety guards.
      34
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to autonomously trade, analyze, and manage positions on Polymarket prediction markets with 45 tools, real-time WebSocket monitoring, and enterprise-grade safety features.
      MIT