Skip to content
MCP server

Polymarket Guard

Polymarket prediction markets — buy/sell positions in USDC. LemonCake pay-per-call…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
5 days ago

About Polymarket Guard

Polymarket Guard is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Polymarket prediction markets — buy/sell positions in USDC. LemonCake pay-per-call billing.

Install

Run in a terminal

claude mcp add polymarket-guard --env POLYMARKET_PRIVATE_KEY='<POLYMARKET_PRIVATE_KEY>' --env LEMON_CAKE_BUYER_JWT='<LEMON_CAKE_BUYER_JWT>' -- npx -y polymarket-guard-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "polymarket-guard": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "<POLYMARKET_PRIVATE_KEY>",
        "LEMON_CAKE_BUYER_JWT": "<LEMON_CAKE_BUYER_JWT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "polymarket-guard": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "<POLYMARKET_PRIVATE_KEY>",
        "LEMON_CAKE_BUYER_JWT": "<LEMON_CAKE_BUYER_JWT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "polymarket-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "<POLYMARKET_PRIVATE_KEY>",
        "LEMON_CAKE_BUYER_JWT": "<LEMON_CAKE_BUYER_JWT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "polymarket-guard": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "<POLYMARKET_PRIVATE_KEY>",
        "LEMON_CAKE_BUYER_JWT": "<LEMON_CAKE_BUYER_JWT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "polymarket-guard": {
      "command": "npx",
      "args": [
        "-y",
        "polymarket-guard-mcp"
      ],
      "env": {
        "POLYMARKET_PRIVATE_KEY": "<POLYMARKET_PRIVATE_KEY>",
        "LEMON_CAKE_BUYER_JWT": "<LEMON_CAKE_BUYER_JWT>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • POLYMARKET_PRIVATE_KEYPolygon wallet private key for trading. Leave unset for read-only mode.
  • LEMON_CAKE_BUYER_JWTLemonCake Buyer JWT for pay-per-call billing.

Pricing

Open source

Polymarket Guard FAQ

Is Polymarket Guard free?

Yes. Polymarket Guard is open source, so you can use and self-host it for free.

How do I add Polymarket Guard to Claude Code?

Run this command in your terminal: claude mcp add polymarket-guard --env POLYMARKET_PRIVATE_KEY='<POLYMARKET_PRIVATE_KEY>' --env LEMON_CAKE_BUYER_JWT='<LEMON_CAKE_BUYER_JWT>' -- npx -y polymarket-guard-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers