Back to Catalog

lightrag-mcp

brojd/lightrag-mcp
Python
Knowledge

MCP server that bridges LightRAG API with MCP-compatible clients, enabling RAG capabilities including semantic queries, document management, and knowledge graph operations. Supports HTTPS for remote deployments.

GitHub Metrics
Repository statistics and activity
⭐ GitHub Stars:0
👥 Contributors:1
📋 Total Issues:0
📦 Has Releases:No
🔧 Has CI/CD Pipeline:No
Configuration
Configuration example extracted from README.md for Claude Desktop and other clients.
{
  "lightrag-mcp": {
    "command": "uvx",
    "args": [
      "--from",
      "git+https://github.com/brojd/lightrag-mcp",
      "lightrag-mcp",
      "--scheme",
      "${input:scheme}",
      "--host",
      "${input:host}",
      "--port",
      "${input:port}",
      "--api-key",
      "${input:api_key}"
    ],
    "env": {}
  }
}
README.md

LightRAG MCP Server

A bridge application that connects LightRAG (Retrieval-Augmented Generation) API with MCP-compatible clients.

Features

  • Information Retrieval: Execute semantic and keyword queries to documents
  • Document Management: Upload, index, and track document processing status
  • Knowledge Graph Operations: Manage entities and relationships
  • Monitoring: Check API health and document processing progress
  • HTTPS Support: Connect to remote LightRAG deployments securely

Prerequisites

  • Python 3.11+
  • Running LightRAG API server

Installation

uvx lightrag-mcp --scheme https --host lightrag.example.com --port 443 --api-key YOUR_KEY

Configuration

  • --scheme: HTTP scheme, either http or https (default: http)
  • --host: LightRAG API host (default: localhost)
  • --port: LightRAG API port (default: 9621)
  • --api-key: Optional API authentication key
  • --no-verify-ssl: Disable SSL certificate verification for HTTPS