Sponsored by Deepsite.site

Screenshot Pdf X402

创建者
Br0ski7774 months ago
x402 micropayment API for AI agents. Takes website screenshots and converts to PDF. Pay per call with USDC on Base.
概览

Screenshot & PDF Capture API

MCP Server x402 License: MIT

Capture full-page screenshots and PDFs from any URL. Chromium rendering, custom viewport, PNG/JPEG/WebP output. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "screenshot-pdf": {
      "url": "https://screenshot-pdf.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl "https://screenshot-pdf.api.klymax402.com/api/screenshot?url=https://example.com"
# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
capture_screenshotGET/api/screenshot$0.008Capture a screenshot of any URL
webpage_to_pdfGET/api/pdf$0.01Generate a PDF from any URL

capture_screenshot

Use this when you need a visual capture of a web page. Renders in a real Chromium browser and returns an image.

Parameters

NameTypeRequiredDescription
urlstringyesURL to screenshot (e.g. https://example.com)
widthnumbernoViewport width in px (default: 1280)
heightnumbernoViewport height in px (default: 720)
fullPagebooleannoCapture full scrollable page (default: false)
formatstringnoImage format (default: png)

Example response:

binary image file with Content-Type image/png, typical size 200-800KB for a full page.

When to use: visual QA testing, generating page thumbnails, archiving web pages, or verifying responsive design. Essential for automated screenshot pipelines and visual regression testing.

Not for: text extraction (use web_scrape_to_markdown), PDF from data (use document_generate_pdf), PDF from URL (use webpage_to_pdf).

webpage_to_pdf

Use this when you need to convert a live web page to a printable PDF document. Renders in a real Chromium browser and returns binary PDF.

Parameters

NameTypeRequiredDescription
urlstringyesURL to convert to PDF (e.g. https://example.com)
formatstringnoPaper format (default: A4)

Example response:

binary PDF file with Content-Type application/pdf, properly paginated with headers/footers.

When to use: archiving web pages as PDF, generating printable articles, saving receipts or invoices from URLs, or creating offline documentation snapshots.

Not for: custom documents from HTML/Markdown (use document_generate_pdf), screenshots (use capture_screenshot), web scraping text (use web_scrape_to_markdown).

Example agent prompts

  • "A visual capture of a web page"
  • "Convert a live web page to a printable PDF document"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

服务器配置

{
  "mcpServers": {
    "screenshot-pdf": {
      "url": "https://screenshot-pdf-x402-production.up.railway.app/mcp",
      "transport": "sse"
    }
  }
}
推荐的 MCP Server
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
Tavily Mcp
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.