x402 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X402_PRIVATE_KEY | No | A Base wallet private key funded with USDC. Omit this variable to use the server in free mode with limitations. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| x402_network_infoA | List all APIs in the x402 API Network with pricing, status, and capabilities. This tool is FREE — no payment required. The x402 API Network provides pay-per-use APIs accepting USDC micropayments on Base (L2 Ethereum). |
| x402_screenshotA | Capture a screenshot of any URL and return it as a base64-encoded image. Price: $0.01 USDC per capture (paid mode) | Free test: example.com, example.org, httpbin.org only. Without X402_PRIVATE_KEY, only test domains are available. With a wallet key, any URL can be captured via the paid endpoint. Returns: base64 PNG/JPEG/WebP image data. |
| x402_pdf_extractA | Extract text content from a PDF document via URL. Price: $0.01 USDC per extraction. Uses PyMuPDF for fast text extraction. Handles multi-page PDFs. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: extracted text, page count, and metadata. |
| x402_sentimentA | Get real-time crypto sentiment analysis for a specific coin. Price: $0.01 USDC per query. Analyzes social media, news, and market data to produce sentiment scores. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: sentiment score (-1 to 1), confidence, sources, and analysis. |
| x402_market_overviewA | Get a broad crypto market sentiment overview covering major coins and trends. Price: $0.05 USDC per query. Provides aggregate sentiment across the crypto market. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: market-wide sentiment data, top movers, and trend analysis. |
| x402_intelligenceA | Get comprehensive multi-source intelligence analysis for a cryptocurrency. Price: $0.10 USDC per query. Aggregates data from CoinGecko (market), DeFiLlama (TVL/DeFi), CryptoPanic (news), Fear & Greed Index (psychology), and GitHub (development activity). All data synthesized by Claude AI for actionable insights. This is the premium tier — use x402_sentiment ($0.01) for quick sentiment only. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: comprehensive analysis with market data, news, development activity, and AI synthesis. |
| x402_send_emailA | Send a transactional email via Resend. Price: $0.01 USDC per email (paid mode) | Free test: returns fixture data. Supports plain text or HTML body, CC/BCC recipients, and file attachments (base64-encoded, max 25MB per file). Per-wallet daily limit: 10 emails. Per-domain daily limit: 5 emails (applies to all recipients including CC/BCC). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: message_id from Resend. |
| x402_scrape_urlA | Scrape a web page and return structured JSON with markdown content, links, tables, images, and metadata. Price: $0.02 USDC per scrape (paid mode) | Free test: returns fixture data. Supports JS-rendered pages via Playwright. Optional wait_for CSS selector for async SPA content. Hard timeout: 8 seconds total (page load + selector wait combined). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: markdown text, extracted links, tables, images, page metadata, and success/failure status. |
| x402_convert_fileA | Convert files between formats — image resize/reformat, CSV to JSON, HTML to PDF, or DOCX to PDF. Price: $0.02 USDC per conversion (paid mode) | Free test: returns fixture data. Supported conversions:
Input limit: 10MB source file. Output limit: 8MB (before base64 encoding). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: base64-encoded output bytes with MIME type, or JSON array for csv type. |
| x402_web_searchA | Search the web and return ranked results via Tavily — title, URL, snippet, and relevance score. Price: $0.01 USDC per search (paid mode) | Free test: returns fixture data. Optional synthesized answer summarizing results. Use include_domains/exclude_domains for focused research. Per-wallet daily limit: 50 queries (resets midnight UTC). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: query, results array (title, url, snippet, score), optional answer field. |
| x402_transcribe_audioA | Transcribe an audio file from a URL using faster-whisper with auto language detection. Price: $0.05 USDC per transcription (paid mode) | Free test: returns fixture data. Supports: MP3, WAV, M4A, FLAC, OGG, and most audio formats. Limits: 25MB file size, 10-minute duration. Payment is charged on download; duration refusals are still charged. Note: transcription can take 30–120 seconds for longer files (CPU-based, requests queue serially). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: transcript text, detected language, language confidence, duration, and segment or word timestamps. |
| x402_crawl_siteA | Crawl a website via BFS and return per-page extraction results (markdown, links, tables, images, metadata). Price: $0.10 USDC per crawl (paid mode) | Free test: returns fixture data. Crawls up to max_pages pages starting from the seed URL, up to max_depth link hops deep. Same extraction pipeline as x402_scrape_url — each page returns markdown, links, tables, images, metadata. Optional include_paths/exclude_paths glob filters (e.g. '/blog/*') restrict which URLs are followed. Hard limits: max 15 pages, max depth 5. Response includes pages_requested, pages_crawled, pages_skipped. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: seed_url, pages_requested, pages_crawled, pages_skipped, reasons_skipped, results array. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jameswilliamwisdom/x402-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server