Skip to main content
Glama
7BlockLabs

Coin Metrics MCP Server

by 7BlockLabs
README.md
# Coin Metrics MCP Server

A production-shaped [Model Context Protocol](https://modelcontextprotocol.io) server for **Coin Metrics**,
built by **[7Block Labs](https://7blocklabs.com)**. It makes Coin Metrics's API usable directly by AI agents
(Claude, ChatGPT, Cursor) — metered to the caller's own key — instead of leaving it to community wrappers.

Built for the Coin Metrics team as a working example of the official MCP server we'd ship & launch for you
(OAuth + per-plan metering + listings in the Claude and ChatGPT directories).

```bash
python -m venv .venv && source .venv/bin/activate && pip install -e .
export COINMETRICS_API_KEY=...        # your Coin Metrics API key
python -m coin_metrics_mcp.server                       # stdio
TRANSPORT=http PORT=8000 python -m coin_metrics_mcp.server   # remote
```
Claude Code: `claude mcp add --transport http coin-metrics http://localhost:8000/mcp`

API: `https://community-api.coinmetrics.io/v4` · docs: https://docs.coinmetrics.io/api/v4 · auth: none on the community tier (keyless); paid tier adds api_key

## Tools
| Tool | What it does |
|---|---|
| `get_asset_metrics` | Time series of network/market metrics per asset |
| `get_market_candles` | OHLCV candles for exchange markets |
| `get_market_quotes` | Top-of-book bid/ask quotes over time |
| `get_index_levels` | Coin Metrics index (CMBI) levels over time |
| `list_assets` | Reference metadata for supported assets |
| `list_markets` | Reference metadata for supported markets |

Want this hardened (OAuth, metering) and listed in Claude + ChatGPT? **[7Block Labs](https://7blocklabs.com)**
builds and launches MCP servers for data & API companies. MIT licensed.