x402-mcp-server

v1.0.5
io.github.Jannis-E/x402-mcp-server Checked 1 day ago Published 2 months ago

Pay-per-call x402 tools on Base: web extract/render, burn-once secret vault, chart, GeoTIFF

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

markdown-extractor

Fetches a public URL and returns clean, token-efficient markdown, paywalled with the x402 v2 protocol on Base Mainnet. Designed for autonomous AI agents to call directly: no API key, no signup — pay per call in USDC. Costs 0.01 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://markdown-extractor.jannioura.workers.dev/openapi.json.

spa-dom-to-md

Renders JavaScript-heavy SPA pages in real headless Chromium via Cloudflare Browser Rendering, waits for network-idle / selector-ready, strips nav/footer/script chrome, and serializes the fully-rendered DOM into clean, LLM-ready Markdown. Costs 0.03 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://spa-dom-to-md.jannioura.workers.dev/openapi.json.

burn-once-secret-vault

Store a secret (API key, webhook payload, signed URL) encrypted with WebCrypto AES-256-GCM and share a claim URL that yields the secret exactly once. A Durable Object serializes reads so single-use delivery is race-free, and every burn returns an Ed25519-signed attestation. Creating a vault requires x402 payment; the recipient's claim read (GET /v/:vault_id) is free. Costs 0.01 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://burn-once-secret-vault.jannioura.workers.dev/openapi.json.

svg-bar-chart-renderer

Deterministic, paid-per-render SVG bar chart generator for LLM agents. Accepts labeled scalar data and layout options, performs exact geometry math (min/max normalization, nice-interval y-axis ticks, label spacing, bar-width distribution), and returns schema-valid, escape-correct SVG with identical input always yielding byte-identical output. Costs 0.015 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://svg-bar-chart-renderer.jannioura.workers.dev/openapi.json.

wasm-geotiff-transcoder

Decodes a GeoTIFF/COG raster (fetch by https URL or inline base64), reads the selected RGB bands via windowed overview-level reads, applies a tone-map stretch, and returns a render-ready PNG/WebP plus structured georeference metadata (CRS, bounds, pixel scale) and source stats. Sources are hard-capped at 20 MB and output width at 2048 px. Costs 0.03 USDC per call on eip155:8453, paid automatically from BASE_PRIVATE_KEY. Request body fields are tool-specific -- see https://wasm-geotiff-transcoder.jannioura.workers.dev/openapi.json.