# polymarket-guard-mcp

MCP server for Polymarket prediction markets — buy/sell positions with USDC pay-per-call billing via LemonCake

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.1.2
- **Author:** Unknown
- **License:** MIT
- **npm:** polymarket-guard-mcp
- **Source:** https://github.com/evidai/lemon-cake
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 2 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-08-31T05:28:12.396Z
- **Version scanned:** 0.1.2
- **CVEs:** none found by OSV at scan time

## Tools

11 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `list_markets` — List active Polymarket prediction markets. Returns market titles, condition IDs, token IDs, volume, and YES/NO prices. Free — no billing.
- `search_markets` — Search Polymarket markets by keyword. Searches market titles and descriptions. Free — no billing.
- `get_market` — Get full details for a single Polymarket market by its condition ID or slug. Includes resolution criteria, outcomes, current prices, and volume. Free — no billi
- `get_order_book` — Get the live order book (bids and asks) for a Polymarket market token. Use token_id from list_markets or get_market. Free — no billing.
- `get_positions` — Get your current open positions on Polymarket: market titles, outcome tokens, shares held, cost basis, and current P&L. Requires POLYMARKET_PRIVATE_KEY. Billed 
- `get_balance` — Get your USDC balance and token allowances on Polymarket's Polygon contracts. Requires POLYMARKET_PRIVATE_KEY. Billed at $0.05 USDC via LemonCake.
- `get_trade_history` — Get your past trades on Polymarket: order IDs, market, outcome, price, size, timestamp. Requires POLYMARKET_PRIVATE_KEY. Billed at $0.05 USDC via LemonCake.
- `place_market_order` — Buy or sell outcome shares at market price on Polymarket. USDC cost is calculated at the current best ask/bid. Requires POLYMARKET_PRIVATE_KEY. Billed at $0.10 
- `place_limit_order` — Place a limit order to buy or sell outcome shares at a specific price on Polymarket CLOB. Requires POLYMARKET_PRIVATE_KEY. Billed at $0.10 USDC via LemonCake.
- `cancel_order` — Cancel an open limit order by order ID. Requires POLYMARKET_PRIVATE_KEY. Billed at $0.10 USDC via LemonCake.
- `redeem_positions` — Claim winnings from resolved Polymarket markets. Redeems outcome token shares for USDC if the market resolved in your favor. Requires POLYMARKET_PRIVATE_KEY. Bi

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"polymarket-guard\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polymarket-guard-mcp\"\n      ],\n      \"env\": {\n        \"POLYMARKET_PRIVATE_KEY\": \"<YOUR_POLYMARKET_PRIVATE_KEY>\",\n        \"LEMON_CAKE_BUYER_JWT\": \"<YOUR_LEMON_CAKE_BUYER_JWT>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `POLYMARKET_PRIVATE_KEY` — Polymarket Private Key (optional)
- `LEMON_CAKE_BUYER_JWT` — Lemon Cake Buyer JWT (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 2 credentials (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 25, ceiling 25 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/polymarket-guard-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/polymarket-guard-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/polymarket-guard-mcp
- HTML page: https://forgeregistry.com/registry/polymarket-guard-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
