Coinbase Exchange logo

Coinbase Exchange

Access Coinbase Exchange public market data through MCP tools for products, order books, trades, candles, currencies, and server time.

Install Coinbase Exchange

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "coinbase-exchange": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-coinbase-exchange"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio coinbase-exchange -- npx -y @pipeworx/mcp-coinbase-exchange

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 10 tools correctly ().

Overview

Coinbase Exchange MCP server connects MCP clients to Coinbase Exchange’s public API through the Pipeworx gateway. It provides market-data tools for trading pairs, order books, tickers, trades, OHLC candles, 24-hour statistics, currencies, and server time, with BTC-USD as an example product. Use it for read-only public market queries without Coinbase credentials; hosted calls can also use Pipeworx account access and quotas. A local npm bridge is available for clients that prefer stdio, while the hosted endpoint uses streamable HTTP.

Use cases

  • List Coinbase Exchange trading pairs
  • Inspect BTC-USD order-book levels
  • Retrieve recent product trades
  • Query OHLC candles for a time range
  • Check exchange currencies and server time

Key features

  • Public Coinbase Exchange market data
  • Product, ticker, order-book, and trade queries
  • Configurable OHLC candle granularity
  • Currency and exchange-time lookups
  • Hosted HTTP and local stdio connection modes
  • Optional Pipeworx gateway meta-tools

Tools10

What Coinbase Exchange lets your agent do. Expand a tool for its parameters.

Verified live~640 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 83d

What it can do

From the 10 tools this server returned when we ran it; 10 declare their own safety hints.

Makes network requests · 10Read-only tools · 10
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age41 days
Maintainers1

Observed 2026-11-04 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @pipeworx/mcp-coinbase-exchange (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads754Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed10Callable tools this server registers over MCP.

How Coinbase Exchange works

What Coinbase Exchange does

Coinbase Exchange exposes public market-data operations through the Model Context Protocol. The integration is independent and unofficial, and reads from https://api.exchange.coinbase.com. It is intended for questions about Coinbase Exchange products and market activity rather than authenticated trading or account management.

Supported data includes the available trading pairs, details for one product such as BTC-USD, order-book levels, best bid and ask prices, recent trades, OHLC candles, 24-hour product statistics, currencies, individual currency details, and the exchange server time.

How it works

The hosted MCP endpoint is:

https://gateway.pipeworx.io/coinbase-exchange/mcp

An MCP client connects to that URL and invokes the exposed tools. The pack endpoint also lists shared Pipeworx gateway tools, including routing and discovery functions such as ask_pipeworx, discover_tools, search_within, and memory-related tools. The exact tool scope is reported during MCP initialization. ask_pipeworx can route a plain-language request across the wider Pipeworx catalog, including this Coinbase Exchange pack.

The same operations can be called over HTTP. For example, a POST request to /v1/tools/coinbase_exchange_products invokes the products operation with a JSON body. The gateway is also available at https://gateway.pipeworx.io/mcp when a client should connect to the full gateway instead of listing this pack directly.

Setup and configuration

For a hosted MCP connection, add the pack URL to the client’s MCP configuration:

config.json
{
  "mcpServers": {
    "coinbase-exchange": {
      "url": "https://gateway.pipeworx.io/coinbase-exchange/mcp"
    }
  }
}

The package @pipeworx/mcp-coinbase-exchange provides a local stdio bridge. Configure the client to start it with npx:

config.json
{
  "mcpServers": {
    "coinbase-exchange": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-coinbase-exchange"]
    }
  }
}

The bridge forwards requests to the hosted gateway and requires network access. Anonymous use is capped at 50 calls per day. A Pipeworx account and PIPEWORX_API_KEY raise the allowance to 200 calls per day; the key is sent as a Bearer token. Set PIPEWORX_META_TOOLS=1 in the local bridge configuration to list the shared gateway tools alongside the Coinbase Exchange tools. For HTTPS proxy use, newer Node versions can honor the proxy environment through NODE_USE_ENV_PROXY=1.

Tools and capabilities

  • products() lists trading pairs.
  • product(product_id) returns one product, such as BTC-USD.
  • product_book(product_id, level?) retrieves an order book at level 1, 2, or 3.
  • product_ticker(product_id) returns the best bid, best ask, and last trade.
  • product_trades(product_id, limit?, before?, after?) retrieves recent trades with optional pagination parameters.
  • product_candles(product_id, granularity?, start?, end?) returns OHLC data with granularities from 60 to 86,400 seconds.
  • product_stats(product_id) returns 24-hour statistics.
  • currencies() and currency(currency_id) provide currency listings and details.
  • time() returns exchange server time.

Limitations and notes

The integration covers public market endpoints and does not provide authenticated exchange actions. It is not affiliated with, endorsed by, or published by Coinbase. The local package has no offline mode because it forwards calls to the gateway. Hosted and local calls are subject to Pipeworx usage limits and account metering; the API key is optional for anonymous use.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Coinbase Exchange

Coinbase Exchange is an MCP server that connects AI clients to Coinbase Exchange public market endpoints through Pipeworx. Its main tools list products and currencies, inspect order books and tickers, retrieve trades and OHLC candles, report 24-hour statistics, and return exchange server time without requiring Coinbase credentials.

Add the hosted MCP URL to your client, or run the npm bridge with `npx -y @pipeworx/mcp-coinbase-exchange`. The hosted configuration uses `https://gateway.pipeworx.io/coinbase-exchange/mcp`; the local bridge forwards requests there and requires network access.

Yes, Coinbase Exchange works with Cursor through the hosted MCP URL or the local stdio bridge. Add the server entry to Cursor’s MCP configuration, using the gateway URL for a remote connection or `npx` with the package for local startup.

No, Coinbase credentials are not required for the public calls. Anonymous Pipeworx use is capped at 50 calls per day; adding a `PIPEWORX_API_KEY` from a Pipeworx account raises the allowance to 200 calls per day.

Yes, the gateway accepts HTTP tool calls. Send a JSON POST request to an endpoint such as `https://gateway.pipeworx.io/v1/tools/coinbase_exchange_products`; tool inspection and discovery endpoints are also available through the gateway.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCoinbase Exchange AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/coinbase-exchange?style=directory)](https://allmcps.com/mcp/coinbase-exchange)
HTML Embed
<a href="https://allmcps.com/mcp/coinbase-exchange"><img src="https://allmcps.com/api/badge/coinbase-exchange?style=directory" alt="Coinbase Exchange on AllMCPs" /></a>