mcpField
C
Chain Context Mcp

Chain Context Mcp

Remote
github.com/Hady-AchkarFinance0Updated 17w ago
Repository

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

  1. 01Get token prices and 24-hour changes
  2. 02Fetch 24-hour market snapshots
  3. 03View major-token movers
  4. 04Support x402 pay-per-call access

Use cases

  1. 01Check the current price of Bitcoin or Ethereum
  2. 02Review a token's 24-hour volume and range
  3. 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.

Endpointhttps://chain-context-mcp.hadi-ai.workers.dev
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

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
ParameterTypeRequiredDescription
idstringYes

Details

From the project 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

ToolArgsReturns
get_token_priceid (e.g. bitcoin, ethereum, or BTC)USD price + 24h % change
get_market_snapshotidprice, 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_DAY per client (KV-tracked), consumed only on a successful response.
  • x402: set X402_PAYTO to your USDC wallet; calls beyond the free tier return HTTP 402 with payment requirements, and a valid X-Payment header is served. (Plug in an x402 facilitator to verify settlement.)

License

MIT

Comments

Markdown supported

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.