Skip to main content
Glama
coinbase-spot-exchange-rates-mcp

coinbase-spot-exchange-rates-mcp

README.md
# coinbase-spot-exchange-rates-mcp

Live Coinbase crypto and fiat exchange rates over Model Context Protocol (MCP). FinTech teams, treasury desks, accounting workflows, and trading assistants can inspect spot, buy, and sell quotes, convert amounts, and list supported currencies without an API key or account. It connects right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://coinbase-spot-exchange-rates-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_coinbase_spot_price` | Fetch live Coinbase spot, buy, and sell prices plus spread for any trading pair such as `BTC-USD` |
| `get_coinbase_exchange_rates` | Retrieve Coinbase exchange rates from a base currency to major or requested quote currencies |
| `convert_coinbase_amount` | Convert a numeric amount between two crypto or fiat currencies using live Coinbase rates |
| `list_coinbase_currencies` | List supported Coinbase fiat or cryptocurrency codes and names with optional search filtering |
| `compare_coinbase_spot_prices` | Compare live Coinbase spot prices across 2 to 6 pairs side by side in one call |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "coinbase-spot-exchange-rates": {
      "url": "https://coinbase-spot-exchange-rates-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm start
```

## Compliance and reliability

Every upstream request queries `api.coinbase.com/v2/` with a polite `User-Agent` header and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates newer MCP protocol versions down to the SDK version cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.coinbase-spot-exchange-rates-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a fairly clear role, but get_coinbase_spot_price, get_coinbase_exchange_rates, and compare_coinbase_spot_prices overlap conceptually—an agent could reasonably use exchange_rates when it wanted a spot price, or loop spot_price instead of using compare. Descriptions do help draw the lines (spread vs. multi-target rates vs. batch comparison), so confusion is limited to one or two pairs.

Naming Consistency5/5

All five tools use a consistent snake_case verb_noun pattern with a uniform coinbase namespace prefix (get_/convert_/list_/compare_). Predictable and easy to parse.

Tool Count5/5

Five tools is well-scoped for a narrow, read-only market-data server; each tool covers a distinct access pattern (single pair, multi-target rates, conversion, enumeration, batch comparison). No filler tools.

Completeness4/5

The read-only surface covers spot pricing, rates, conversion, currency enumeration, and comparison—the core workflows for a spot-rate server. Minor gaps exist: no historical/time-series rates or timestamped snapshots, and conversion only uses v2 rates without a batch variant.