CoinStats MCP Server
OfficialThe CoinStats MCP Server provides access to cryptocurrency market data, portfolio tracking, and news. With this server, you can:
Cryptocurrency Data: Access comprehensive information about all cryptocurrencies including price, market cap, volume, and trading metrics
Charts & Historical Data: Retrieve price charts, historical averages, and exchange-specific price data
Blockchain & Exchange Integration: View supported blockchains and exchanges, check wallet balances, and track transactions
Portfolio Management: Track performance, add transactions, manage exchange connections, and share portfolios using tokens
Market Intelligence: Access global market capitalization data, cryptocurrency news from various sources, and supported fiat currencies
Wallet Management: Check wallet balances, syncing status, and transaction data across supported networks
Provides a containerized deployment option for running the CoinStats MCP server in a Docker environment, allowing for isolated and portable execution.
Enables installation and execution of the CoinStats MCP server via NPX, making it easy to run the server without manual installation steps.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CoinStats MCP Serverwhat's the current price of Bitcoin?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CoinStats MCP Server
Hosted Model Context Protocol server for the CoinStats API. Lets AI agents (Claude, Cursor, Codex, ChatGPT — anything that speaks MCP) read and act on the same crypto data the CoinStats apps use, over a single OAuth-protected HTTPS URL.
There's no API key to copy and no env var to manage: each user authorises the agent against their own CoinStats account in the browser, and the agent gets a per-user token from then on.
Server URL
https://mcp.coinstats.app/mcpRelated MCP server: mcp-coincap-jj
Installation
Claude.ai / Claude Desktop
Settings → Connectors → Add custom connector. Paste the server URL and click Add:
https://mcp.coinstats.app/mcpA browser window opens at coinstats.app/openapi/consent. Sign in (or recognise your existing session), review the requested access, click Approve.
Cursor
Or add to ~/.cursor/mcp.json manually:
{
"mcpServers": {
"coinstats": {
"url": "https://mcp.coinstats.app/mcp"
}
}
}Restart Cursor; on first call it opens a browser window for the OAuth flow.
Claude Code
claude mcp add coinstats --transport http https://mcp.coinstats.app/mcpClaude Code opens a browser to authorise. Verify with:
claude mcp listCodex
codex mcp add only registers the URL; it does not open a browser. Run codex mcp login separately:
codex mcp add coinstats --url https://mcp.coinstats.app/mcp
codex mcp login coinstatsAfter the login step codex mcp list should show Auth: OAuth for coinstats.
Other MCP clients
Any client that speaks the Streamable HTTP transport with OAuth 2.1 authorization will work. Point it at https://mcp.coinstats.app/mcp — Dynamic Client Registration (RFC 7591) is supported, so no pre-shared client_id is needed.
What you can do
After authorising, your agent can:
Look up real-time prices, charts and market data for 100,000+ coins
Read your CoinStats portfolio coins, P/L and performance over time
Query wallet balances and transactions across 120+ blockchains
Compare ticker pricing across 200+ exchanges
Pull crypto news (latest, trending, filtered by source or topic)
Full tool catalog: https://coinstats.app/api-docs/mcp/tools.
Authentication
Discovery + OAuth flow follows the standard MCP / RFC pattern:
Endpoint | Spec | Purpose |
| Points at the authorization server ( | |
| AS metadata (also mirrored on the MCP host so older clients can find it without the indirection) | |
| Dynamic Client Registration | |
| OAuth 2.1 §4.1 | User approves access |
| OAuth 2.1 §4.1 | PKCE code exchange |
| Per-client disconnect |
Token transport: Authorization: Bearer <token>. Single coinstats scope today; granular scopes are on the roadmap.
Self-host / stdio fallback (developer mode)
If you want to run the MCP server yourself (no per-user OAuth, just a developer API key), the legacy stdio entry point is published on npm:
npx @coinstats/coinstats-mcpwith COINSTATS_API_KEY set in the env. Wire into a client like this:
{
"mcpServers": {
"coinstats": {
"command": "npx",
"args": ["-y", "@coinstats/coinstats-mcp"],
"env": { "COINSTATS_API_KEY": "<YOUR_API_KEY>" }
}
}
}Or via Docker:
{
"mcpServers": {
"coinstats": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "COINSTATS_API_KEY", "coinstats/coinstats-mcp"],
"env": { "COINSTATS_API_KEY": "<YOUR_API_KEY>" }
}
}
}This path is the right choice for headless / unattended integrations where there's no human to click "Approve". Get a key from the CoinStats API Dashboard.
Architecture
The hosted server is a stateless Cloudflare Worker (~225 KiB / ~41 KiB gzipped) that:
Exposes the RFC 9728 + RFC 8414 discovery endpoints.
Gates
POST /mcpon aAuthorization: Bearer …token.Dispatches MCP JSON-RPC (
initialize/tools/list/tools/call/ping) without session state.Forwards each tool call to
https://openapiv1.coinstats.appcarrying the same bearer.
Source: src/worker.ts. Config: wrangler.jsonc.
Local development
The repo ships two entry points:
src/worker.ts— Cloudflare Worker. Run withwrangler dev(port 8787 by default).src/index.ts— stdio server. Run withnode dist/index.jsafter building, or via the published npm package.
# Build the stdio CLI
npm run build
# Run the Worker locally (requires `wrangler login` first)
npm run dev
# Deploy the Worker — needs CLOUDFLARE_ACCOUNT_ID exported in the env
# (the account ID isn't committed to wrangler.jsonc; pull it from the
# Cloudflare dashboard sidebar or the CI deploy job's secrets).
export CLOUDFLARE_ACCOUNT_ID=<your-cf-account-id>
npm run deploy
# Tail production logs
npm run tailFor local Worker development you can override env vars:
wrangler dev --var OAUTH_ISSUER:http://localhost:1337 \
--var COINSTATS_API_BASE_URL:http://localhost:9999Related
CoinStats API docs — full REST surface, MCP setup guide, tool catalog
API dashboard — for stdio-mode users to manage their developer API key
License
MIT — see LICENSE.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoinStatsHQ/coinstats-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server