CoinStats

by coinstatshq

Not rated
GitHub

About

Access cryptocurrency market data, portfolio tracking, and news from the CoinStats API.

Details

Author
coinstatshq
Categories
Cloud Service, Other, Finance
Tags
#crypto, #news

Setup

Install CoinStats in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/coinstatshq/coinstats-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

HostedModel Context Protocolserver 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.

Settings →ConnectorsAdd custom connector. Paste the server URL and clickAdd:

{ "mcpServers": { "coinstats": { "url": "https://mcp.coinstats.app/mcp" } } }

Restart Cursor; on first call it opens a browser window for the OAuth flow.

claude mcp add coinstats --transport http https://mcp.coinstats.app/mcp

Claude Code opens a browser to authorise. Verify with:

codex mcp addonly registers the URL; it doesnotopen a browser. Runcodex mcp loginseparately:

codex mcp add coinstats --url https://mcp.coinstats.app/mcp codex mcp login coinstats

After the login stepcodex mcp listshould showAuth: OAuthforcoinstats.

Any client that speaks theStreamable HTTPtransport with OAuth 2.1 authorization will work. Point it athttps://mcp.coinstats.app/mcp— Dynamic Client Registration (RFC 7591) is supported, so no pre-sharedclient_idis needed.

- 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.

Discovery + OAuth flow follows the standard MCP / RFC pattern:

Token transport:Authorization: Bearer <token>. Singlecoinstatsscope 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:

withCOINSTATS_API_KEYset 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>" } } } }
{ "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 theCoinStats API Dashboard.

The hosted server is a stateless Cloudflare Worker (~225 KiB / ~41 KiB gzipped) that:
- Exposes the RFC 9728 + RFC 8414 discovery endpoints.
- GatesPOST /mcpon aAuthorization: Bearer …token.
- Dispatches MCP JSON-RPC (initialize/tools/list/tools/call/ping) without session state.
- Forwards each tool call tohttps://openapiv1.coinstats.appcarrying the same bearer.

Source:src/worker.ts. Config:wrangler.jsonc.

- 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 tail

For local Worker development you can override env vars:

wrangler dev --var OAUTH_ISSUER:http://localhost:1337 \ --var COINSTATS_API_BASE_URL:http://localhost:9999

- CoinStats API docs— full REST surface, MCP setup guide, tool catalog
-
API dashboard— for stdio-mode users to manage their developer API key

Fetches the latest cryptocurrency news and converts article content from HTML to Markdown.

20 financial tools for AI agents: real-time FX conversion, stock quotes, crypto prices, open banking, Stripe payments, calculators, news headlines and web reading. Free and standard tiers.

Access up-to-date prices and news for stocks and cryptocurrencies.

Realtime and Historical Exchange Rate Data, FX pairs, bid/ask, OHLC and Crypto prices

Control a Lightning wallet using Nostr Wallet Connect (NWC).

Streams real-time Binance Alpha token prices and liquidity data for AI agents and workflows.

Access Alpha Vantage financial data APIs to get real-time and historical stock data, forex rates, and cryptocurrency information.

Provides risk scoring and asset information for blockchain addresses, domains, and dApps using the BICScan API.

Provides seamless access to the Binance exchange API. Requires Binance API credentials to be configured.

Interact with the Binance API to view portfolios, convert tokens, and execute trades with minimal market impact.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.