PDF Text Extraction
pdf_extractExtract all text from a PDF. Send as pdf_base64 (base64-encoded PDF, max ~10 MB decoded). Returns text (full concatenated text), pages array (per-page text + char_count), page_count, and metadata (title, author, creator). Encode with: Buffer.from(pdfBytes).toString('base64'). Ideal for RAG pipelines, document QA, or LLM ingestion. Price: $0.0055 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"pdf_base64":"","max_pages":10}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No | Maximum number of pages to extract. Default: 50. Use to limit processing time for large PDFs. | |
| pdf_base64 | Yes | Base64-encoded PDF file content. Decode a PDF file to base64 and pass it here. Max ~10 MB (unencoded). |