
X402 Tools Mcp
This is pay-per-call infrastructure for AI agents that want to scrape, embed, moderate, or store data without managing API keys or subscriptions. You get 22 utilities over MCP including ScrapePay for web extraction, PromptGuard for injection detection, MemoryServe for vector storage with Qdrant, and EmbedPay for OpenAI embeddings. Every call settles in USDC on Base via the x402 protocol and only charges on success. Designed for composable RAG pipelines where you chain scrape to markdown cleanup to embedding to storage, with each step billed independently. Install once with npx and all tools appear in Claude Desktop or any MCP client. Costs run around $0.01 per scrape, $0.002 per prompt scan, and fractions of a cent for caching or validation calls.
- tools
- 25
- auth
- Secret needed
- transport
- STDIO
- env vars
- 2
- last updated
- May 15, 2026
Tools
25 toolsPublic tool metadata for what this MCP can expose to an agent.
list_servicesReturns the full catalogue with prices and endpoint URLs
Returns the full catalogue with prices and endpoint URLs
No parameter schema in public metadata yet.
cacheserveFetch a URL with server-side caching — avoids redundant origin hits
Fetch a URL with server-side caching — avoids redundant origin hits
No parameter schema in public metadata yet.
docconvert_textFormat conversion: md↔html, json↔csv, html→txt, etc.
Format conversion: md↔html, json↔csv, html→txt, etc.
No parameter schema in public metadata yet.
intentflowContext handoff relay for multi-agent delegation (async, returns retrieve_url)
Context handoff relay for multi-agent delegation (async, returns retrieve_url)
No parameter schema in public metadata yet.
memoryserve_writeStore text + embedding in Qdrant + SQLite, namespaced per agent_id
Store text + embedding in Qdrant + SQLite, namespaced per agent_id
No parameter schema in public metadata yet.
memoryserve_queryRecall most-similar memories by semantic query
Recall most-similar memories by semantic query
No parameter schema in public metadata yet.
memscrubScan retrieved RAG content for indirect prompt injection (10 patterns)
Scan retrieved RAG content for indirect prompt injection (10 patterns)
No parameter schema in public metadata yet.
notifyrelay_webhookPOST a JSON payload to a URL with optional HMAC-SHA256 signing
POST a JSON payload to a URL with optional HMAC-SHA256 signing
No parameter schema in public metadata yet.
schemagateValidate a JSON response against a JSON Schema, return a hint on failure
Validate a JSON response against a JSON Schema, return a hint on failure
No parameter schema in public metadata yet.
loopwall_hopValidate one hop of a signed multi-agent chain (loop / budget enforcement)
Validate one hop of a signed multi-agent chain (loop / budget enforcement)
No parameter schema in public metadata yet.
loopwall_issueIssue a signed Job Envelope at chain start with budget + hop cap
Issue a signed Job Envelope at chain start with budget + hop cap
No parameter schema in public metadata yet.
imageguardNSFW image classification (multi-class moderation on roadmap)
NSFW image classification (multi-class moderation on roadmap)
No parameter schema in public metadata yet.
notifyrelay_telegramSend a Telegram message to a known chat ID
Send a Telegram message to a known chat ID
No parameter schema in public metadata yet.
promptguardScore untrusted input for prompt injection risk (0–100)
Score untrusted input for prompt injection risk (0–100)
No parameter schema in public metadata yet.
structextractExtract structured JSON from HTML — tables, links, emails, phones
Extract structured JSON from HTML — tables, links, emails, phones
No parameter schema in public metadata yet.
xauditValidate API response content with a cryptographically signed certificate
Validate API response content with a cryptographically signed certificate
No parameter schema in public metadata yet.
docconvert_pdfConvert HTML or markdown to PDF (base64 output)
Convert HTML or markdown to PDF (base64 output)
No parameter schema in public metadata yet.
kyaoracleOn-chain trust score (0–100) for an Ethereum/Base wallet address
On-chain trust score (0–100) for an Ethereum/Base wallet address
No parameter schema in public metadata yet.
linkriskURL risk profile — heuristic phishing signals, redirect tracing
URL risk profile — heuristic phishing signals, redirect tracing
No parameter schema in public metadata yet.
markdownoptConvert URL or HTML to clean LLM-ready markdown (~70% token reduction)
Convert URL or HTML to clean LLM-ready markdown (~70% token reduction)
No parameter schema in public metadata yet.
notifyrelay_emailSend a transactional email via Resend (allowlisted, rate-limited)
Send a transactional email via Resend (allowlisted, rate-limited)
No parameter schema in public metadata yet.
embedpayOpenAI text-embedding-3-small wrapper, batch tier available
OpenAI text-embedding-3-small wrapper, batch tier available
No parameter schema in public metadata yet.
linksafeDefinitive URL safety check via Playwright sandbox + VirusTotal
Definitive URL safety check via Playwright sandbox + VirusTotal
No parameter schema in public metadata yet.
scrapepayWeb extraction via Playwright (robots.txt enforced, SSRF-safe)
Web extraction via Playwright (robots.txt enforced, SSRF-safe)
No parameter schema in public metadata yet.
pdf_renderHigh-fidelity URL or HTML → PDF via Playwright
High-fidelity URL or HTML → PDF via Playwright
No parameter schema in public metadata yet.
Sponsors
Configuration
X402_PAYMENT_HEADERsecretSigned x402 payment token from your wallet client. Set if handling payments manually.
X402_INTERNAL_KEYsecretBypass key for trusted internal callers — skips x402 payment flow entirely.
Readme
@melis-ai/x402-tools-mcp
Boring infrastructure for agent builders. 22 pay-per-call utility tools served as an MCP server — scrape, validate, embed, store, moderate, notify, convert, prevent loops. No accounts, no API keys, no subscriptions. Pay with USDC on Base via the x402 protocol.
npx @melis-ai/x402-tools-mcp
Details
- Repository
- github.com/mizukaizen/x402-tools-mcp
- Package
@melis-ai/x402-tools-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active