CoW Protocol MCP Server

CoW Protocol MCP Server

Enables interaction with CoW Protocol's order book API, allowing token resolution, quote retrieval, and order management across multiple networks through natural language.

Category
Visit Server

README

CoW Protocol MCP Server

An MCP (Model Context Protocol) server for interacting with CoW Protocol's order book API.

Features

Token Tools

  • cow_resolve_token - Look up token address by symbol (uses official CoW Swap token list)
  • cow_search_tokens - Search for tokens by name/symbol across networks

Order Tools

  • cow_get_quote - Get price and fee quotes for trades (accepts symbols OR addresses)
  • cow_get_order - Get full order details by UID
  • cow_get_order_status - Check order status (open, filled, cancelled, expired)
  • cow_get_trades - Fetch trade history for an address or order
  • cow_get_auction - View current auction batch information

Token Resolution

The server uses the official CoW Protocol token list for symbol resolution. This is the same list used by CoW Swap.

Example: Instead of providing the full address for USDC or COW, you can just use the symbol:

sellToken: "WETH"
buyToken: "COW"

And it will automatically resolve to the correct address for the specified network.

Supported Networks

  • mainnet (Ethereum)
  • gnosis (Gnosis Chain)
  • arbitrum (Arbitrum One)
  • base (Base)
  • avalanche (Avalanche)
  • polygon (Polygon)
  • bnb (BNB Chain)
  • sepolia (Sepolia testnet)

Installation

npm install
npm run build

Usage

With Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "cow": {
      "command": "node",
      "args": ["/path/to/cow-mcp-server/dist/index.js"]
    }
  }
}

With OpenClaw

Add to your OpenClaw MCP servers configuration.

Testing with MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Development

# Watch mode
npm run dev

# Build
npm run build

# Clean
npm run clean

API Reference

cow_get_quote

Get a quote for a potential trade:

{
  "network": "mainnet",
  "sellToken": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
  "buyToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "kind": "sell",
  "amount": "1000000000000000000",
  "from": "0xYourAddress"
}

cow_get_order_status

Check an order's status:

{
  "network": "mainnet",
  "orderUid": "0x..."
}

cow_get_trades

Get trade history:

{
  "network": "mainnet",
  "owner": "0xYourAddress",
  "limit": 20
}

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured