LightRAG MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LightRAG MCPSearch for technical documentation on how the TMS module works"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LightRAG MCP Server
English
A Model Context Protocol (MCP) server that provides a bridge to the LightRAG knowledge base. This allows AI assistants like Claude to query your technical documentation directly.
Features
Knowledge Base Querying: Access your private documents through LightRAG.
Language Support: Built-in support for Traditional Chinese and English.
Flexible Modes: Support for
hybrid,naive,local, andglobalretrieval modes.Easy Configuration: Simple environment variable setup.
Quick Start
Installation
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txtConfiguration Copy
.env.exampleto.envand set:LIGHTRAG_URL: Your LightRAG backend URL.LIGHTRAG_LANG: Default language (zhoren).
Run
python lightrag_mcp.py
Tool: query_knowledge_base
query(string): Search query.mode(string):hybrid(default),naive,local,global.lang(string):zh(Traditional Chinese) oren(English).
Related MCP server: MCP Knowledge Vault Search Tool
正體中文
基於 Model Context Protocol (MCP) 的伺服器,作為 LightRAG 知識庫的橋樑。讓 AI 助手(如 Claude)可以直接查詢您的技術文件。
核心功能
知識庫查詢:透過 LightRAG 存取您的私有文件。
多語言支援:內建支援正體中文與英文。
靈活模式:支援
hybrid、naive、local與global檢索模式。簡易配置:透過環境變數輕鬆設定。
快速啟動
安裝
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt配置 複製
.env.example為.env並設定:LIGHTRAG_URL: LightRAG 後端 URL。LIGHTRAG_LANG: 預設語言 (zh或en)。
執行
python lightrag_mcp.py
工具:query_knowledge_base
query(字串):查詢字句或問題。mode(字串):檢索模式,可選hybrid(預設),naive,local,global。lang(字串):語言切換,可選zh(正體中文) 或en(英文)。
Development / 開發規範
See AGENTS.md for detailed guidelines. / 請參閱 AGENTS.md 了解詳細開發規範。
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables AI assistants to search and retrieve information from your knowledge base using RAG (Retrieval-Augmented Generation) with hybrid search, document indexing, and ChromaDB vector storage.Last updated37MIT
- Flicense-qualityDmaintenanceEnables searching personal knowledge vaults using hybrid semantic and keyword matching through the Fondu Knowledge Vault API. Retrieves and reranks relevant information from personal knowledge bases with flexible authentication options.Last updated
- Alicense-qualityDmaintenanceProvides hybrid search over local markdown knowledge bases using BM25 keyword search and vector semantic search. Enables indexing, querying, and retrieving markdown documentation with dual-mode support for local and remote agents.Last updated31,71513MIT
- AlicenseAqualityAmaintenanceWeb search (embedded SearXNG), content extraction, and library docs indexing with hybrid search. No API keys required.Last updated616MIT
Related MCP Connectors
Search your knowledge bases from any AI assistant using hybrid RAG.
Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.
Token-efficient search for coding agents over public and private documentation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeffreychuuu/lightrag_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server