About Chain Context Mcp
An MCP server that provides AI agents and Claude Desktop with live crypto prices, 24-hour market statistics, and token movers. It runs on Cloudflare Workers and supports x402 pay-per-call access.
Key features
- 01Get token prices and 24-hour changes
- 02Fetch 24-hour market snapshots
- 03View major-token movers
- 04Support x402 pay-per-call access
Use cases
- 01Check the current price of Bitcoin or Ethereum
- 02Review a token's 24-hour volume and range
- 03Find tokens with notable 24-hour moves
MCP support
The MCP server exposes tools for token prices, market snapshots, and trending movers. Claude Desktop can connect to it over Streamable HTTP.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://chain-context-mcp.hadi-ai.workers.devclaude mcp add --transport http chain-context https://chain-context-mcp.hadi-ai.workers.dev{"mcpServers":{"chain-context":{"type":"http","url":"https://chain-context-mcp.hadi-ai.workers.dev"}}}Open in Cursor{"servers":{"chain-context":{"type":"http","url":"https://chain-context-mcp.hadi-ai.workers.dev"}}}Open in VS Code{"mcpServers":{"chain-context":{"type":"http","url":"https://chain-context-mcp.hadi-ai.workers.dev"}}}{"mcpServers":{"chain-context":{"serverUrl":"https://chain-context-mcp.hadi-ai.workers.dev"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
3| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes |
Details
From the project READMEchain-context-mcp
A lightweight MCP server that gives AI agents and Claude Desktop live crypto market data — current price, 24h stats, and top movers — over the Model Context Protocol. Pay-per-call ready (x402), with a free tier for discovery.
Live demo server: https://chain-context-mcp.hadi-ai.workers.dev
Why
Most MCP data servers are read-only wrappers that 403 from cloud IPs or need API keys. This one runs on Cloudflare Workers, uses a keyless public source, edge-caches responses, and is built to be paid per call by autonomous agents via x402 — machines paying machines, no signup.
Tools
| Tool | Args | Returns |
|---|---|---|
get_token_price | id (e.g. bitcoin, ethereum, or BTC) | USD price + 24h % change |
get_market_snapshot | id | price, 24h volume, high, low, open, change |
get_trending | — | top major-token movers by 24h % change |
Connect from Claude Desktop
Add a Streamable-HTTP MCP server pointing at the URL above, then ask:
"What's the price of solana right now?"
Quick test
curl -s -X POST https://chain-context-mcp.hadi-ai.workers.dev \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_token_price","arguments":{"id":"ethereum"}}}'
Run / deploy your own
npm install
npm test # pure-logic tests (gating)
npm start # local Node server on :8788
wrangler kv namespace create MCP_USAGE # paste id into wrangler.toml
wrangler deploy # deploy to Cloudflare Workers
Monetization
- Free tier:
FREE_CALLS_PER_DAYper client (KV-tracked), consumed only on a successful response. - x402: set
X402_PAYTOto your USDC wallet; calls beyond the free tier return HTTP 402 with payment requirements, and a validX-Paymentheader is served. (Plug in an x402 facilitator to verify settlement.)
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.