Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 2 min read

Five lightweight Apify Actors for LLM pipelines: URL to Markdown, PDF/DOCX OCR, Whisper audio, and MX email checks

Disclosure: We built and maintain all five Actors listed below under the publicrecords account on Apify. Most agent and RAG pipelines stall on the same five preprocessing steps: turning web pages into clean Markdown, re

Disclosure: We built and maintain all five Actors listed below under the publicrecords account on Apify.

Most agent and RAG pipelines stall on the same five preprocessing steps: turning web pages into clean Markdown, rendering JS-heavy pages when plain HTTP comes back empty, extracting text from PDFs and Word files, transcribing audio, and filtering bad email domains before sending.

We just published five small, single-purpose Actors on Apify that you can call over REST or pin directly through Apify's MCP server so Claude, Cursor, or any MCP client can use them without extra glue code.

1. URL to Markdown (plain HTTP, no browser)

When a page serves real HTML over HTTP, spinning up a headless browser is slow and expensive. URL to Markdown fetches pages over plain HTTP and returns clean, LLM-ready Markdown along with title, description, language, and canonical URL.

Best for: docs, blogs, news articles, and RAG ingestion where speed and cost matter.

2. JS Page to Markdown (rendered DOM)

When a page requires JavaScript to render its content, JS Page to Markdown renders the page and converts the resulting DOM into clean Markdown.

Rule of thumb: try url-to-markdown first and fall back to js-page-to-markdown only for SPAs and client-rendered pages.

3. PDF & DOCX to Markdown (with OCR + RAG chunks)

PDF to Markdown & Text Extractor converts PDF and Word (.docx) files into clean Markdown. Scanned pages are handled with built-in OCR, and output comes split into RAG-ready chunks with heading pathsβ€”no separate OCR or external AI API key required.

4. Audio Transcriber (Whisper, SRT & VTT)

Audio Transcriber runs Whisper inside the Actor to transcribe audio and video URLs into text with timestamps, plus SRT and VTT subtitles. No external speech API key needed.

5. Bulk Email Verifier (domain, MX, and disposable check)

Email Verifier validates lists of email addresses without sending mail. It checks syntax, domain validity, MX records, disposable domains, role accounts, SPF/DMARC, and common domain typos, returning a verdict per address.

To be clear on scope: this is a domain, MX, and disposable check, not a mailbox or SMTP check.

Calling them from an AI agent via Apify MCP

Every Actor on Apify can be pinned directly in Apify's hosted MCP server (https://mcp.apify.com) by passing its Actor slug (publicrecords/url-to-markdown, publicrecords/js-page-to-markdown, publicrecords/pdf-docx-to-markdown, publicrecords/audio-file-transcriber, publicrecords/email-verifier).

If you hit an edge case on any of the fiveβ€”especially tricky PDFs, odd encodings, or audio formatsβ€”leave a comment or open an issue on the Actor page and we'll look at it.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.