
X402 Mcp
io.github.CarbonCashmerePublished by GitHub account CarbonCashmerev0.2.2Updated Oct 24, 2026
177 crypto market intel endpoints with auto x402 USDC micropayments from your AI agent
Overview
Local MCP server giving an AI assistant 177 crypto market intelligence endpoints, each paid per call in USDC from a configured wallet.
- What you can do
- Fetch analyzed crypto news with sentiment and market impact, plus stablecoin supply and chain distribution data. Read Bitcoin on-chain metrics such as hash rate, mempool and miner flows. Query Bittensor miner leaderboards and subnet accuracy track records. Retrieve aggregated market intelligence snapshots and 170+ other research endpoints. Expose a configurable subset of the catalog, defaulting to the top 100 tools.
- When to use it
- Use it when an assistant needs on-demand crypto market research and you are willing to pay small per-call USDC fees from a funded wallet instead of using an API key or subscription.
- Requirements
- Runs locally via npx (Node.js). Needs a funded EVM wallet private key in EVM_PRIVATE_KEY for Base, Polygon or Arbitrum USDC payments; SVM_PRIVATE_KEY is optional for Solana. Optional settings include X402_TOOL_LIMIT, X402_API_BASE and X402_LOG_LEVEL. Network access to the provider's API is required; without keys it runs in discovery-only mode.
Installation
In SourceWeft
- Open X402 Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@carbon-cashmere/x402-mcp
MCP server that exposes Carbon & Cashmere's 177 crypto market intelligence endpoints to your AI agent — with automatic x402 USDC micropayments from your wallet.
What you get
When this MCP is installed, your AI agent can call tools like:
get_v1_news— analyzed crypto news with sentiment + market impactget_v1_stablecoins— total market cap, per-coin supply, chain distributionget_v1_onchain_btc— Bitcoin on-chain metrics (hash-rate, mempool, miner flows)get_v1_bittensor_leaderboard— top-100 Bittensor miners by emissionget_v1_mantis_realized_accuracy— MANTIS subnet (UID 253) realized accuracy track-recordget_v1_intel_snapshot— aggregated market intel snapshot- … plus subscriptions ($10/day, $50/week, $200/month), sponsor tiers ($500–$50000), and 170+ research endpoints priced $0.003 – $0.50 per call
177 paid endpoints total. Default exposes top 100 (curated by revenue + popularity). Set X402_TOOL_LIMIT=177 to expose all incl. per-coin variants.
Each tool invocation triggers a single USDC micropayment from your configured wallet. No subscription. No API key. Pay only for what you use.
Install
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. The top 100 Carbon & Cashmere tools (curated by revenue + popularity) appear in your tool palette.
Cursor / Cline / Continue
Same JSON config, paste into your MCP settings panel.
Wallet setup
Security: use a dedicated spending wallet, not your main wallet. Your
EVM_PRIVATE_KEYsits in plaintext in your Claude Desktop config. Any process on the host with read access to that file gets the key. Treat it as a hot wallet you would not mind losing: fund it with the small amount you plan to spend ($10–$50 in USDC), never with your main holdings.
- EVM_PRIVATE_KEY (required for Base / Polygon / Arbitrum / World / Avalanche payments)
- 0x-prefixed hex string (e.g.
0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80) - Fund with USDC on Base mainnet (cheapest, fastest, ~$0.0001 gas per call)
- One-time cost: ~$10 USDC covers 200+ tool calls
- Hard cap = wallet balance. A runaway agent loop can spend the funded amount but no more; signing is bounded by USDC available on the chain.
- 0x-prefixed hex string (e.g.
- SVM_PRIVATE_KEY (optional, for Solana payments)
- base58-encoded Solana keypair bytes
- Only needed if a tool routes Solana-only
Network whitelist. The MCP server only signs payments for networks that
appear in the API's 402-response accepts[] array (currently Base, Polygon,
Arbitrum, World Chain, Solana, Algorand, Stellar). Requests routed to any
other chain are rejected at the signing layer — your key cannot be tricked
into signing for an arbitrary network.
Keys never leave your machine. They live only in your Claude Desktop config and the MCP process running locally. Payment signing happens on your device; only the signed EIP-712 / SIWS payload travels to Carbon & Cashmere.
Discovery-only mode (no keys set)
If you start the MCP server without EVM_PRIVATE_KEY and without
SVM_PRIVATE_KEY, it runs in discovery-only mode: tool registration
works, free endpoints work, paid tool invocations surface a 402 error to the
agent. Useful for: evaluating the tool catalog, MCP marketplace introspection
(Glama, npm scrapers), or running in a CI/test environment without funding
a wallet.
How it works
Built on official Coinbase x402 v2 protocol. Settlement happens on Base USDC (or your chosen chain). Typical latency: ~2-3 seconds per call (one-shot payment + data).
Tool count
By default, the top 100 tools are exposed — curated server-side by a scoring that combines actual settlement volume, USD revenue, exploration weighting, and description quality (the catalog re-ranks without requiring an npm re-publish).
Override:
Why a default cap: too many MCP tools can degrade an agent's tool-selection accuracy. 100 is the empirical sweet spot for Claude 3.5 Sonnet and newer.
Configuration env
Security
- Keys never leave your machine. The MCP server runs locally as a child process of Claude Desktop.
- Pay-per-call cap. Each call costs $0.003–$0.50. Even a runaway loop is bounded by wallet balance.
- No off-chain credentials. No API keys. No OAuth. Pure on-chain settlement.
- Open source. Audit the code yourself: github.com/CarbonCashmere/x402-mcp
License
MIT — see LICENSE.
Links
- Carbon & Cashmere API: https://api.carbon-cashmere.de
- x402 protocol: https://github.com/coinbase/x402
- MCP protocol: https://modelcontextprotocol.io
Source: README.md at commit 40d1131
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts