x402 tools
Pay-per-call agent tools: web to markdown, screenshots, summaries, extraction. Paid via x402.
Should I use this
Quality & Safety
Findings (17)
- HIGH
- MEDIUMin translate
- MEDIUMin markdown
- MEDIUMin screenshot
- MEDIUMin summarize
- MEDIUMin extract
- MEDIUMin translate
- MEDIUMin image
- MEDIUMin wallet
- MEDIUMin x402_check
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"x402-tools": {
"url": "https://x402-tools.com/mcp"
}
}
}Remote endpoints
https://x402-tools.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (16)
🟢list_tools(query)
List the pay-per-call tools offered by x402-tools.com (web page to markdown, screenshots, summarize, structured extraction, translation, image generation, Base wallet lookup, x402 endpoint checker, DNS lookup, email check). Each result has the HTTPS endpoint, method, price in USD, and parameters. Call the endpoint with an x402-capable HTTP client to pay in USDC and get the result. Optionally pass a query describing the task to rank the most relevant tools first.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional task description, e.g. 'read a PDF'"
}
}
}🟢get_tool(id)
Full details for one tool by id (e.g. 'markdown'): endpoint, method, price, parameters, example output and an example call.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": [
"markdown",
"screenshot",
"summarize",
"extract",
"translate",
"image",
"wallet",
"x402-check",
"x402-preflight",
"agent-ready",
"seo-page",
"seo-site",
"dns",
"email-check"
]
}
},
"required": [
"id"
]
}🟢markdown(url, max_chars)
Fetches a public URL and converts it to clean markdown, dropping navigation, scripts and styling. Works for HTML pages, PDFs, Word, Excel and CSV files. Returns the page title, final URL after redirects and the markdown text. Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/markdown. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public URL to convert."
},
"max_chars": {
"type": "number",
"description": "Truncate the markdown to this many characters (default 100000, max 500000)."
}
},
"required": [
"url"
]
}🟢screenshot(url, width, height, full_page, format)
Opens the URL in a headless Chrome browser, waits for the page to settle and returns a PNG screenshot. Choose the viewport size and whether to capture the full scrolling page. Returns the image directly, or base64 JSON with format=json. Paid tool: $0.01 per call in USDC via x402 at GET https://x402-tools.com/v1/screenshot. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public URL to capture."
},
"width": {
"type": "number",
"description": "Viewport width in pixels (default 1280, 320 to 1920)."
},
"height": {
"type": "number",
"description": "Viewport height in pixels (default 800, 240 to 1600)."
},
"full_page": {
"type": "boolean",
"description": "Capture the full scrolling page (default false)."
},
"format": {
"type": "string",
"description": "'png' (default, raw image) or 'json' (base64 in JSON)."
}
},
"required": [
"url"
]
}🟢summarize(url, text, length, format, focus)
Summarizes a block of text or the content of a URL (HTML or PDF) using a fast LLM. Pick the length and whether you want prose or bullet points, and optionally a focus such as 'pricing' or 'risks'. Paid tool: $0.008 per call in USDC via x402 at POST https://x402-tools.com/v1/summarize. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL to summarize (use this or text)."
},
"text": {
"type": "string",
"description": "Text to summarize, up to 30000 characters (use this or url)."
},
"length": {
"type": "string",
"description": "'short', 'medium' (default) or 'long'."
},
"format": {
"type": "string",
"description": "'prose' (default) or 'bullets'."
},
"focus": {
"type": "string",
"description": "Optional topic to focus on."
}
},
"required": []
}🟢extract(url, text, fields, schema, instructions)
Give it a URL or text plus either a JSON schema or a simple list of field names, and it returns JSON that matches. Good for turning product pages, job posts, invoices, articles or profiles into structured records. Missing values come back as null instead of being made up. Paid tool: $0.01 per call in USDC via x402 at POST https://x402-tools.com/v1/extract. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL to extract from (use this or text)."
},
"text": {
"type": "string",
"description": "Text to extract from, up to 25000 characters."
},
"fields": {
"type": "object",
"description": "Simple alternative to schema: a list of field names, or an object of field name to type/description."
},
"schema": {
"type": "object",
"description": "A JSON schema for the output object."
},
"instructions": {
"type": "string",
"description": "Optional extra guidance, e.g. 'prices in EUR'."
}
},
"required": []
}🟢translate(text, target, source)
Translates up to 8000 characters into the target language. The source language is detected automatically. Markdown, line breaks and placeholders are preserved. Paid tool: $0.008 per call in USDC via x402 at POST https://x402-tools.com/v1/translate. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to translate (max 8000 characters)."
},
"target": {
"type": "string",
"description": "Target language, as a name or code (e.g. 'Dutch' or 'nl')."
},
"source": {
"type": "string",
"description": "Optional source language. Detected if omitted."
}
},
"required": [
"text",
"target"
]
}🟢image(prompt, steps, format)
Generates a 1024x1024 image from a text prompt with the FLUX.1 [schnell] model. Returns a JPEG directly, or base64 JSON with format=json. Paid tool: $0.02 per call in USDC via x402 at POST https://x402-tools.com/v1/image. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "What to draw (max 2000 characters)."
},
"steps": {
"type": "number",
"description": "Diffusion steps, 1 to 8 (default 4). More steps, more detail."
},
"format": {
"type": "string",
"description": "'jpeg' (default, raw image) or 'json' (base64)."
}
},
"required": [
"prompt"
]
}🟢wallet(address, tokens)
Reads an address on Base mainnet: native ETH balance, USDC balance, any extra ERC-20 tokens you list (with symbol, name and decimals), transaction count and whether it is a contract. Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/wallet. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x address on Base."
},
"tokens": {
"type": "string",
"description": "Optional comma-separated ERC-20 contract addresses to include (max 10)."
}
},
"required": [
"address"
]
}🟢x402_check(url, method)
Calls an endpoint without paying and reads its x402 payment requirements (v1 body and v2 PAYMENT-REQUIRED header). Returns price in USD, network, pay-to address, description, discovery info, latency and a list of setup problems with a grade. Use it before paying an unknown API, or to test your own. Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/x402-check. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The x402 endpoint to test."
},
"method": {
"type": "string",
"description": "HTTP method to probe with: GET (default) or POST."
}
},
"required": [
"url"
]
}🟢x402_preflight(urls, max_price_usd, budget_usd, networks)
Give it the x402 endpoints your agent is about to call and your spending rules (per-request cap, total budget, allowed networks). It probes every endpoint without paying, in parallel, and returns which ones are safe to pay, the real price in USD, network and pay-to address of each, the total cost, and a plain reason for every endpoint it blocks (over the cap, over budget, testnet only, not a valid x402 endpoint, non-USD price). Use it as a guardrail step in any agent that spends money. Paid tool: $0.005 per call in USDC via x402 at POST https://x402-tools.com/v1/x402-preflight. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"urls": {
"type": "array",
"description": "1 to 10 x402 endpoint URLs, or objects { url, method } to probe with POST."
},
"max_price_usd": {
"type": "number",
"description": "Per-request cap in USD. Endpoints that cost more are blocked."
},
"budget_usd": {
"type": "number",
"description": "Total budget in USD for this batch. Endpoints are approved in order until it runs out."
},
"networks": {
"type": "array",
"description": "Allowed networks, e.g. [\"base\"] or [\"eip155:8453\"]. Default: any mainnet."
}
},
"required": [
"urls"
]
}🟢agent_ready(url)
Audits any website the way an AI agent sees it: whether robots.txt blocks AI agents (GPTBot, ClaudeBot, ChatGPT-User, Claude-User, Perplexity and more), llms.txt and llms-full.txt, markdown for agents via Accept: text/markdown, an agent search endpoint at /.well-known/search, sitemap, JSON-LD structured data, server-rendered text, OpenAPI, MCP server and x402 payments. Returns a 0 to 100 score, a grade, every check with details, and the three most valuable fixes. Paid tool: $0.005 per call in USDC via x402 at GET https://x402-tools.com/v1/agent-ready. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Website or domain to audit, e.g. example.com."
}
},
"required": [
"url"
]
}🟢seo_page(url, check_links)
Analyzes a single web page for SEO: HTTP status, response time and size, HTTPS, redirects, title and meta description (with lengths), canonical, noindex/nofollow (meta and X-Robots-Tag), lang, mobile viewport, H1 and heading structure, word count, images without alt text, internal and external links, Open Graph and Twitter tags, JSON-LD types and hreflang. Also checks whether robots.txt allows the page, whether it is in the sitemap, and tests up to 15 links on the page for broken ones. Returns a 0 to 100 score, a grade, every issue with severity and a fix, and the top fixes. Paid tool: $0.006 per call in USDC via x402 at GET https://x402-tools.com/v1/seo-page. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The page to analyze."
},
"check_links": {
"type": "boolean",
"description": "Test up to 15 links on the page for broken ones. Default true."
}
},
"required": [
"url"
]
}🟢seo_site(url, max_pages)
Crawls a website from its homepage and sitemap (respecting robots.txt), runs the full on-page SEO analysis on up to 30 pages, and aggregates it into one site report: score and grade, issues ranked by severity and number of pages affected, duplicate titles and meta descriptions, broken internal links with the pages that link to them, noindex and redirected pages, pages missing from the sitemap, pages blocked by robots.txt, slowest pages, thin content, AI agents blocked in robots.txt, and a per-page table. Takes 10 to 40 seconds. Paid tool: $0.15 per call in USDC via x402 at GET https://x402-tools.com/v1/seo-site. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Website or start URL to crawl, e.g. example.com."
},
"max_pages": {
"type": "number",
"description": "Pages to crawl, 1 to 30. Default 30."
}
},
"required": [
"url"
]
}🟢dns(domain)
Returns A, AAAA, CNAME, MX, NS, TXT and CAA records, SPF and DMARC policies, and registration data from RDAP (registrar, created, expires, status, nameservers). Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/dns. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Domain name, e.g. example.com."
}
},
"required": [
"domain"
]
}🟢email_check(email)
Checks an email address without sending anything: syntax, whether the domain accepts mail (MX records), disposable or throwaway domains, role accounts like info@ or support@, free providers and common typos (gmial.com). Returns a simple verdict. Paid tool: $0.004 per call in USDC via x402 at GET https://x402-tools.com/v1/email-check. Calling it here returns the endpoint, price and how to pay.
Input Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "Email address to check."
}
},
"required": [
"email"
]
}Community
Evidence