
X402engine Mcp
Gives Claude direct access to 50+ pay-per-call APIs through the x402 micropayment protocol. You get LLM inference across 16+ models (GPT-4o, Claude, Gemini, DeepSeek), image generation, sandboxed code execution in Python/JS/Bash, audio transcription and TTS, crypto market data from CoinGecko, on-chain wallet analysis, web scraping, and IPFS pinning. Each call costs between $0.001 and $0.12, paid in USDC on Base or Solana. Useful when you want Claude to orchestrate multiple AI services or access live crypto data without managing separate API keys. Payment happens automatically via HTTP 402 responses, though you can use a dev bypass token for testing.
- tools
- 24
- auth
- Secret needed
- transport
- STDIO
- env vars
- 3
- last updated
- Feb 11, 2026
Tools
24 toolsPublic tool metadata for what this MCP can expose to an agent.
discover_servicesList all available x402 Engine APIs with pricing, endpoints, and payment networks. Call this first to understand what's available.
List all available x402 Engine APIs with pricing, endpoints, and payment networks. Call this first to understand what's available.
No parameter schema in public metadata yet.
generate_imageGenerate an image from a text prompt. Three quality tiers: 'fast' ($0.015, FLUX Schnell), 'quality' ($0.05, FLUX.2 Pro), 'text' ($0.12, Ideogram v3 for images with text). Returns image URL.5 params
Generate an image from a text prompt. Three quality tiers: 'fast' ($0.015, FLUX Schnell), 'quality' ($0.05, FLUX.2 Pro), 'text' ($0.12, Ideogram v3 for images with text). Returns image URL.
heightnumberpromptstringseednumbertierstringfast · quality · textdefault: fastwidthnumberexecute_codeExecute code in a secure sandboxed environment (E2B). Supports Python, JavaScript, Bash, and R. $0.005 per execution.3 params
Execute code in a secure sandboxed environment (E2B). Supports Python, JavaScript, Bash, and R. $0.005 per execution.
codestringlanguagestringpython · javascript · bash · rdefault: pythontimeoutnumbertranscribe_audioTranscribe audio to text using Deepgram Nova-3. Accepts a public URL to an audio file. $0.10 per transcription.4 params
Transcribe audio to text using Deepgram Nova-3. Accepts a public URL to an audio file. $0.10 per transcription.
audio_urlstringdiarizebooleanlanguagestringpunctuatebooleanget_crypto_priceGet current prices for cryptocurrencies. $0.001 per request.4 params
Get current prices for cryptocurrencies. $0.001 per request.
currenciesstringidsstringinclude_24hbooleaninclude_mcapbooleanget_crypto_marketsGet top cryptocurrencies by market cap with detailed market data. $0.002 per request.5 params
Get top cryptocurrencies by market cap with detailed market data. $0.002 per request.
categorystringcurrencystringlimitnumberorderstringpagenumberget_crypto_historyGet historical price data for a cryptocurrency. $0.003 per request.3 params
Get historical price data for a cryptocurrency. $0.003 per request.
currencystringdaysvalueidstringget_trending_cryptoGet trending cryptocurrencies. $0.001 per request.
Get trending cryptocurrencies. $0.001 per request.
No parameter schema in public metadata yet.
search_cryptoSearch for a cryptocurrency by name or symbol. $0.001 per request.1 params
Search for a cryptocurrency by name or symbol. $0.001 per request.
qstringget_wallet_balancesGet token balances for a wallet address on any supported chain. $0.005 per request.2 params
Get token balances for a wallet address on any supported chain. $0.005 per request.
addressstringchainstringget_wallet_transactionsGet transaction history for a wallet address. $0.005 per request.2 params
Get transaction history for a wallet address. $0.005 per request.
addressstringchainstringget_wallet_pnlGet profit and loss analysis for a wallet's token trades. $0.01 per request.4 params
Get profit and loss analysis for a wallet's token trades. $0.01 per request.
addressstringchainstringmin_liquiditynumbermin_volume_24hnumberget_token_pricesGet DEX-derived prices for tokens by contract address. $0.005 per request.1 params
Get DEX-derived prices for tokens by contract address. $0.005 per request.
tokensarrayget_token_metadataGet metadata for a token (name, symbol, decimals, etc.). $0.002 per request.4 params
Get metadata for a token (name, symbol, decimals, etc.). $0.002 per request.
addressstringchainstringidstringslugstringpin_to_ipfsPin JSON data to IPFS via Pinata. Returns the IPFS CID. $0.01 per pin.2 params
Pin JSON data to IPFS via Pinata. Returns the IPFS CID. $0.01 per pin.
jsonobjectnamestringget_from_ipfsRetrieve content from IPFS by CID. $0.001 per request.1 params
Retrieve content from IPFS by CID. $0.001 per request.
cidstringsearch_flightsSearch flight offers by route, dates, and passengers. Returns pricing, itineraries, and airlines. $0.01 per request.8 params
Search flight offers by route, dates, and passengers. Returns pricing, itineraries, and airlines. $0.01 per request.
adultsnumbercurrencyCodestringdepartureDatestringdestinationstringmaxnumbernonStopbooleanoriginstringreturnDatestringsearch_locationsSearch for airports and cities by keyword. Returns IATA codes, names, and coordinates. $0.005 per request.2 params
Search for airports and cities by keyword. Returns IATA codes, names, and coordinates. $0.005 per request.
keywordstringsubTypestringsearch_hotelsSearch hotel offers by city and dates. Returns room details, pricing, and availability. $0.01 per request.7 params
Search hotel offers by city and dates. Returns room details, pricing, and availability. $0.01 per request.
adultsnumbercheckInDatestringcheckOutDatestringcityCodestringcurrencystringpriceRangestringroomQuantitynumbersearch_cheapest_datesFind the cheapest travel dates for a route. Returns date/price pairs sorted by price. $0.01 per request.4 params
Find the cheapest travel dates for a route. Returns date/price pairs sorted by price. $0.01 per request.
departureDatestringdestinationstringoneWaybooleanoriginstringresolve_ensResolve an ENS name (e.g. vitalik.eth) to an Ethereum address. $0.001 per request.1 params
Resolve an ENS name (e.g. vitalik.eth) to an Ethereum address. $0.001 per request.
namestringreverse_ensLook up the ENS name for an Ethereum address. Returns null if none set. $0.001 per request.1 params
Look up the ENS name for an Ethereum address. Returns null if none set. $0.001 per request.
addressstringllm_chatSend a chat completion request to any supported LLM. Models: gpt-4o ($0.04), gpt-4o-mini ($0.003), gpt-4.1 ($0.03), gpt-4.1-mini ($0.006), gpt-5 ($0.035), gpt-5-mini ($0.007), o3 ($0.03), o4-mini ($0.02), claude-opus ($0.09), claude-sonnet ($0.06), claude-haiku ($0.02), gemini...3 params
Send a chat completion request to any supported LLM. Models: gpt-4o ($0.04), gpt-4o-mini ($0.003), gpt-4.1 ($0.03), gpt-4.1-mini ($0.006), gpt-5 ($0.035), gpt-5-mini ($0.007), o3 ($0.03), o4-mini ($0.02), claude-opus ($0.09), claude-sonnet ($0.06), claude-haiku ($0.02), gemini...
max_tokensnumbermessagesarraymodelstringgpt-4o · gpt-4o-mini · gpt-4.1 · gpt-4.1-mini · gpt-5 · gpt-5-minicreate_embeddingsGenerate text embeddings using OpenAI text-embedding-3-small. For semantic search, clustering, and RAG. $0.001 per request.2 params
Generate text embeddings using OpenAI text-embedding-3-small. For semantic search, clustering, and RAG. $0.001 per request.
textstringtextsarraySponsors
Configuration
X402_BASE_URLGateway URL (default: https://x402engine.app)
X402_DEV_BYPASSsecretDev bypass secret to skip payments during testing
X402_PAYMENT_HEADERsecretPre-signed x402 payment header for automatic payment
Readme
x402engine-mcp
Agent-friendly MCP server for x402engine. It lets agents discover and call pay-per-request APIs through HTTP 402, with automatic USDC payment on Base or Solana.
The live gateway covers LLMs, image and video generation, web search and scraping, code execution, crypto and wallet data, transaction simulation, audio, travel, and IPFS. This MCP exposes a curated tool set and live discovery for the full catalog.
Quick Start
Use a dedicated, low-balance payer wallet. The MCP signs x402 payments locally and never sends the private key to x402engine.
Base
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": ["-y", "x402engine-mcp@1.1.1"],
"env": {
"X402_EVM_PRIVATE_KEY": "0xYOUR_DEDICATED_PAYER_KEY",
"X402_PAYMENT_NETWORK": "base",
"X402_MAX_PAYMENT_USD": "1.00"
}
}
}
}
Fund the wallet with USDC on Base. The x402 facilitator pays transaction gas; the wallet signs an EIP-3009 USDC authorization.
Solana
Details
- Repository
- github.com/agentc22/x402engine-mcp
- Categories
- AI & LLM Tools, Finance & Commerce
- Package
x402engine-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active