Polyrank
v0.5.1Polymarket trader analytics for AI agents: rank wallets, read trader metrics, backtest strategies.
Values you need
| Variable | What it is | |
|---|---|---|
POLYRANK_API_BASE | optional | Override the Polyrank API host (default https://api.polyrank.app). |
POLYRANK_AGENT_BASE | optional | Override the agent host whose free manifests (metric catalog, metric windows, Builder goals) are read (default https://api-agent.polyrank.app). |
POLYRANK_API_KEY | optional secret | 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. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add polyrank-mcp -- npx -y --package=@polyrank/mcp@0.5.1 polyrank-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"polyrank-mcp": {
"args": [
"-y",
"--package=@polyrank/mcp@0.5.1",
"polyrank-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"polyrank-mcp": {
"args": [
"-y",
"--package=@polyrank/mcp@0.5.1",
"polyrank-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"polyrank-mcp": {
"args": [
"-y",
"--package=@polyrank/mcp@0.5.1",
"polyrank-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.polyrank-mcp]
command = "npx"
args = ["-y", "--package=@polyrank/mcp@0.5.1", "polyrank-mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http polyrank-mcp https://mcp.polyrank.app/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"polyrank-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.polyrank.app/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"polyrank-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.polyrank.app/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"polyrank-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.polyrank.app/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.polyrank-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.polyrank.app/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: polyrank_get_leaderboard, polyrank_get_trader_skill, polyrank_get_trader_calibration, polyrank_get_market_consensus, polyrank_get_pulse, polyrank_get_platform_stats, polyrank_get_top_roi_trades, polyrank_get_movers, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json