Home / MCP servers / Knowledge & memory / knowledge-rag

knowledge-rag

knowledge-rag is a MCP server by lyonzin that offline RAG for Claude Code with hybrid BM25 and semantic search, cross-encoder reranking, Markdown-aware chunking and query expansion.

Updated 2026-10-16

What is knowledge-rag?

knowledge-rag is a MCP server by lyonzin that offline RAG for Claude Code with hybrid BM25 and semantic search, cross-encoder reranking, Markdown-aware chunking and query expansion. It is listed under Knowledge & memory and has 297 GitHub stars.

TypeMcp server
Authorlyonzin
Repositorylyonzin/knowledge-rag
Popularity297 GitHub stars
CategoryKnowledge & memory
SecurityLow risk (96/100)
Rank#331 of 4,418 MCP servers; #30 in Knowledge & memory
LicenseMIT
Last commit2026-10-16
Stars this week+4
RunsLocally
LanguagePython
PlatformsmacOS, Windows, Linux

Is knowledge-rag safe to install?

knowledge-rag scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Read-only by descriptionPass
No code executionPass
Source on GitHubPass

How do I install knowledge-rag?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/lyonzin/knowledge-rag
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add knowledge-rag -- <command from README>
    claude mcp add --transport http knowledge-rag <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs knowledge-rag for you:

Add the "knowledge-rag" MCP server from https://github.com/lyonzin/knowledge-rag to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.