1. Conduid
  2. Security
  3. Polymarket CLOB API Server
MCP server · Security

Polymarket CLOB API Server

Expose Polymarket's public Central Limit Order Book REST API as callable tools for LLM-powered IDEs and agents. Query markets, fetch market details, and integrate prediction market data seamlessly into your AI workflows without requiring authentication. Deploy easily with Docker or any ASGI-compatible platform for fast, scalable access.

Unclaimed security
34Low

Scored 4 months ago · breakdown

About Polymarket CLOB API Server

Polymarket CLOB API Server is an MCP server in the Security category: expose Polymarket's public Central Limit Order Book REST API as callable tools for LLM-powered IDEs and agents. Query markets, fetch market details, and integrate prediction market data seamlessly into your AI workflows without requiring authentication. Deploy easily with Docker or any ASGI-compatible platform for fast, scalable access. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/CarlosIbCu/polymarket-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Polymarket CLOB API Server

Powered by Claude · Grounded in docs

I know everything about Polymarket CLOB API Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

Polymarket MCP Server

A Model Context Protocol (MCP) compliant server that exposes the public Polymarket Central Limit Order Book (CLOB) REST API as tools that any LLM-powered IDE or agent can invoke. Compatible with Cursor, Continue (VS Code), GitHub Copilot Chat, JetBrains AI Assistant, OpenAI ChatGPT (Assistants API), Smithery and any other MCP-aware interface.


✨ Features

  • 🪄 Universal MCP Support – works with Cursor, Continue, Copilot, JetBrains AI, Smithery and more
  • Python implementation – using native MCP protocol with async support
  • 📈 Essential endpoints out-of-the-box – list markets, fetch single market details and more
  • 🔌 Stateless & no auth required – queries Polymarket's public REST endpoints; no keys needed
  • 🐳 Docker-ready – ship & deploy anywhere in seconds
  • 📝 MIT licensed – free for personal and commercial use

🚀 Quick Start

Local Development

# Clone the repository
git clone https://github.com/CarlosIbCu/polymarket-mcp.git
cd polymarket-mcp

# Install dependencies
pip install -r requirements.txt

# Run the server
python -m polymarket_mcp.main

Testing with MCP Inspector

You can test the server using the official MCP Inspector:

# Install and run the MCP Inspector
npx @modelcontextprotocol/inspector python -m polymarket_mcp.main

This will:

  1. Start the MCP server
  2. Launch the inspector web interface
  3. Provide a URL to access the inspector (usually http://localhost:6274)

The inspector allows you to:

  • View available MCP tools
  • Test tool calls interactively
  • Inspect server capabilities
  • Debug MCP protocol messages

Docker Deployment

# Build the image
docker build -t polymarket-mcp .

# Run the container
docker run -p 3333:3333 polymarket-mcp

Smithery Deployment

This server is ready for deployment on Smithery, the MCP hosting platform:

  1. Fork/clone this repository
  2. Connect your GitHub account to Smithery
  3. Select this repository and choose "Custom Deploy"
  4. Smithery will automatically detect the configuration and deploy

The smithery.yaml configuration includes:

  • Container runtime settings
  • Server configuration options
  • Health checks
  • Tool schemas

🛠 Available Tools

list_markets

List available prediction markets with optional limit parameter.

Parameters:

  • limit (integer, optional): Maximum number of markets to return (default: 10)

Example:

{
  "limit": 5
}

get_market

Fetch detailed information about a specific market.

Parameters:

  • market_id (string, required): Market ID to fetch

Example:

{
  "market_id": "0x9deb0baac40648821f96f01339229a422e2f5c877de55dc4dbf981f95a1e709c"
}

🔧 Configuration

Server configuration is handled via environment variables or Smithery config:

server:
  host: "0.0.0.0"  # Server host
  port: 3333       # Server port
  timeout: 30      # Request timeout in seconds

📚 API Documentation

  • MCP Inspector: Use npx @modelcontextprotocol/inspector for interactive testing
  • Polymarket API Docs: Official Documentation

🧪 Testing

# Test the Polymarket API connectivity
python test_server.py

# Run with MCP Inspector for interactive testing
npx @modelcontextprotocol/inspector python -m polymarket_mcp.main

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is MIT licensed. See the LICENSE file for details.


README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Polymarket CLOB API Server

How do I install Polymarket CLOB API Server?

Run git clone https://github.com/CarlosIbCu/polymarket-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Polymarket CLOB API Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Polymarket CLOB API Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.