cipher-x402-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cipher-x402-mcp check this Solana wallet: 7S3k4x9yZ1a2b3c4d5e6f7g8h9i0j"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cipher-x402-mcp
An MCP server that exposes 8 Solana / crypto / macro tools to any MCP-aware client (Claude Desktop, Cursor, Cline, Continue, etc.). Seven of the tools are gated behind the x402 payment protocol — agents auto-pay in USDC on Base, $0.005 – $0.25 per tool call. One tool is free (educational).
The server is a forward-only relay: when an agent calls a paid tool without an
X-PAYMENTheader, we surface the upstreamHTTP 402+ accept-list verbatim so the agent's own wallet signs the payment. We never custody caller funds.
Free + MIT-licensed. Fork it, ship your own, no strings.
Hosted Plans (MCPize)
Prefer not to self-host? A managed listing is live on MCPize with gateway proxying, rate limiting, API-key auth, and consolidated billing:
mcpize.com/mcp/cipher-x402-mcp
Plan | Price | Requests / mo | Rate limit | Includes |
Free | $0 | 100 | 10 / min | Free tools + |
Starter | $9 | 1,000 | 60 / min | 4 read-only tools (scan, HIBP, repo health, FRED) |
Pro (recommended) | $29 | 5,000 | 120 / min | All 8 tools, priority GitHub support |
Team | $99 | 25,000 | 600 / min | All 8 tools + custom upstream override, 24h response SLA |
Pay-as-you-go via MCPize's gateway. Self-host is still free (this repo, MIT).
Related MCP server: x402farm-mcp
Tools
Tool | Price (USDC, Base) | Upstream |
| $0.01 |
|
| $0.005 |
|
| $0.01 |
|
| $0.02 |
|
| $0.005 |
|
| $0.01 |
|
| free | local (v1.1.0 ruleset) |
| $0.25 |
|
Base network, USDC asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. The
current x402 payout recipient is exposed via the root / JSON manifest at
runtime — agents discover it automatically, you don't configure it by hand.
Install (Claude Desktop)
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"cipher-x402": {
"command": "npx",
"args": ["-y", "cipher-x402-mcp"]
}
}
}Restart Claude Desktop. The 8 tools show up in the tool tray.
Install (Cursor / Cline / Continue)
Any MCP-over-stdio client works the same way — the launcher is
npx -y cipher-x402-mcp.
Install (Smithery)
npx -y @smithery/cli install cipher-x402-mcp --client claudeRemote HTTP transport
Deployed at https://cipher-x402-mcp.vercel.app/mcp (streamable HTTP). Probe the manifest at the root URL.
How payment works
Agent calls (e.g.)
solana_wallet_scan({ "address": "..." })without a payment.Server returns a structured result starting with
HTTP 402 Payment Required — upstream returned an x402 accept-list.followed by the JSON accept-list (price, network, payTo, asset, etc.).Agent's wallet signs an EIP-3009 authorization for the advertised
maxAmountRequired.Agent re-invokes the same tool with
{ "address": "...", "_payment": "<base64-signed-header>" }.Server forwards the
X-PAYMENTheader upstream, upstream's facilitator verifies + settles on Base, and the content is returned to the agent.
The server itself is stateless — no API keys, no user session, no funds.
🏃 Run it yourself
Prerequisites
Node.js 20+ (22 recommended)
npm 10+
A Vercel account (free tier) if you want to deploy the HTTP transport
No API keys required for local stdio use — the server is a pass-through to public upstream endpoints
Clone + build
git clone https://github.com/cryptomotifs/cipher-x402-mcp
cd cipher-x402-mcp
npm install
npm run build
npm run smoke # tool-registry smoke test
npm start # stdio transport
npm run start:http # HTTP transport on :8080Configure your own upstream endpoints (optional)
All upstream base URLs are overridable via env — useful if you fork the upstream endpoints to your own Vercel project and want the MCP server to route to them:
CIPHER_SCAN_API_URL=https://your-scan.example.com \
CIPHER_PWNED_URL=https://your-pwned.example.com \
CIPHER_JITO_TIP_URL=https://your-jito.example.com \
CIPHER_REPO_HEALTH_URL=https://your-repo-health.example.com \
CIPHER_FRED_URL=https://your-fred.example.com \
CIPHER_DRIFT_URL=https://your-drift.example.com \
CIPHER_X402_URL=https://your-x402.example.com \
npx cipher-x402-mcpDeploy to Vercel
vercel link
vercel --prodThe /mcp route serves MCP JSON-RPC messages; / serves a lightweight
JSON manifest used by registries.
🛒 Buy
A few small paid sidecars if the MCP is useful and you want to go deeper — all direct-pay, no platform middleman:
cipher-checkout.vercel.app — three products, pay by card (Stripe) or crypto (Base USDC, Solana USDC, BTC):
x402 Paid Endpoint Starter Kit — $19 — Next.js 16 starter repo + 7-page tutorial PDF + one-command Vercel deploy. Working x402 endpoint that verifies
X-PAYMENTagainst the facilitator.Solana Solo-Dev Playbook (PDF) — $9 — 150-page playbook covering trading, risk, security, architecture, revenue, compliance, and infra for solo Solana + x402 devs in 2026.
Solana Bot Toolkit Walkthrough — $29 — Deep walkthrough of the open-source cipher-solana-bot-toolkit (5 modules: flash-loan, volume bot, arb/MEV, memecoin launcher, copy-trade).
Also available as a managed MCPize listing: mcpize.com/mcp/cipher-x402-mcp — Free / $9 / $29 / $99 per month.
🙏 Support
This is free + MIT. If it saved you time, tips in SOL are appreciated:
cR9KrbsLVJvir5rY9cfY3WeNoxMwUGofzpCoVyobryy
No pressure — star the repo or share it and that's equally valued.
💼 Hire me
Solo Canadian dev (Ontario, ET). Available 20 hr/wk for x402 / MCP / Solana integration work.
Fixed-price SKUs:
# | Service | Price | Duration |
1 | Wire x402 into your Next.js / Node app — merged PR + live test | $900 | 2 days |
2 | x402 or Solana bot architecture + security review — written report + 60-min call | $1000 | 1 day |
3 | AI-agent paid-API: 0 → live on Base with MCP wrapper | $1200 | 3 days |
Hourly: $150/hr open-scope, 5-hour minimum block. $125/hr if 40+ hours upfront.
Payout: USDC on Base 0x2a33D2414312e8776dA4011c2586c2d067267210, USDC on Solana cR9KrbsLVJvir5rY9cfY3WeNoxMwUGofzpCoVyobryy, or Wise-USD on request.
Engage: open an issue titled [Consulting]: <what you need> on this repo, or DM @cryptomotifs@techhub.social. I reply within the hour with scope + 50% deposit address.
Walkthrough of the settlement-path hardening I ship: dev.to/sai_93caeceb4f6a4d9969910/shipped-x402-paid-endpoint-starter-kit-nextjs-16-5g39
Also: prompt packs for Solana / x402 / MCP devs at cipher-checkout.vercel.app — 5 packs covering Anchor audit, x402 + MCP design, Solana bot engineering, crypto dev productivity, and a 20%-off bundle. Card or crypto.
Related
cipher-starter — free MIT Solana solo-dev playbook (github.com/cryptomotifs/cipher-starter).
cipher-solana-bot-toolkit — free MIT toolkit: flash-loan router, volume bot, arb/MEV predator, memecoin launcher, copy trader — 5 scrubbed modules (github.com/cryptomotifs/cipher-solana-bot-toolkit).
cipher-solana-wallet-audit — free GitHub Action (v1.1.0) that fails CI on plaintext Solana private keys (github.com/cryptomotifs/cipher-solana-wallet-audit).
Niche x402 endpoints (non-crypto agent surfaces)
cipher-x402-pubmed — $0.005/call, PubMed medical literature search (cipher-x402-pubmed.vercel.app).
cipher-x402-osm — $0.001/call, OpenStreetMap geocoding + reverse-geocoding (cipher-x402-osm.vercel.app).
cipher-x402-usda — $0.002/call, USDA FoodData Central nutrition lookup (cipher-x402-usda.vercel.app).
cipher-x402-fda — $0.005/call, openFDA drug adverse-event lookup (cipher-x402-fda.vercel.app).
License
MIT — see LICENSE.
Available Tools
15 toolsaudit_comp_live_listingsAInspect
Return a curated snapshot of currently-live audit competitions and bug-bounty programs across Code4rena, Cantina, Sherlock, and direct-protocol channels. Useful for solo wardens triaging which contests to enter. Snapshot updates with each cipher-x402-mcp release; treat the data as a hint, always cross-check the platform before submitting. Free, no payment required.
Inputs: no named parameters.
check_drift_exposureAInspect
Check a Solana wallet's exposure to Drift Protocol — open perp positions, collateral, unrealized PnL, liquidation risk distance. Priced at $0.01 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: wallet (required), _payment.
check_password_breachAInspect
Check whether a password hash prefix (SHA-1, first 5 chars) appears in the HIBP breach corpus. k-anonymity, no plaintext passwords sent. Priced at $0.005 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: sha1_prefix (required), _payment.
coinalyze_funding_ratesAInspect
Fetch perpetual-futures funding-rate intelligence for a given base asset (e.g. 'BTC', 'ETH', 'SOL') aggregated across 17 major perp venues — Binance, Bybit, OKX, BitMEX, Deribit, dYdX, Hyperliquid, Bitfinex, Huobi, Kraken, Phemex, WOO X, Aster, Lighter, Coinbase, Gate.io, Vertex. Returns per-exchange rate + USD open interest, OI-weighted aggregate funding, divergence in bps, and max/min funding exchange — pre-computed for perp-arbitrage bots. Priced at $0.01 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: symbol (required), _payment.
fred_macro_seriesAInspect
Fetch a Federal Reserve Economic Data (FRED) series by ID — e.g. 'DGS10' (10Y yield), 'WALCL' (Fed balance sheet), 'T10Y2Y' (yield curve). Returns cleaned latest observations. Priced at $0.005 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: series_id (required), _payment.
github_repo_healthAInspect
Score a GitHub repository's health — commit cadence, issue-close latency, contributor diversity, CI green rate, release frequency. Returns 0-100 health score with per-factor breakdown. Priced at $0.02 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: repo (required), owner (required), _payment.
jito_tip_calculatorAInspect
Compute an expected-value-maximizing Jito tip for a Solana arbitrage bundle. Inputs: pool_depth (USD), expected_profit (USD), slot_probability [0..1]. Returns tip lamports + EV breakdown. Priced at $0.01 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: slot_prob (required), pool_depth (required), expected_profit (required), _payment.
openfda_adverse_eventsAInspect
openFDA drug adverse-event lookup for the last 12 months. Returns top reactions, report count, and seriousness breakdown (serious vs non-serious). Searches brand, generic, and medicinal-product names in parallel. Priced at $0.005 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: drug (required), limit, _payment.
osm_geocodeAInspect
Forward geocoding via OpenStreetMap Nominatim. Address string → lat/lon + normalized address block (country_code, state, city, postcode, road) + match_quality label. Priced at $0.001 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: q (required), _payment.
osm_reverse_geocodeAInspect
Reverse geocoding via OpenStreetMap Nominatim. lat/lon → normalized address + place class/type. Priced at $0.001 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: lat (required), lon (required), _payment.
pubmed_medical_searchAInspect
Search PubMed (NCBI) for medical / life-sciences literature by keyword. Returns enriched article list: pmid, title, authors, journal, year, pub_types, plus a year-range + has-meta-analysis / has-review enrichment block. Ideal for medical RAG agents. Priced at $0.005 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: term (required), retmax, _payment.
solana_wallet_scanAInspect
Scan a Solana wallet for portfolio value, dust accounts, stale stake accounts, and low-liquidity position warnings. Returns findings + referral CTAs. Priced at $0.01 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: address (required), _payment.
solana_wallet_security_audit_rulesBInspect
Return metadata for the cipher-solana-wallet-audit v1.4.0 ruleset — the free MIT GitHub Action that catches Solana wallet anti-patterns in CI: plaintext private keys (base58 OR hex), seed phrases (in comments OR string literals), Anchor.toml wallet leaks, Token2022 transfer-hook abuse, Drift-hack-derived admin bundles, leaked .env files, hardcoded RPC URLs. Free, no payment required.
Inputs: no named parameters.
usda_food_nutritionAInspect
USDA FoodData Central nutrition lookup. Query any food (brand or generic) and receive the best-matching record with a clean per_100g macro block (calories_kcal, protein_g, carb_g, fat_g, fiber_g, sugar_g, potassium_mg), plus alternates. Priced at $0.002 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Inputs: query (required), limit, _payment.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool targets a completely different domain or service, from Solana wallet auditing to USDA nutrition lookup. There is no overlap in purpose, making it easy for an agent to distinguish which tool to use.
Naming patterns are inconsistent: some tools use 'verb_noun' (e.g., check_password_breach), others use 'domain_feature' (e.g., coinalyze_funding_rates), and some are descriptive phrases (e.g., get_premium_cipher_chapter). No unified pattern is followed.
15 tools is a moderate count, but the immense breadth across unrelated domains (crypto, medical, geolocation, nutrition, FDA, etc.) makes the set feel bloated and unfocused. A smaller number covering coherent areas would be more appropriate.
The server lacks a coherent domain. It offers solitary tools from many fields with no attempt at coverage completeness for any single domain. For example, it has two geocoding tools but no map or routing tools; it has multiple Solana tools but misses basic wallet operations. The set feels like a random collection rather than a planned suite.
Maintenance
Related MCP Connectors
13-tool x402 v2 MCP server for Solana audits, whale/wallet profiles, swaps & web extract (USDC).
37 paid x402 MCP tools for OSINT, prediction markets, web intel, and agent security on Base USDC.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceWallet-funded remote MCP for live Solana priority fees, transaction simulation and diagnosis, token-risk checks, PDF-to-Markdown, and audio normalization. Paid tools use x402 on Solana and Base with no API key.-
- AlicenseNot gradedqualityDmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing 50+ crypto, market intelligence, and AI inference endpoints with x402 pay-per-request micropayments on Base.2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server exposing 10 curated tools for AI agents, providing crypto trading signals, on-chain analysis, and web utilities via pay-per-call x402 endpoints on the Base network.MIT