chain-context-mcp
Provides live cryptocurrency market data including current prices, 24h stats, and top movers, accessible via MCP with a pay-per-call model.
README
chain-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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.