Connection check
local install
lightragmcp
Model Context Protocol (MCP) server for LightRAG - 30+ tools for RAG and Knowledge Graph operations. Easy installation via npx or uvx.
Tools
30
GitHub stars
9
Installs / wk
79
Licence
MIT
Transport
stdio
Last checked
never
Tools & capabilities
30 toolsRead from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.
cancel_pipeline
from source
Cancel the currently running pipeline Cancel the currently running pipeline
check_entity_exists
from source
Check if an entity exists in the knowledge graph Check if an entity exists in the knowledge graph
clear_cache
from source
Clear LightRAG internal cache Clear LightRAG internal cache
clear_documents
from source
Clear all documents from LightRAG Clear all documents from LightRAG
create_entity
from source
Create a new entity in the knowledge graph Create a new entity in the knowledge graph
create_relation
from source
Create a new relationship between entities Create a new relationship between entities
delete_document
from source
Delete specific documents by IDs Delete specific documents by IDs
delete_entity
from source
Delete an entity from the knowledge graph Delete an entity from the knowledge graph
delete_relation
from source
Delete a relationship from the knowledge graph Delete a relationship from the knowledge graph
get_documents
from source
Retrieve all documents from LightRAG Retrieve all documents from LightRAG
get_documents_paginated
from source
Retrieve documents with pagination Retrieve documents with pagination
get_document_status_counts
from source
Get document status counts Get document status counts
get_graph_labels
from source
Get all graph labels Get all graph labels
get_health
from source
Check LightRAG server health status Check LightRAG server health status
get_knowledge_graph
from source
Retrieve knowledge graph for a specific label or all entities Retrieve knowledge graph for a specific label or all entities
get_pipeline_status
from source
Get the processing pipeline status Get the processing pipeline status
get_popular_labels
from source
Get popular labels by node degree Get popular labels by node degree
get_track_status
from source
Get track status by ID Get track status by ID
insert_text
from source
Insert a single text document into LightRAG Insert a single text document into LightRAG
insert_texts
from source
Insert multiple text documents into LightRAG in batch Insert multiple text documents into LightRAG in batch
merge_entities
from source
Merge multiple entities into a single entity Merge multiple entities into a single entity
query_data
from source
Get raw retrieval data (entities, relations, chunks) without LLM generation Get raw retrieval data (entities, relations, chunks) without LLM generation
query_text
from source
Query LightRAG with text using various retrieval modes Query LightRAG with text using various retrieval modes
query_text_stream
from source
Stream query results from LightRAG in real-time Stream query results from LightRAG in real-time
reprocess_failed_documents
from source
Reprocess failed and pending documents Reprocess failed and pending documents
scan_documents
from source
Scan for new documents in the configured directory Scan for new documents in the configured directory
search_labels
from source
Search labels with fuzzy matching Search labels with fuzzy matching
update_entity
from source
Update an entity in the knowledge graph Update an entity in the knowledge graph
update_relation
from source
Update a relationship in the knowledge graph Update a relationship in the knowledge graph
upload_document
from source