LLM & RAG Clean Docs / Sitemap Markdown Extractor (MCP-Ready) avatar

LLM & RAG Clean Docs / Sitemap Markdown Extractor (MCP-Ready)

Pricing

from $2.00 / 1,000 page auditeds

Go to Apify Store
LLM & RAG Clean Docs / Sitemap Markdown Extractor (MCP-Ready)

LLM & RAG Clean Docs / Sitemap Markdown Extractor (MCP-Ready)

Fast, zero-auth technical documentation and sitemap crawler that strips navigation noise and outputs clean, token-counted Markdown chunks ready for RAG vector databases and AI agents (MCP).

Pricing

from $2.00 / 1,000 page auditeds

Rating

0.0

(0)

Developer

Olvik Labs

Olvik Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Categories

Features

Limited permissions

Share

Website, Docs, Sitemap & llms.txt to Clean Markdown Crawler for RAG & AI Agents (MCP)

Convert any technical documentation site, llms.txt index, or sitemap.xml into clean, noise-stripped, token-counted Markdown ready for RAG vector databases (Pinecone, Qdrant, Weaviate, Supabase pgvector) and MCP AI coding assistants (Claude, Cursor, Windsurf).


Why AI Engineers Use This Instead of Generic Web Crawlers

  • Zero Headless Browser Overhead: Pure high-speed HTTP + deterministic HTML-to-Markdown parsing — 10x faster and cheaper than headless Chrome crawlers.
  • Automatic llms.txt & sitemap.xml Discovery: Point it at a docs homepage and it automatically checks /llms.txt and /sitemap.xml to discover every doc page cleanly.
  • Boilerplate & Nav Stripping: Removes <nav>, <header>, <footer>, <aside>, <script>, <style>, and cookie banners while preserving fenced code blocks (```), headings, links, and lists.
  • Built-In Token Counting & RAG Chunking: Outputs wordCount and estimatedTokens on every record, with optional paragraph-aware chunk splitting (chunkMarkdown: true).

High-ROI Use Cases

  • Keep Vector Databases Fresh: Schedule weekly crawls in n8n or LangChain to sync external API docs into Pinecone / Qdrant / pgvector.
  • Custom Documentation Context for Coding Agents: Feed up-to-date framework docs into Claude Code or Cursor via Apify MCP so LLMs stop hallucinating deprecated APIs.
  • Customer Support AI Knowledge Base Ingestion: Convert help-center articles into clean Markdown chunks for RAG chatbots.

Transparent Pay-Per-Event Pricing

Platform compute is included free:

  • $2.00 per 1,000 extracted pages ($0.002 / page)
  • Crawl an entire 150-page developer docs site for $0.30!

Example Input

{
"startUrls": ["https://docs.apify.com/llms.txt"],
"urlPrefixFilter": "",
"maxPages": 50,
"discoverSitemapOrLlmsTxt": true,
"chunkMarkdown": true,
"maxCharsPerChunk": 4000
}

Sample Output Record

{
"url": "https://docs.apify.com/api/llms.txt",
"title": "Apify API documentation | Apify Documentation",
"chunkIndex": 1,
"totalChunks": 1,
"wordCount": 598,
"estimatedTokens": 1915,
"contentType": "markdown",
"fetchedAt": "2026-11-25T19:32:24.356Z",
"markdown": "# Apify API documentation..."
}

Plug Into Claude, Cursor, n8n & Python

Use via MCP (mcp.apify.com)

{
"mcpServers": {
"apify-docs-rag": {
"url": "https://mcp.apify.com/?actors=olviklabs/llm-docs-rag-extractor",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}

Call from Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("olviklabs/llm-docs-rag-extractor").call(
run_input={"startUrls": ["https://docs.apify.com/llms.txt"], "maxPages": 25, "chunkMarkdown": True}
)
chunks = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Loaded {len(chunks)} clean RAG chunks!")

Support

Built and maintained by Olvik Labs (https://olviklabs.com) · Contact: support@olviklabs.com