
Polymarket MCP Server
A self-hosted MCP server that connects AI agents to Polymarket prediction markets on Polygon. It handles the full trading stack: wallet generation with Safe integration, gasless order placement through Polymarket's relayer, position tracking, and winnings claims. You get tools for placing and canceling orders, checking balances, transferring USDC and ERC-1155 shares, and swapping tokens via LI.FI. Requires PostgreSQL for wallet storage and a Polygon RPC endpoint. Wallets are encrypted at rest. Authentication uses API keys with optional HMAC signing for trusted bots. The Quantish team is no longer maintaining it, but the server runs independently once deployed to Railway, Fly.io, or any Node.js host.
- tools
- 28
- last updated
- Feb 27, 2026
Tools
28 toolsPublic tool metadata for what this MCP can expose to an agent.
request_api_keyCreate account with new wallet (or recover existing)
Create account with new wallet (or recover existing)
No parameter schema in public metadata yet.
setup_walletDeploy Safe wallet and set approvals
Deploy Safe wallet and set approvals
No parameter schema in public metadata yet.
get_wallet_statusCheck wallet deployment and approval status
Check wallet deployment and approval status
No parameter schema in public metadata yet.
get_balancesGet USDC/MATIC balances
Get USDC/MATIC balances
No parameter schema in public metadata yet.
get_deposit_addressesGet addresses for depositing (EVM, Solana, BTC)
Get addresses for depositing (EVM, Solana, BTC)
No parameter schema in public metadata yet.
export_private_keyExport wallet private key
Export wallet private key
No parameter schema in public metadata yet.
import_private_keyImport existing wallet
Import existing wallet
No parameter schema in public metadata yet.
place_orderPlace buy/sell order
Place buy/sell order
No parameter schema in public metadata yet.
cancel_orderCancel an open order
Cancel an open order
No parameter schema in public metadata yet.
cancel_all_ordersCancel all open orders
Cancel all open orders
No parameter schema in public metadata yet.
get_ordersGet order history
Get order history
No parameter schema in public metadata yet.
execute_atomic_ordersExecute multiple orders atomically
Execute multiple orders atomically
No parameter schema in public metadata yet.
get_orderbookGet market bids/asks
Get market bids/asks
No parameter schema in public metadata yet.
get_priceGet market midpoint price
Get market midpoint price
No parameter schema in public metadata yet.
get_positionsGet your positions
Get your positions
No parameter schema in public metadata yet.
sync_positionsSync positions from Polymarket API
Sync positions from Polymarket API
No parameter schema in public metadata yet.
get_claimable_winningsCheck redeemable winnings
Check redeemable winnings
No parameter schema in public metadata yet.
claim_winningsClaim resolved market winnings
Claim resolved market winnings
No parameter schema in public metadata yet.
get_onchain_sharesGet all ERC-1155 holdings (including gifted)
Get all ERC-1155 holdings (including gifted)
No parameter schema in public metadata yet.
transfer_usdcSend bridged USDC
Send bridged USDC
No parameter schema in public metadata yet.
transfer_native_usdcSend Circle native USDC
Send Circle native USDC
No parameter schema in public metadata yet.
transfer_sharesSend ERC-1155 shares
Send ERC-1155 shares
No parameter schema in public metadata yet.
send_maticSend MATIC from EOA
Send MATIC from EOA
No parameter schema in public metadata yet.
swap_tokensSwap tokens via LI.FI
Swap tokens via LI.FI
No parameter schema in public metadata yet.
get_swap_quoteGet swap quote
Get swap quote
No parameter schema in public metadata yet.
list_api_keysList your API keys
List your API keys
No parameter schema in public metadata yet.
create_additional_api_keyCreate new API key
Create new API key
No parameter schema in public metadata yet.
revoke_api_keyRevoke an API key
Revoke an API key
No parameter schema in public metadata yet.
Sponsors
Readme
Polymarket MCP Server
⚠️ Notice: Quantish is winding down. The Quantish platform (quantish.live) is shutting down. This MCP server is self-hosted and will continue to work independently, but the Quantish team will no longer be maintaining or updating this project. If you're building in the prediction market space and need real-time data infrastructure, check out polynode.dev.
Self-hosted MCP server for trading on Polymarket prediction markets.
Overview
This package provides an MCP (Model Context Protocol) server that enables AI agents to trade on Polymarket prediction markets via the Polygon network.
Features
- Full Polymarket Trading - Buy/sell on any Polymarket market
- Polygon Wallet Management - Generate and manage wallets with Safe integration
- Gasless Transactions - Most operations use Polymarket's relayer (no MATIC needed)
- MCP Compatible - Works with Claude, Cursor, and any MCP client
- Self-Hostable - Run on Railway, Fly.io, or any Node.js host
Quick Start
git clone https://github.com/joinQuantish/polymarket-mcp
cd polymarket-mcp
npm install
Environment Variables
Details
- Repository
- github.com/joinquantish/polymarket-mcp
- Categories
- AI & LLM Tools, Finance & Commerce
- Registry
- MCP registry, active