Best MCP Servers for RAG & Knowledge Retrieval (2026)
Retrieval-augmented generation servers: vector search, semantic document search, and knowledge bases your AI client can query. ApeRAG and Ragie provide managed RAG pipelines, mcp-local-rag and mcp-ragdocs run retrieval locally, and Screenpipe makes everything on your screen searchable.
This page collects the 18 MCP servers in our directory that genuinely cover rag & knowledge retrieval — together they have 40,965 GitHub stars, and 0 of them run as hosted services you can connect to without installing anything. The highest-rated options are mediar-ai/screenpipe, topoteretes/cognee, doobidoo/mcp-memory-service.
How to choose
Pick a managed pipeline (ApeRAG, Ragie) to move fast, a local RAG server (mcp-local-rag, rust-docs, ragdocs) for private documents, and Redis or Tablestore if you are building on vector storage you already run.
mediar-ai/screenpipe
by mediar-ai
🎖️ 🦀 🏠 🍎 Local-first system capturing screen/audio with timestamped indexing, SQL/embedding storage, semantic search, LLM-powered history analysis, and event-triggered actions - enables building c
npx -y screenpipe@latesttopoteretes/cognee
by topoteretes
📇 🏠 - Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources
npx -y topoteretes-cogneedoobidoo/mcp-memory-service
by doobidoo
📇 🏠 - Universal memory service providing semantic search, persistent storage, and autonomous memory consolidation
uvx CIapecloud/ApeRAG
by apecloud
🐍 ☁️ 🏠 - Production-ready RAG platform combining Graph RAG, vector search, and full-text search. Best choice for building your own Knowledge Graph and for Context Engineering
npx -y apecloud-aperagredis/mcp-redis
by redis
The official Redis MCP Server is a natural-language interface for managing and searching data in Redis from MCP clients. It provides string, hash, list, set, and sorted set tools, pub/sub and Streams tools, JSON document tools, vector index management and vector search through its query engine tools, a tool to search Redis documentation, and a server management tool.
npx -y @modelcontextprotocol/inspectorGovcraft/rust-docs-mcp-server
by Govcraft
MCP server that provides up-to-date documentation for a specific Rust crate to LLM coding assistants. Each instance fetches one crate's documentation, generates embeddings for semantic search, and exposes a query_rust_docs tool that answers questions using summaries of the retrieved docs; multiple instances can run at once for different crates, and an OpenAI API key is required for embeddings and summarization.
npx -y govcraft-rust-docs-mcp-serverhannesrudolph/mcp-ragdocs
by hannesrudolph
🐍 🏠 - An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentatio
npx -y @hannesrudolph/mcp-ragdocsshinpr/mcp-local-rag
by shinpr
📇 🏠 - Privacy-first document search server running entirely locally. Supports semantic search over PDFs, DOCX, TXT, and Markdown files with LanceDB vector storage and local embeddings - no API keys
npx -y -y mcp-local-ragvarun29ankuS/shodh-memory
by varun29ankuS
Shodh-Memory is persistent cognitive memory for AI agents and robots that runs as a single binary with no LLM in the loop, no API keys, and no external databases, so it works fully offline. Storing and recalling memories uses local algorithms only: on-device embeddings, a cross-encoder reranker, and local entity and relation extraction that builds a typed knowledge graph; memories that are used often become easier to recall (Hebbian learning) while irrelevant ones decay. It connects to agents over MCP/HTTP and to robots over Zenoh/ROS2.
npx -y -y @shodh/memory-mcpapify/mcp-server-rag-web-browser
by apify
📇 ☁️ - An MCP server for Apify's open-source RAG Web Browser Actor to perform web searches, scrape URLs, and return content in Markdown.
npx -y @modelcontextprotocol/inspectoraliyun/alibabacloud-tablestore-mcp-server
by aliyun
☕ 🐍 ☁️ - MCP service for Tablestore, features include adding documents, semantic search for documents based on vectors and scalars, RAG-friendly, and serverless.
npx -y aliyun-alibabacloud-tablestore-mcp-servernkapila6/mcp-local-rag
by nkapila6
🏠 🐍 - "primitive" RAG-like web search model context protocol (MCP) server that runs locally. No APIs needed.
npx -y nkapila6-mcp-local-ragomega-memory/omega-memory
by omega-memory
🐍 🏠 🍎 🪟 🐧 - Persistent memory for AI coding agents with semantic search, auto-capture, cross-session learning, and intelligent forgetting. 12 MCP tools, local-first.
npx -y omega-memory-omega-memoryragieai/mcp-server
by ragieai
📇 ☁️ - Retrieve context from your (RAG) knowledge base connected to integrations like Google Drive, Notion, JIRA and more.
npx -y @ragieai/mcp-serverelvismdev/mem0-mcp-selfhosted
by elvismdev
](https://glama.ai/mcp/servers/elvismdev/mem0-mcp-selfhosted) 🐍 🏠 🍎 🪟 🐧 - Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings. Zero
uvx --fromlyonzin/knowledge-rag
by lyonzin
](https://glama.ai/mcp/servers/lyonzin/knowledge-rag) 🐍 🏠 🍎 🪟 🐧 - Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query ex
npx -y -y knowledge-ragaitytech/agentkits-memory
by aitytech
](https://glama.ai/mcp/servers/@aitytech/agentkits-memory) 📇 🏠 🍎 🪟 🐧 - Persistent memory for AI coding assistants with hybrid search (FTS5 + vector embeddings), session tracking, automatic contex
npx -y @aitytech/agentkits-memorycameronrye/openzim-mcp
by cameronrye
🐍 🏠 - Modern, secure MCP server for accessing ZIM format knowledge bases offline. Enables AI models to search and navigate Wikipedia, educational content, and other compressed knowledge archives wit
npx -y cameronrye-openzim-mcpFrequently asked questions
What is the most popular MCP server for RAG & Knowledge Retrieval?
mediar-ai/screenpipe leads this list with 18,541 GitHub stars. 🎖️ 🦀 🏠 🍎 Local-first system capturing screen/audio with timestamped indexing, SQL/embedding storage, semantic search, LLM-powered history analysis, and event-triggered actions - enables building c
Are these RAG & Knowledge Retrieval MCP servers free to use?
18 of the 18 servers here publish a license in the directory (NOASSERTION, Apache-2.0, MIT). 0 of them run as hosted services you can connect to remotely; the rest you install and run yourself. Hosted services may have their own pricing.
How do I choose an MCP server for RAG & Knowledge Retrieval?
Pick a managed pipeline (ApeRAG, Ragie) to move fast, a local RAG server (mcp-local-rag, rust-docs, ragdocs) for private documents, and Redis or Tablestore if you are building on vector storage you already run.
