About io.github.agentc22/x402engine-mcp
io.github.agentc22/x402engine-mcp is an MCP server published by agentc22 in the Blockchain category: pay-per-call AI APIs for agents via HTTP 402 crypto micropayments (USDC/USDm).
The repository has 1 stars and 0 forks, with the last commit 11 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
claude mcp add io-github-agentc22-x402engine-mcp -- npx -y x402engine-mcpnpx -y x402engine-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (22)
discover_servicesList all available x402 Engine APIs with pricing, endpoints, and payment networks. Call this first to understand what
Parameters not published.
execute_codeExecute code in a secure sandboxed environment (E2B). Supports Python, JavaScript, Bash, and R. $0.005 per execution.
Parameters not published.
generate_imageGenerate an image from a text prompt. Three quality tiers:
Parameters not published.
get_crypto_categoriesList CoinGecko category IDs for sector discovery and downstream market filters. $0.001 per request.
Parameters not published.
get_crypto_historyGet historical price data for a cryptocurrency. $0.003 per request.
Parameters not published.
get_crypto_marketsGet top cryptocurrencies by market cap with detailed market data. $0.002 per request.
Parameters not published.
get_crypto_priceGet current prices for cryptocurrencies. $0.001 per request.
Parameters not published.
get_from_ipfsRetrieve content from IPFS by CID. $0.001 per request.
Parameters not published.
get_token_metadataGet metadata for a token (name, symbol, decimals, etc.). $0.002 per request.
Parameters not published.
get_token_pricesGet DEX-derived prices for tokens by contract address. $0.005 per request.
Parameters not published.
Show all 22 tools
get_trending_cryptoGet trending cryptocurrencies. $0.001 per request.
Parameters not published.
get_wallet_balancesGet token balances for a wallet address on any supported chain. $0.005 per request.
Parameters not published.
get_wallet_pnlGet profit and loss analysis for a wallet
Parameters not published.
get_wallet_transactionsGet transaction history for a wallet address. $0.005 per request.
Parameters not published.
pin_to_ipfsPin JSON data to IPFS via Pinata. Returns the IPFS CID. $0.01 per pin.
Parameters not published.
search_cheapest_datesFind the cheapest travel dates for a route. Returns date/price pairs sorted by price. $0.01 per request.
Parameters not published.
search_cryptoSearch for a cryptocurrency by name or symbol. $0.001 per request.
Parameters not published.
search_flightsSearch flight offers by route, dates, and passengers. Returns pricing, itineraries, and airlines. $0.01 per request.
Parameters not published.
search_hotelsSearch hotel offers by city and dates. Returns room details, pricing, and availability. $0.01 per request.
Parameters not published.
search_locationsSearch for airports and cities by keyword. Returns IATA codes, names, and coordinates. $0.005 per request.
Parameters not published.
service_healthGet live health metrics for all x402engine services — latency (p50/p95/p99), error rates, request volume, and status. Free, no payment required. Call this before choosing which service to use.
Parameters not published.
transcribe_audioTranscribe audio to text using Deepgram Nova-3. Accepts a public URL to an audio file. $0.10 per transcription.
Parameters not published.
Ask AI
Ask AI about io.github.agentc22/x402engine-mcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
x402engine-mcp
MCP 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.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": ["-y", "x402engine-mcp"],
"env": {
"X402_DEV_BYPASS": "your-dev-bypass-secret"
}
}
}
}
Claude Code
claude mcp add x402engine -- npx -y x402engine-mcp
Available Tools
LLM Inference
| 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).
Image Generation
| Tool | Price | Description |
|---|---|---|
generate_image |
$0.015-$0.12 | AI image generation (fast/quality/text tiers) |
Code Execution
| Tool | Price | Description |
|---|---|---|
execute_code |
$0.005 | Sandboxed code execution (Python, JS, Bash, R) |
Audio
| 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) |
Text Embeddings
| Tool | Price | Description |
|---|---|---|
create_embeddings |
$0.001 | Text embeddings (OpenAI text-embedding-3-small) |
Crypto & Market Data
| 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 |
Blockchain & Wallet
| 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) |
Web
| Tool | Price | Description |
|---|---|---|
web_scrape |
$0.005 | Scrape and extract web page content |
web_screenshot |
$0.01 | Capture web page screenshot |
IPFS Storage
| Tool | Price | Description |
|---|---|---|
pin_to_ipfs |
$0.01 | Pin JSON to IPFS |
get_from_ipfs |
$0.001 | Retrieve content from IPFS |
Discovery
| Tool | Price | Description |
|---|---|---|
discover_services |
Free | List all services and pricing |
Environment Variables
| 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 |
Payment Networks
- Base (EVM) — USDC, 6 decimals, ~2s confirmation
- Solana — USDC, 6 decimals, ~400ms confirmation
- MegaETH (EVM) — USDm, 18 decimals, ~10ms confirmation
How It Works
- Agent calls an MCP tool (e.g.,
llm_chat) - MCP server makes HTTP request to x402engine.app
- Gateway returns
402 Payment Requiredwith pricing - Agent pays with crypto via the x402 protocol
- Gateway verifies payment on-chain and returns data
For automatic payment handling, use @x402/fetch in your agent code.
Links
- Gateway: x402engine.app
- Discovery: x402engine.app/.well-known/x402.json
- GitHub: github.com/agentc22/x402engine-mcp
- Protocol: x402.org
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.