The CoinStats MCP server lets AI agents (Claude, Cursor, Codex, ChatGPT — anything that speaks the Model Context Protocol) read and act on the same 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.Documentation Index
Fetch the complete documentation index at: https://coinstats.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
This guide is for users hooking an agent into their own CoinStats account. If you’re a developer building a server-to-server integration that uses an
X-API-KEY header, see Authentication for the API-key path instead.Server URL
Installation
Claude.ai / Claude Desktop
Settings → Connectors → Add custom connector. Paste the server URL and click Add:coinstats.app/openapi/consent. Sign in (or recognise your existing session), review the requested access, click Approve. The connector turns green and CoinStats tools become available in the same chat.
Cursor
Add to~/.cursor/mcp.json:
Claude Code
Codex
codex mcp add registers the server URL but does not open a browser — you have to run codex mcp login separately to authorise:
coinstats.app/openapi/consent in your browser; approve and Codex finishes the token exchange. Verify with:
coinstats should show Auth: OAuth once authenticated. If it shows Not logged in, re-run codex mcp login coinstats.
Other MCP clients
Any client that speaks the Streamable HTTP transport with OAuth 2.1 authorization will work. Point it athttps://mcp.coinstats.app/mcp and let the OAuth machinery do the rest — 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)
Quick setup
- Paste
https://mcp.coinstats.app/mcpinto your client’s connector settings - Approve the consent screen in your browser
- Ask your agent something — “what’s BTC at?”, “summarise today’s crypto news”, “how is my portfolio doing?”
Authentication details
For clients that want to walk through the flow manually:- Protocol: OAuth 2.1 with PKCE (S256)
- Authorization server:
https://api.coin-stats.com - Discovery:
GET https://mcp.coinstats.app/.well-known/oauth-protected-resource(RFC 9728) - Dynamic Client Registration: supported, no pre-shared
client_idneeded - Scope:
coinstats— read access to your CoinStats data - Token transport:
Authorization: Bearer <token> - Revocation:
POST https://api.coin-stats.com/v1/oauth/revoke
Stdio fallback (developer mode)
If you’d rather run the MCP server locally and authenticate with a developer API key (no per-user OAuth), you can still use the legacy stdio entry point:COINSTATS_API_KEY in the env, or wire it through your client’s MCP server config. This is the right path for headless / unattended integrations where there’s no human to click “Approve” — get a key from the CoinStats API dashboard.
Related
- MCP tools — full catalog of crypto data, portfolio, wallet, exchange and news tools
- Authentication —
X-API-KEYpath for non-MCP / server-to-server integrations - Rate limits and Credit multipliers — usage rules apply identically to MCP and REST
- API reference — the REST surface every MCP tool wraps