Crawl4ai Rag MCP Server

<em>Web Crawling and RAG Capabilities for AI Agents and AI Coding Assistants</em>

Local serverstdioPython

What is the Crawl4ai Rag MCP Server?

Web Crawling and RAG Capabilities for AI Agents and AI Coding Assistants

The short version

This MCP server provides tools that enable AI agents to crawl websites, store content in a vector database (Supabase), and perform RAG over the crawled content. It follows the best practices for building MCP servers based on the Mem0 MCP server template I provided on my channel previously.

  • Smart URL Detection — Automatically detects and handles different URL types (regular webpages, sitemaps, text files)
  • Recursive Crawling — Follows internal links to discover content
  • Parallel Processing — Efficiently crawls multiple pages simultaneously
  • Content Chunking — Intelligently splits content by headers and size for better processing
  • Vector Search — Performs RAG over crawled content, optionally filtering by data source for precision
  • Source Retrieval — Retrieve sources available for filtering to guide the RAG process

What it needs from you

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Crawl4ai Rag MCP Server

{
  "mcpServers": {
    "crawl4ai-rag": {
      "transport": "sse",
      "url": "http://localhost:8051/sse"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TRANSPORTConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
SUPABASE_URLEndpoint or connection string the server talks to.Yes
SUPABASE_SERVICE_KEYCredential the server authenticates with.Yes
USE_KNOWLEDGE_GRAPHConfiguration value read at startup.Optional
NEO4J_URIConfiguration value read at startup.Optional
NEO4J_USERConfiguration value read at startup.Optional
NEO4J_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • “Use Crawl4ai Rag MCP to Workflow.”

Frequently asked questions

<em>Web Crawling and RAG Capabilities for AI Agents and AI Coding Assistants</em> Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.