
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, OAuth-protected Model Context Protocol server that lets AI agents read CoinStats crypto market data, portfolios, wallet balances and exchange positions.
Hosted CoinStats MCP Server is cataloged as an MCP server attributed to coinstatshq. A hosted, OAuth-protected Model Context Protocol server that lets AI agents read CoinStats crypto market data, portfolios, wallet balances and exchange positions. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Hosted CoinStats MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Users authorize the agent against their own CoinStats account through a browser OAuth consent flow, and the agent then receives a per-user bearer token.
Yes, a legacy stdio entry point is published on npm and runs with a developer API key instead of per-user OAuth.
README.md · 97e734c2494c · 采集于 2026-11-13 08:48:21 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
https://mcp.coinstats.app/mcp
Settings → Connectors → Add custom connector. Paste the server URL and click Add:
https://mcp.coinstats.app/mcp
A browser window opens at coinstats.app/openapi/consent. Sign in (or recognise your existing session), review the requested access, click Approve.
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 mcp add coinstats --transport http https://mcp.coinstats.app/mcp
Claude Code opens a browser to authorise. Verify with:
claude mcp list
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 coinstats
After the login step codex mcp list should show Auth: OAuth for coinstats.
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.
After authorising, your agent can:
get-perpetual-trades, including prices, realized P/L and fees where available. Supports portfolioId and limit/skip pagination; coverage depends on the connector and last sync.Full tool catalog: https://coinstats.app/api-docs/mcp/tools.
Discovery + OAuth flow follows the standard MCP / RFC pattern:
| Endpoint | Spec | Purpose |
|---|---|---|
GET /.well-known/oauth-protected-resource | RFC 9728 | Points at the authorization server (https://api.coin-stats.com) |
GET /.well-known/oauth-authorization-server | RFC 8414 | AS metadata (also mirrored on the MCP host so older clients can find it without the indirection) |
POST /v1/oauth/register (on AS) | RFC 7591 | Dynamic Client Registration |
GET /v1/oauth/authorize → consent UI | OAuth 2.1 §4.1 | User approves access |
POST /v1/oauth/token (on AS) | OAuth 2.1 §4.1 | PKCE code exchange |
POST /v1/oauth/revoke (on AS) | RFC 7009 | Per-client disconnect |
Token transport: Authorization: Bearer <token>. Single coinstats scope today; granular scopes are on the roadmap.
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-mcp
with 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.
The hosted server is a stateless Cloudflare Worker (~225 KiB / ~41 KiB gzipped) that:
POST /mcp on a Authorization: Bearer … token.initialize / tools/list / tools/call / ping) without session state.https://openapiv1.coinstats.app carrying the same bearer.Source: src/worker.ts. Config: wrangler.jsonc.
The repo ships two entry points:
src/worker.ts — Cloudflare Worker. Run with wrangler dev (port 8787 by default).src/index.ts — stdio server. Run with node dist/index.js after 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 manually — needs CLOUDFLARE_ACCOUNT_ID exported in the
# env (the account ID isn't committed to wrangler.jsonc). Normally you don't
# need this: merging to main deploys automatically (see "Deployment" below).
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
GitHub Actions (.github/workflows/ci.yml) builds, tests and dry-run bundles the Worker on every pull request. Each push to main runs the same checks, then deploys to mcp.coinstats.app and probes /healthz. The deploy job uses the production environment, which only protected branches can use, and reads two secrets from it: CLOUDFLARE_API_TOKEN (Workers deploy permission) and CLOUDFLARE_ACCOUNT_ID. Pull requests from forks run the checks without access to either secret. To redeploy without a new commit, run the workflow manually on main; the deploy job only ships the current tip of main, so re-running an old run fails instead of rolling back.
A failed post-deploy health check does not roll back automatically. To restore the previous version, run npx wrangler rollback (or pick a version under Workers & Pages → coinstats-mcp → Deployments in the Cloudflare dashboard), then fix forward on main.
The OpenAI plugin submission portal verifies domain ownership by fetching https://mcp.coinstats.app/.well-known/openai-apps-challenge and expecting the token it issued as plain text. The Worker serves the OPENAI_APPS_CHALLENGE env var at that path, and returns 404 when the variable is unset. Set it per deployment, outside the committed config:
wrangler secret put OPENAI_APPS_CHALLENGE
MIT — see LICENSE.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Hosted CoinStats MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/coinstats)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.