Skip to content

Repository files navigation

polymarket-clob-server

MCP (Model Context Protocol) server for the Polymarket CLOB (Central Limit Order Book) API. Gives MCP clients access to Polymarket trading and market data: order books, prices and market details.

Layout

src/
  index.ts                  entry point (MCP server)
  clobApiClient.ts          Polymarket CLOB API client
  gammaApiClient.ts         Gamma Markets API client (market discovery)
  polymarketIntegration.ts  combined integration layer
  complete-server.ts / full-server.ts / improved-server.ts
                            alternative server iterations kept for reference

Install & build

npm install
npm run build   # tsc -> dist/

Use with an MCP client

{
  "mcpServers": {
    "polymarket-clob": {
      "command": "node",
      "args": ["<path-to-repo>/dist/index.js"]
    }
  }
}

No API key is required for public market data endpoints.

About

MCP server exposing the Polymarket CLOB (Central Limit Order Book) API for trading and market data. TypeScript.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages