Polymarket trading with Claude Code: connect an agent, with limits

Claude Code can connect to Slay's Polymarket tools through an MCP server and place orders for you. This page covers what the setup does, the limits it enforces, and the order to try things in. Step-by-step setup lives on the agent pages; this page is the short path.

Updated · Slay Predict

This is not a bot that makes money. An agent places the orders you allow, inside the limits you set. It can lose money as fast as you can.

What the setup does

PartWhat it isWhere
Slay API keyA key for one account, created in the appSlay account, API keys
Polymarket MCP serverThirteen tools: markets, quotes, practice and real money, orders and account/ai/polymarket-mcp
HIP-4 trading APIEndpoints for Hyperliquid outcome markets/ai/hip4-agent
Agent rulesSetup steps and trading rules for an agent to read/skill.md

Limits come from the server

The key carries limits that Slay checks on its server, so an agent cannot raise them by changing its prompt. Check the limits on the key before you connect the agent. The agent pages say which limits exist and how to change them.

Start with practice money

The simple buy endpoint takes paper: true. It trades with $1,000 of practice money on the live books, so you can test an agent's orders before funding an account. Check which tools expose the option before you rely on it: the agent page states the option, and the setup pages list the tools.

A safe order to try things

  1. Create a key, and check its limits in the app before you connect an agent.
  2. Connect Claude Code to the MCP server and ask it to list markets, not trade.
  3. Ask for a quote on one market. Compare it with the market page.
  4. Place one practice order. Check the fill and the fee.
  5. Only then fund the account, with an amount you can lose, and raise limits one step at a time.

What an agent cannot see

  • The rules of a market. Read them yourself before the agent trades a market.
  • Your other accounts. An agent sees only the key you gave it.
  • A price change after it reads a quote. Slow loops can buy at a worse price.

Related

Polymarket fees, how prediction market odds work, the API reference. Predictions carry risk.

Polymarket and HIP-4 in one app.
Sign in with email or Google. Your funds stay in your own wallet.
See live markets