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

19k ★

🎖️ 🦀 🏠 🍎 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@latest
RustSearch
🔌

topoteretes/cognee

by topoteretes

17k ★Apache-2.0

📇 🏠 - Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources

$npx -y topoteretes-cognee
PythonAI & LLMs
🔌

doobidoo/mcp-memory-service

by doobidoo

1.8k ★Apache-2.0

📇 🏠 - Universal memory service providing semantic search, persistent storage, and autonomous memory consolidation

$uvx CI
PythonSearch
🔌

apecloud/ApeRAG

by apecloud

1.2k ★Apache-2.0

🐍 ☁️ 🏠 - 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-aperag
PythonSearch
🔌

redis/mcp-redis

by redis

503 ★MIT

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/inspector
PythonDatabases
🔌

Govcraft/rust-docs-mcp-server

by Govcraft

273 ★MIT

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-server
RustSearch
🔌

hannesrudolph/mcp-ragdocs

by hannesrudolph

260 ★MIT

🐍 🏠 - 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-ragdocs
TypeScriptSearch
🔌

shinpr/mcp-local-rag

by shinpr

249 ★MIT

📇 🏠 - 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-rag
TypeScriptSearch
🔌

varun29ankuS/shodh-memory

by varun29ankuS

208 ★Apache-2.0

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-mcp
RustAI & LLMs
🔌

apify/mcp-server-rag-web-browser

by apify

203 ★Apache-2.0

📇 ☁️ - 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/inspector
JavaScriptBrowser
🔌

aliyun/alibabacloud-tablestore-mcp-server

by aliyun

156 ★Apache-2.0

☕ 🐍 ☁️ - 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-server
JavaSearch
🔌

nkapila6/mcp-local-rag

by nkapila6

123 ★MIT

🏠 🐍 - "primitive" RAG-like web search model context protocol (MCP) server that runs locally. No APIs needed.

$npx -y nkapila6-mcp-local-rag
PythonSearch
🔌

omega-memory/omega-memory

by omega-memory

113 ★Apache-2.0

🐍 🏠 🍎 🪟 🐧 - 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-memory
PythonSearch
🔌

ragieai/mcp-server

by ragieai

86 ★MIT

📇 ☁️ - Retrieve context from your (RAG) knowledge base connected to integrations like Google Drive, Notion, JIRA and more.

$npx -y @ragieai/mcp-server
JavaScriptDev Tools
🔌

elvismdev/mem0-mcp-selfhosted

by elvismdev

83 ★MIT

](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 --from
PythonSearch
🔌

lyonzin/knowledge-rag

by lyonzin

69 ★MIT

](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-rag
PythonSearch
🔌

aitytech/agentkits-memory

by aitytech

61 ★MIT

](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-memory
TypeScriptSearch
🔌

cameronrye/openzim-mcp

by cameronrye

57 ★MIT

🐍 🏠 - 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-mcp
PythonSearch

Frequently 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.

Best MCP Servers for RAG & Knowledge Retrieval (2026) | Claude Rules