MCPVault

query

MCP tool from Daniel Lightrag MCP by desimpkins

(required): Query text

How to use it

query is exposed by the Daniel Lightrag MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Daniel Lightrag MCP

$pip install -e .
FULL DANIEL LIGHTRAG MCP LISTING

Other tools in Daniel Lightrag MCP (35)

check_entity_exists

Check if an entity exists in the knowledge graph.

clear_cache

Clear LightRAG cache.

clear_documents

Clear all documents from LightRAG.

delete_document

Delete a specific document by ID.

delete_entity

Delete an entity from the knowledge graph.

delete_relation

Delete a relation from the knowledge graph.

document_id

(required): ID of the document to delete

entity_id

(required): ID of the entity to update

entity_name

(required): Name of the entity to check

file_path

(required): Path to the file to upload

get_document_status_counts

Get document status counts.

get_documents

Retrieve all documents from LightRAG.

get_documents_paginated

Retrieve documents with pagination.

get_graph_labels

Get labels from the knowledge graph.

get_health

Check LightRAG server health.

get_knowledge_graph

Retrieve the knowledge graph from LightRAG.

get_pipeline_status

Get the pipeline status from LightRAG.

get_track_status

Get track status by ID.

insert_text

Insert text content into LightRAG.

insert_texts

Insert multiple text documents into LightRAG.

mode

(optional): Query mode - "naive", "local", "global", or "hybrid" (default: "hybrid")

only_need_context

(optional): Whether to only return context without generation (default: false)

page

(required): Page number (1-based)

page_size

(required): Number of documents per page (1-100)

properties

(required): Properties to update

query_text

Query LightRAG with text.

query_text_stream

Stream query results from LightRAG.

relation_id

(required): ID of the relation to update

scan_documents

Scan for new documents in LightRAG.

text

(required): Text content to insert

texts

(required): Array of text documents with optional title and metadata

track_id

(required): ID of the track to get status for

update_entity

Update an entity in the knowledge graph.

update_relation

Update a relation in the knowledge graph.

upload_document

Upload a document file to LightRAG.