LightRAG

•

Connects Model Context Protocol (MCP) compatible AI clients with the LightRAG API, providing access to 30 knowledge graph RAG tools.

This tool acts as a crucial bridge, enabling a variety of AI clients such as n8n, Claude Desktop, and Zed to seamlessly interact with a running LightRAG server. It implements the Model Context Protocol (MCP), exposing a comprehensive suite of 30 specialized tools that cover all major LightRAG API endpoints. These tools facilitate advanced knowledge graph operations, efficient document management, and sophisticated RAG queries. The server supports flexible communication via HTTP+SSE for remote integrations and stdio for local desktop applications, and incorporates LightRAG's workspace functionality to manage distinct, isolated knowledge bases, thereby empowering AI clients with deep access to knowledge management capabilities.

主要功能

01Enables workspace support, allowing tools to target specific, isolated knowledge bases.
02Offers Docker daemon functionality for robust background operation, surviving reboots and crashes.
03Ensures graceful shutdown of the server and connections upon termination signals.
040 GitHub stars
05Supports two transport modes: HTTP+SSE for n8n/remote clients and stdio for local desktop clients.
06Provides 30 tools for LightRAG API, covering queries, document management, and knowledge graph operations.

使用案例

01Integrating LightRAG's knowledge graph and RAG capabilities into n8n workflows and automations.
02Enabling AI clients like Claude Desktop, Zed, or Cursor to interact with LightRAG for advanced querying.
03Automating the insertion, management, and querying of documents within LightRAG's knowledge bases programmatically.