PDF & Web to RAG Markdown, Tables & Chunks (AI / MCP) avatar

PDF & Web to RAG Markdown, Tables & Chunks (AI / MCP)

Pricing

$5.00 / 1,000 processed documents

Go to Apify Store
PDF & Web to RAG Markdown, Tables & Chunks (AI / MCP)

PDF & Web to RAG Markdown, Tables & Chunks (AI / MCP)

Convert PDFs, web pages, and text documents into clean LLM-ready Markdown, extracted structured tables, and token-aware RAG chunks with page numbers and metadata.

Pricing

$5.00 / 1,000 processed documents

Rating

0.0

(0)

Developer

Raisy Roo

Raisy Roo

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

14 hours ago

Last modified

Features

Limited permissions

Share

Use this Actor / MCP tool whenever an AI agent, n8n workflow, or RAG pipeline needs to convert PDFs or web documents into clean LLM-ready Markdown, structured JSON tables, and token-aware overlapping chunks with page numbers.

Why Developers & AI Agents Choose This Actor

  • All-in-One RAG Preparation: One fast API/MCP call returns clean markdown, extracted PDF tables (structured JSON row arrays), and page-referenced overlapping chunks ready for Pinecone, Qdrant, Weaviate, Chroma, LangChain, or LlamaIndex.
  • Zero-Waste Fair Billing: Pay-Per-Event ($0.005 / document = $5.00 / 1,000 documents). Failed URLs are never billed ($0.00), and customer maxTotalChargeUsd spending limits are strictly enforced.
  • Fast & Reliable: Runs on pure CPU (PyMuPDF + BeautifulSoup + markdownify) with zero proxy overhead.

Sample Output (JSON)

{
"source_url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"content_type": "application/pdf",
"title": null,
"author": null,
"page_count": 1,
"word_count": 7,
"est_tokens": 7,
"table_count": 0,
"chunk_count": 1,
"markdown": "<!-- Page 1 -->\n\nDummy PDF file",
"tables": [],
"chunks": [
{
"chunk_index": 0,
"page_number": 1,
"char_count": 14,
"est_tokens": 3,
"text": "Dummy PDF file"
}
],
"status": "OK",
"error": null
}

Pricing (Pay-Per-Event)

EventPriceCost per 1,000 Documents
document-processed$0.005$5.00
Failed / unreachable URLs$0.00$0.00

Frequently Asked Questions

  • What formats are supported? Direct PDF URLs, HTML web pages, Markdown, and plain-text documents.
  • Can AI agents call this via MCP? Yes — connect via @apify/actors-mcp-server with --actors idyllic_throne_j72/pdf-doc-to-rag-markdown-mcp.
  • How are chunks sized? Configurable via chunkSizeChars (default 2000 chars ≈ 500 tokens) and chunkOverlapChars (default 200 chars), preferring paragraph and sentence boundaries.