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.
Public 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 paramsGenerate 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.
seednumbertierstringfast · quality · textdefault: fastwidthnumberheightnumberpromptstringexecute_codeExecute code in a secure sandboxed environment (E2B). Supports Python, JavaScript, Bash, and R. $0.005 per execution.3 paramsExecute code in a secure sandboxed environment (E2B). Supports Python, JavaScript, Bash, and R. $0.005 per execution.
codestringtimeoutnumberlanguagestringpython · javascript · bash · rdefault: pythontranscribe_audioTranscribe audio to text using Deepgram Nova-3. Accepts a public URL to an audio file. $0.10 per transcription.4 paramsTranscribe audio to text using Deepgram Nova-3. Accepts a public URL to an audio file. $0.10 per transcription.
diarizebooleanlanguagestringaudio_urlstringpunctuatebooleanget_crypto_priceGet current prices for cryptocurrencies. $0.001 per request.4 paramsGet current prices for cryptocurrencies. $0.001 per request.
idsstringcurrenciesstringinclude_24hbooleaninclude_mcapbooleanget_crypto_marketsGet top cryptocurrencies by market cap with detailed market data. $0.002 per request.5 paramsGet top cryptocurrencies by market cap with detailed market data. $0.002 per request.
pagenumberlimitnumberorderstringcategorystringcurrencystringget_crypto_historyGet historical price data for a cryptocurrency. $0.003 per request.3 paramsGet historical price data for a cryptocurrency. $0.003 per request.
idstringdaysvaluecurrencystringget_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 paramsSearch 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 paramsGet token balances for a wallet address on any supported chain. $0.005 per request.
chainstringaddressstringget_wallet_transactionsGet transaction history for a wallet address. $0.005 per request.2 paramsGet transaction history for a wallet address. $0.005 per request.
chainstringaddressstringget_wallet_pnlGet profit and loss analysis for a wallet's token trades. $0.01 per request.4 paramsGet profit and loss analysis for a wallet's token trades. $0.01 per request.
chainstringaddressstringmin_liquiditynumbermin_volume_24hnumberget_token_pricesGet DEX-derived prices for tokens by contract address. $0.005 per request.1 paramsGet 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 paramsGet metadata for a token (name, symbol, decimals, etc.). $0.002 per request.
idstringslugstringchainstringaddressstringpin_to_ipfsPin JSON data to IPFS via Pinata. Returns the IPFS CID. $0.01 per pin.2 paramsPin 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 paramsRetrieve 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 paramsSearch flight offers by route, dates, and passengers. Returns pricing, itineraries, and airlines. $0.01 per request.
maxnumberadultsnumberoriginstringnonStopbooleanreturnDatestringdestinationstringcurrencyCodestringdepartureDatestringsearch_locationsSearch for airports and cities by keyword. Returns IATA codes, names, and coordinates. $0.005 per request.2 paramsSearch 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 paramsSearch hotel offers by city and dates. Returns room details, pricing, and availability. $0.01 per request.
adultsnumbercityCodestringcurrencystringpriceRangestringcheckInDatestringcheckOutDatestringroomQuantitynumbersearch_cheapest_datesFind the cheapest travel dates for a route. Returns date/price pairs sorted by price. $0.01 per request.4 paramsFind the cheapest travel dates for a route. Returns date/price pairs sorted by price. $0.01 per request.
oneWaybooleanoriginstringdestinationstringdepartureDatestringresolve_ensResolve an ENS name (e.g. vitalik.eth) to an Ethereum address. $0.001 per request.1 paramsResolve 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 paramsLook 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 paramsSend 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...
modelstringgpt-4o · gpt-4o-mini · gpt-4.1 · gpt-4.1-mini · gpt-5 · gpt-5-minimessagesarraymax_tokensnumbercreate_embeddingsGenerate text embeddings using OpenAI text-embedding-3-small. For semantic search, clustering, and RAG. $0.001 per request.2 paramsGenerate text embeddings using OpenAI text-embedding-3-small. For semantic search, clustering, and RAG. $0.001 per request.
textstringtextsarrayMCP server for x402 Engine — giving AI agents access to 38 pay-per-call APIs via HTTP 402 micropayments.
Payments are made with USDC on Base, USDC on Solana, or USDm on MegaETH. Prices range from $0.001 to $0.12 per call.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": ["-y", "x402engine-mcp"],
"env": {
"X402_DEV_BYPASS": "your-dev-bypass-secret"
}
}
}
}
claude mcp add x402engine -- npx -y x402engine-mcp
| Tool | Price | Description |
|---|---|---|
llm_chat | $0.002-$0.09 | Chat completion with any supported model |
Supported models: GPT-4o ($0.04), GPT-4o Mini ($0.003), OpenAI o1 ($0.03), Claude Opus 4.6 ($0.09), Claude Sonnet 4.5 ($0.06), Claude Haiku 4.5 ($0.02), Gemini 2.5 Pro ($0.035), Gemini 2.5 Flash ($0.009), Grok 4 ($0.06), DeepSeek V3 ($0.005), DeepSeek R1 ($0.01), Llama 3.3 70B ($0.002), Mistral Large 3 ($0.006), Qwen3 235B ($0.004), Perplexity Sonar Pro ($0.06).
| Tool | Price | Description |
|---|---|---|
generate_image | $0.015-$0.12 | AI image generation (fast/quality/text tiers) |
| Tool | Price | Description |
|---|---|---|
execute_code | $0.005 | Sandboxed code execution (Python, JS, Bash, R) |
| Tool | Price | Description |
|---|---|---|
transcribe_audio | $0.10 | Audio-to-text transcription (Deepgram Nova-3) |
tts_openai | $0.01 | Text-to-speech (OpenAI) |
tts_elevenlabs | $0.02 | Text-to-speech (ElevenLabs) |
| Tool | Price | Description |
|---|---|---|
create_embeddings | $0.001 | Text embeddings (OpenAI text-embedding-3-small) |
| Tool | Price | Description |
|---|---|---|
get_crypto_price | $0.001 | Current crypto prices |
get_crypto_markets | $0.002 | Top coins by market cap |
get_crypto_history | $0.003 | Historical price charts |
get_trending_crypto | $0.001 | Trending coins |
search_crypto | $0.001 | Search for coins |
| Tool | Price | Description |
|---|---|---|
get_wallet_balances | $0.005 | Token balances for any wallet |
get_wallet_transactions | $0.005 | Transaction history |
get_wallet_pnl | $0.01 | Profit & loss analysis |
get_token_prices | $0.005 | DEX-derived token prices |
get_token_metadata | $0.002 | Token metadata |
simulate_transaction | $0.01 | Transaction simulation (Tenderly) |
| Tool | Price | Description |
|---|---|---|
web_scrape | $0.005 | Scrape and extract web page content |
web_screenshot | $0.01 | Capture web page screenshot |
| Tool | Price | Description |
|---|---|---|
pin_to_ipfs | $0.01 | Pin JSON to IPFS |
get_from_ipfs | $0.001 | Retrieve content from IPFS |
| Tool | Price | Description |
|---|---|---|
discover_services | Free | List all services and pricing |
| Variable | Required | Description |
|---|---|---|
X402_BASE_URL | No | Gateway URL (default: https://x402-gateway-production.up.railway.app) |
X402_DEV_BYPASS | No | Dev bypass secret to skip payments |
X402_PAYMENT_HEADER | No | Pre-signed payment header |
llm_chat)402 Payment Required with pricingFor automatic payment handling, use @x402/fetch in your agent code.
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
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent