Back to Browse

PolyRank MCP Server

Developer ToolsUse Caution4.6MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Polymarket trader analytics for AI agents: rank wallets, read trader metrics, backtest strategies.

About

Polymarket trader analytics for AI agents: rank wallets, read trader metrics, backtest strategies.

Remote endpoints: streamable-http: https://mcp.polyrank.app/mcp

Security Report

4.6
Use Caution4.6High Risk

The Polyrank MCP server is a read-oriented analytics client that calls Polyrank's own HTTPS APIs, with the API key taken from an environment variable (stdio) or a per-request bearer header (HTTP) and never hardcoded in the visible code. The visible code shows no shell execution, eval, or data exfiltration, and the AI Lab write tools are gated by explicit confirm flags and annotated accordingly. The main caveats are that the code was truncated so the remaining tool handlers and the HTTP transport were not fully reviewed, and the network access is broad relative to a simple read-only client, though it matches the server's stated purpose. Supply chain analysis found 4 known vulnerabilities in dependencies (2 critical, 1 high severity). Package verification found 1 issue.

3 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Override the Polyrank API host (default https://api.polyrank.app).Optional

Environment variable: POLYRANK_API_BASE

Override the agent host whose free manifests (metric catalog, metric windows, Builder goals) are read (default https://api-agent.polyrank.app).Optional

Environment variable: POLYRANK_AGENT_BASE

Optional Polyrank API key (pk_live_…). Enables the authenticated tools: polyrank_rank_wallets (the Ranking Builder), polyrank_get_trader_metrics, the AI Lab tools and tid resolve. Anonymous tools work without it.Required

Environment variable: POLYRANK_API_KEY

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

@polyrank/mcp

MCP Badge

MCP server that gives AI agents (Claude, etc.) direct access to Polyrank — the skill-analytics layer for Polymarket. It ranks millions of Polymarket wallets by genuine forecasting skill (calibration / Brier, alpha-vs-mid, risk-adjusted return) — not vanity P&L or win rate. Follow the skilled, not the lucky. (Live coverage + the exact skill-metric count: polyrank_get_platform_stats.)

The public tools wrap Polyrank's free API — no key. With a signed-in Polyrank account (OAuth on the hosted server, or POLYRANK_API_KEY from polyrank.app/api-keys), the other 19 tools call the authenticated API. A free account gets polyrank_resolve_tid and the AI Lab's read tools; the Ranking Builder and per-window metrics need Pro Trader or higher, and the AI Lab's actions need a plan with the AI Lab (every paid plan, from Pro Trader). With those, the tools call the same POST /v1/rankings/custom the Ranking Builder runs — any of the 84 metrics at any window it exists at, every filter, as_of boards — plus per-window trader metrics and backtests / paper trading. Agents that pay per call instead of holding a key use the x402 agent API — see https://polyrank.app/llms.txt.

Every tool carries a title and the MCP annotations readOnlyHint, destructiveHint, idempotentHint and openWorldHint: 29 tools are read-only; the 7 AI Lab writes (polyrank_create_strategy, polyrank_run_backtest, polyrank_start_paper, polyrank_update_strategy, polyrank_lab_ask, polyrank_lab_reply, polyrank_lab_stop) each create or change a record in your own Polyrank account and are marked destructiveHint: false (none deletes anything, none touches funds; the chat tools spend your plan's AI credits). Read-only tools are listed first.

Free tools (read-only, no key) — 17

ToolWhat it does
polyrank_get_leaderboardTop traders ranked by composite skill
polyrank_get_trader_skillA wallet's P&L / win-rate / volume / percentiles
polyrank_get_trader_calibrationA wallet's 10-bin reliability diagram
polyrank_get_market_consensusSkill-weighted holder consensus vs market mid + top holders
polyrank_get_pulseLive activity: big wins, sharp moves, trending, divergence
polyrank_get_platform_statsLive coverage + skill-metric count (wallets/trades/markets)
polyrank_get_top_roi_tradesBiggest return-on-cost resolved trades (filter by category)
polyrank_get_moversTraders climbing / falling fastest in skill rank
polyrank_get_smart_money_reportsWeekly Skill Report archive
polyrank_get_smart_money_reportOne weekly Skill Report in full
polyrank_get_trader_by_tidFollow a masked trader by its tid
polyrank_get_trader_calibration_by_tidA masked trader's 10-bin reliability diagram by tid
polyrank_get_custom_rankingA published Builder ranking: masked top-25 + weight/filter def
polyrank_get_traders_batchMasked teasers for up to 10 tids in one call
polyrank_get_metrics_catalogThe 84 rankable metrics: id, meaning, direction, windows
polyrank_get_metric_windowsWhich metric exists at which window; what as_of can answer
polyrank_list_ranking_templatesThe Builder's goals ("Copy entries", …) as ready requests + presets

Ranking + trader tools (a signed-in account; the Builder and the metrics need Pro Trader or higher) — 3

ToolWhat it does
polyrank_resolve_tidResolve a masked tid → wallet
polyrank_rank_walletsThe Ranking Builder: weights × windows × filters, as_of, explain, any sort
polyrank_get_trader_metricsOne trader's every metric at a window: value + percentile (address or tid)

AI Lab tools (a signed-in account; the reads answer any plan, the actions need a plan with the AI Lab; results are SIMULATED) — 16

ToolWhat it does
polyrank_list_lab_templatesStrategy templates (editable specs) with their as-of evidence
polyrank_create_strategySave a strategy (spec or template)
polyrank_run_backtestQueue a backtest of a strategy or spec over a date range
polyrank_get_backtestA backtest's status and report
polyrank_start_paperStart paper trading a strategy against real order books (no money)
polyrank_get_paper_runA paper run's stats and its copies
polyrank_list_strategiesYour strategies, filtered by state (draft, tested, paper…)
polyrank_get_strategyOne strategy with its full spec
polyrank_list_backtestsYour recent backtests, all or one strategy's
polyrank_get_lab_limitsYour plan's AI Lab limits and what is used, incl. chats at once
polyrank_lab_list_chatsYour AI Lab assistant chats
polyrank_lab_get_chatOne chat: answers, result cards, queue position
polyrank_update_strategyRename a strategy or replace its spec
polyrank_lab_askAsk the AI Lab assistant in a new chat (spends AI credits)
polyrank_lab_replyReply in a chat (spends AI credits)
polyrank_lab_stopStop an answer

The AI Lab tools act as your own Polyrank account: a plan with the AI Lab (Pro Trader and up; a strategy that copies no wallet needs Lab Pro and up), each backtest counting against the plan's backtests a day, with queue_position and eta_s on a queued run. Plans and limits: https://docs.polyrank.app/lab.

The AI Lab assistant (polyrank_lab_ask, polyrank_lab_reply): the same assistant as polyrank.app/lab, acting in your account (research only; it never places orders). Each question spends your plan's AI credits (25 needed to start, a typical one about 13; deep: true about twice) and your plan answers a number of chats at once (Pro Trader 2, Lab Pro 3, Quant 4, Quant Max 6, Desk 6, Enterprise 8; one more answers 429 lab_agent_busy). The tool waits up to wait_seconds (default 45, at most 55) for the answer, then returns what is there; poll polyrank_lab_get_chat while next says it is still answering. A backtest the assistant starts that takes longer than a few seconds runs on: awaiting_backtests counts them, and each result is posted to the chat when it finishes. Every answer, and every AI Lab result with simulated figures (polyrank_run_backtest, polyrank_get_backtest, polyrank_get_paper_run, polyrank_list_strategies, polyrank_list_backtests), comes with the CFTC Rule 4.41 statement (simulated_results_notice).

Reproduce a Builder board (e.g. "Copy entries", top 20): call polyrank_list_ranking_templates, then polyrank_rank_wallets with that goal's request.

Prompts — 6

Ready-made requests you pick from your client's prompt menu (Claude's "+" menu, / in Claude Code and VS Code). Every argument is optional: leave it empty and the prompt uses today's example, or paste a link. The answer comes as two plain sentences, a short table of the figures that matter, what the record cannot tell, and two next steps.

PromptYou askArguments (all optional)Where
polyrank_start_hereNew here? Today's top traders and one active marketnonefree, /mcp and /mcp/public
polyrank_vet_traderIs this trader skilled or lucky?trader: a wallet, a Polyrank or Polymarket profile linkfree, /mcp and /mcp/public
polyrank_market_readWho is on which side of this market?market: a Polymarket or Polyrank market link, or a slugfree, /mcp and /mcp/public
polyrank_explain_metricWhat does this number mean?metric: a figure's namefree, /mcp and /mcp/public
polyrank_skilled_in_categoryWho has the strongest record in Sports, Politics …?category, window/mcp, Pro Trader and higher
polyrank_test_copy_strategyWhat would copying this trader have returned?traders, stake, period/mcp, any plan with the AI Lab

The two /mcp prompts fall back to the free equivalent when you are not signed in or your plan lacks the tool (the all-category skill board; the trader's free record) and say what the plan adds. The AI Lab prompt asks one question before it creates a strategy and runs a backtest, and its results are simulated.

Resources — 3

Read-only context your client can attach. All free, on both endpoints.

ResourceWhat it is
polyrank://metrics/catalogThe 84-metric catalog (JSON): id, name, what each measures, direction, windows, minimum sample
polyrank://metrics/{metric_id}One metric's catalog entry (template), e.g. polyrank://metrics/brier
polyrank://method/overviewHow Polyrank tells skill from luck (Markdown, the metrics guide from docs.polyrank.app)

Plans: https://polyrank.app/pricing.

Install

Claude Code

claude mcp add polyrank -- npx -y @polyrank/mcp

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "polyrank": { "command": "npx", "args": ["-y", "@polyrank/mcp"] }
  }
}

Cursor — add to .cursor/mcp.json (same block as above), or use the one-click deep link:

Add to Cursor

VS Code

code --add-mcp '{"name":"polyrank","command":"npx","args":["-y","@polyrank/mcp"]}'

Config: POLYRANK_API_BASE (default https://api.polyrank.app), POLYRANK_AGENT_BASE (default https://api-agent.polyrank.app; only its free manifests are read), and optional POLYRANK_API_KEY, your account's key: with it the 19 tools that need an account work, within what your plan includes (each tool's description says which plan). With a key:

claude mcp add polyrank -e POLYRANK_API_KEY=pk_live_… -- npx -y @polyrank/mcp

Hosted (Streamable HTTP)

Polyrank hosts this server at https://mcp.polyrank.app (Streamable HTTP), so nothing needs installing:

EndpointTools
POST https://mcp.polyrank.app/mcpall 36: the 17 free tools without sign-in; the other 19 after sign-in (OAuth 2.1: your MCP client opens Polyrank's sign-in and consent) or with Authorization: Bearer pk_live_… (your own key); each tool's description says which plan it needs
POST https://mcp.polyrank.app/mcp/publicthe 17 free read-only tools only; any Authorization header is ignored
GET https://mcp.polyrank.app/healthzstatus and version

In Claude (Settings → Connectors → Add custom connector), ChatGPT or Cursor, add https://mcp.polyrank.app/mcp. In Claude's dialog choose Sign in now to connect your account up front (otherwise the free tools work and the app asks you to sign in at the first tool that needs your account): you sign in to Polyrank and approve what the app may do (read data; your AI Lab, optional). Disconnect it any time in Polyrank → Account → Connected apps. With a key instead:

claude mcp add --transport http polyrank https://mcp.polyrank.app/mcp --header "Authorization: Bearer pk_live_…"
claude mcp add --transport http polyrank-free https://mcp.polyrank.app/mcp/public

It is for MCP clients and agent backends, not for pages in a browser: a request that carries a browser Origin header is refused (403). Limits: 100 requests a minute per address without sign-in or a key, 600 a minute with one, and your plan's API limits behind them. The AI Lab's actions (strategies, backtests, paper runs, the assistant) need a plan with the AI Lab, its read tools answer any signed-in account, and its results are simulated.

The package also runs this server itself (MCP_HTTP_ENABLED=1); with no flag it is the stdio server above.

Run it yourself: MCP_HTTP_ENABLED=1 MCP_HTTP_PORT=3005 npx -y @polyrank/mcp, then curl -s localhost:3005/healthz. Options (env): MCP_HTTP_HOST (default 127.0.0.1), MCP_HTTP_PORT (3005), MCP_HTTP_ALLOWED_HOSTS (Host header allow-list, default mcp.polyrank.app,localhost,127.0.0.1,[::1]), MCP_HTTP_ALLOWED_ORIGINS (browser Origin allow-list, default none), MCP_HTTP_ANON_PER_MIN (100), MCP_HTTP_KEY_PER_MIN (600), MCP_HTTP_VERIFY_KEYS (1), MCP_HTTP_MAX_BODY_BYTES (1048576), MCP_FORWARD_CLIENT_IP (0). In HTTP mode POLYRANK_API_KEY is ignored: every caller sends their own key. Details: src/http.ts.

Not affiliated with Polymarket · not investment advice · not custodial.

Reviews

No reviews yet

Be the first to review this server!