Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Daniel LightRAG MCP server

by desimpkins/daniel-lightrag-mcpMIT licenceAudited 8 Oct 2026 · source c89a3ad65572

PyPI daniel-lightrag-mcpstdio★ 37
!CAUTIONGrade B · 89/100 · 8 Oct 2026 · c89a3ad
37GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 21 tools: 13 read, 5 write and 3 destructive. The audit recorded 5 findings (0 critical, 0 high, 3 medium, 1 low). Maintainer's description: A comprehensive MCP server for LightRAG integration with 22 tools for document management, querying, knowledge graph operations, and system management

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Daniel LightRAG MCP server (desimpkins/daniel-lightrag-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/desimpkins/daniel-lightrag

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high3 medium1 low1 info

5 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 3 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner desimpkinsUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIdaniel-lightrag-mcp, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push14 months agoActivity of the repository when we read it.
  • Source commit readc89a3ad65572The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory21 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (5)

Sorted by severity

MEDIUMInformation disclosuredisclose.log_secret · src/daniel_lightrag_mcp/server.py:863
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(f"  - api_key: {'***REDACTED***' if api_key else 'None'}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/daniel_lightrag_mcp/server.py:874
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(f"  - Client has API key: {lightrag_client.api_key is not None}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_document, delete_entity, delete_relation
Why
3 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInformation disclosuredisclose.log_secret · archive/testing_scripts/test_lightrag_connection.py:22
F-12 Information disclosureCWE-209 · CWE-532Layer L1
print(f"Using API key: {api_key[:10] + '...' if api_key else 'None'}")
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · archive/development_docs/implementation_plan.md:65
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
This MCP server will allow you to interact with your LightRAG instance through any MCP-compatible client, providing full access to document management, querying, and knowledge graph operations.
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

21 declared in source · 3 destructive

13 read5 write3 destructive

3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_documentdestructiveDelete a specific document by ID
delete_entitydestructiveDelete an entity from the knowledge graph
delete_relationdestructiveDelete a relation from the knowledge graph
insert_textwriteInsert text content into LightRAG
insert_textswriteInsert multiple text documents into LightRAG
update_entitywriteUpdate an entity in the knowledge graph
update_relationwriteUpdate a relation in the knowledge graph
upload_documentwriteUpload a document file to LightRAG
check_entity_existsreadCheck if an entity exists in the knowledge graph
get_document_status_countsreadGet document status counts
get_documentsreadRetrieve all documents from LightRAG
get_documents_paginatedreadRetrieve documents with pagination. IMPORTANT: page_size must be 10-100 (server enforces minimum for performance). Use page_size=20 for typical browsing.
get_graph_labelsreadGet labels from the knowledge graph
get_healthreadCheck LightRAG server health
get_knowledge_graphreadRetrieve the knowledge graph from LightRAG
get_pipeline_statusreadGet the pipeline status from LightRAG
get_track_statusreadGet track status by ID
helloreadSay hello
query_textreadQuery LightRAG with text
query_text_streamreadStream query results from LightRAG
scan_documentsreadScan for new documents in LightRAG

Install

audited commit c89a3ad

Read the findings first. The most severe is Information disclosure (medium) at src/daniel_lightrag_mcp/server.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit c89a3ad only.

claude mcp add daniel-lightrag-mcp --env LIGHTRAG_API_KEY=${LIGHTRAG_API_KEY} -- uvx daniel-lightrag-mcp

The command does not pin a version; the audit covers commit c89a3ad65572. Transport: stdio. Reads this environment variable: LIGHTRAG_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · c89a3ad65572

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/desimpkins/daniel-lightrag/badge.svg)](https://modelsatlas.com/mcp/desimpkins/daniel-lightrag/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Daniel LightRAG MCP server

What is the Daniel LightRAG MCP server?
A comprehensive MCP server for LightRAG integration with 22 tools for document management, querying, knowledge graph operations, and system management
What tools does Daniel LightRAG expose?
21 in total: 13 read-only, 5 that write, and 3 that can delete or overwrite (delete_document, delete_entity, delete_relation). Every one is listed on this page with its risk.
Is Daniel LightRAG safe to connect to an agent?
With care. The audit graded it B (89/100) and found 5 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Daniel LightRAG need?
It reads LIGHTRAG_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Daniel LightRAG run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as daniel-lightrag-mcp.
How current is this page?
The grade is for one exact copy of the source (c89a3ad65572), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • desimpkins/daniel-lightrag-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit c89a3ad65572Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.