Doc-to-LLM Markdown, Table JSON, RAG Chunker & PII Redactor MCP avatar

Doc-to-LLM Markdown, Table JSON, RAG Chunker & PII Redactor MCP

Pricing

from $1.60 / 1,000 document transformation calls

Go to Apify Store
Doc-to-LLM Markdown, Table JSON, RAG Chunker & PII Redactor MCP

Doc-to-LLM Markdown, Table JSON, RAG Chunker & PII Redactor MCP

Zero-scraping deterministic document utility & MCP server: convert HTML to clean LLM Markdown, parse CSV/TSV/HTML/Markdown tables to typed JSON, split heading-aware RAG chunks, and redact PII (Luhn-validated). Pay-Per-Event & Standby MCP.

Pricing

from $1.60 / 1,000 document transformation calls

Rating

0.0

(0)

Developer

QuantForge Data

QuantForge Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Published by QuantForge Data (quantforge_data).

A zero-scraping, deterministic, stateless document preprocessing utility & MCP server built for RAG pipelines, LLM agents, n8n/Make/LangGraph workflows, and B2B document automation. Send your own HTML, CSV/TSV/Markdown/HTML tables, or raw text and get clean LLM-ready Markdown, typed JSON table records, heading-aware semantic RAG chunks with SHA-256 hashes, or Luhn-validated PII-redacted text in milliseconds — with zero external scraping, zero upstream API fragility, and zero PII retention.

What can Doc-to-LLM Markdown, Table JSON, RAG Chunker & PII Redactor MCP do?

  • HTML to LLM-Ready Markdown (html_to_llm_markdown): Strips <script>, <style>, <nav>, <header>, <footer>, and <aside> boilerplate, converts HTML tables to Markdown tables, extracts heading outlines and deduplicated links, and computes compression ratio, estimated tokens, and SHA-256 hashes.
  • Universal Table to Typed JSON (table_to_structured_json): Auto-detects and parses CSV, TSV, Markdown pipe tables, and HTML <table> into normalized JSON rows with automatic type inference (integer, float, boolean, null) and column completeness statistics.
  • Heading-Aware Semantic RAG Chunker (rag_semantic_chunker): Splits Markdown or plain text along heading boundaries respecting max_tokens and overlap_tokens, attaching hierarchical heading_path breadcrumbs and deterministic chunk hashes for vector databases.
  • Deterministic PII Redactor & Audit (pii_redactor_audit): Detects and masks emails, US phone numbers, SSNs, Luhn-validated payment cards, and IPv4 addresses before LLM ingestion. Returns sanitized text and aggregate counts only — never echoes or stores raw PII.
  • Dual Interface (Apify Batch + Standby REST/MCP): Run as a standard Apify Actor, query low-latency Standby REST endpoints (/v1/html-to-markdown, /v1/table-to-json, /v1/rag-chunk, /v1/redact-pii), or connect AI agents directly via JSON-RPC 2.0 MCP (/mcp).

Input parameters & examples

Example 1: HTML to LLM Markdown (Batch input)

{
"operation": "html_to_llm_markdown",
"html": "<nav>Menu</nav><article><h1>Q4 Engineering Update</h1><p>Cut RAG token usage by <strong>48%</strong>.</p><table><tr><th>Metric</th><th>Before</th><th>After</th></tr><tr><td>Tokens</td><td>1200</td><td>620</td></tr></table></article>",
"strip_nav": true,
"include_links": true
}

Example 2: Table to Typed JSON

{
"operation": "table_to_structured_json",
"content": "company,arr_usd,profitable\nAcme AI,2400000,true\nNova Labs,850000,false",
"format": "auto",
"infer_types": true
}

Example 3: PII Redactor Audit

{
"operation": "pii_redactor_audit",
"text": "Reach support@acme.example or call 415-555-0199 from 192.0.2.10.",
"placeholder_style": "bracket"
}

Standby REST API & MCP server

When running in Apify Standby mode, all 4 tools are exposed via REST and native MCP:

  • GET / — Service metadata and Apify readiness probe
  • GET /health — Health status JSON
  • POST /v1/html-to-markdown — Convert HTML to clean Markdown + outline + tables
  • POST /v1/table-to-json — Parse CSV/TSV/Markdown/HTML table into typed JSON
  • POST /v1/rag-chunk — Split text/Markdown into heading-aware RAG chunks
  • POST /v1/redact-pii — Redact PII and return aggregate audit counts
  • POST /mcp — JSON-RPC 2.0 MCP endpoint (initialize, ping, tools/list, tools/call)

MCP tools/call example

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "rag_semantic_chunker",
"arguments": {
"text": "# Architecture\n## Storage\nAll processing is completely stateless.",
"max_tokens": 128,
"overlap_tokens": 16,
"preserve_headings": true
}
}
}

How much does it cost? (Pay-Per-Event pricing)

Event NamePrice (USD)Description
apify-actor-start$0.00005Standard Apify startup event per run (covers first 5 seconds of compute)
doc-transform-call$0.002Per deterministic transformation call ($2.00 / 1,000 calls)

More feeds & MCP servers by QuantForge Data

FAQ & privacy guarantee

Does this Actor scrape external websites or call third-party APIs?

No. It operates strictly on caller-supplied input strings with zero outbound HTTP calls, eliminating scraping ToS risk, rate limits, and third-party downtime.

Is any input document or PII stored?

No. Processing is 100% stateless in memory. The pii_redactor_audit tool returns only sanitized text and category counts — raw PII matches are never echoed or persisted.