🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

polymarket-toolkit-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polymarket-toolkit-mcp

MCP server exposing polymarket-toolkit's read-only Polymarket data CLI as tools for AI agents. No keys, no orders — data only.

latest
Source
npmnpm
Version
0.7.2
Version published
Maintainers
1
Created
Source

polymarket-toolkit-mcp

MCP server exposing polymarket-toolkit's read-only Polymarket data CLI as Model Context Protocol tools for AI agents. No keys, no orders — data only.

Quick start

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

Generic MCP client config:

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

Tools (10, all read-only)

ToolWhat it answers
pm_profilePnL + open positions snapshot for an address/username
pm_activityRecent trades for an address/username
pm_brierPrediction-quality (Brier) score from settled positions
pm_pnl_checkFee-inclusive PnL cross-check vs leaderboard
pm_scanActive markets ranked by 24h volume + spread
pm_updownCrypto up/down market fields for an event slug
pm_leaderboardProfit leaderboard snapshot
pm_redeem_watchdogRedeemable positions for an address (no signing)
pm_v2_checkV2 CTF readiness diagnostics
pm_rate_limitsKnown Polymarket API rate limits (offline)

Security model

  • Every tool shells out to the toolkit's pm CLI (argv array, no shell) — the server can do exactly what the read-only CLI can do, nothing more.
  • Inputs are allowlist-validated twice (MCP SDK layer + independent handler re-validation).
  • Subprocess guards: 60s timeout, 2MB output cap, concurrency limit.
  • No trading over MCP — order placement lives in the toolkit's separate opt-in executor/ package, human-wired only.

Full docs: docs/mcp.md

Keywords

mcp

FAQs

Package last updated on 18 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts