MCP server · Audited from source
damoqiongqiu-local-rag MCP server
by damoqiongqiu/mcp-local-ragMIT licenceAudited 11 Oct 2026 · source 57b5597aef5e
Is it safe? With care — CAUTION, grade B (89/100). It exposes 12 tools: 10 read, 1 write and 1 destructive. The audit recorded 17 findings (0 critical, 0 high, 2 medium, 15 low). Maintainer's description: Local-first RAG server for developers. Semantic + keyword search for code and technical docs. Works with MCP or CLI. Fully private, zero setup.
Cite
Cite this page
ModelsAtlas. “damoqiongqiu-local-rag MCP server (damoqiongqiu/mcp-local-rag)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/damoqiongqiu/mcp-local-rag
Trust audit
Audit 0.4.1 · full source read 11 Oct 2026
17 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
- NetworkDeclared4 observations
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- 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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 15 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
damoqiongqiuUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@damoqiongqiu/mcp-local-ragat version 0.21.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push3 months agoActivity of the repository when we read it.
- Source commit read57b5597aef5eThe audit covers exactly this commit, read on 11 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 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 (17)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · skills/mcp-local-rag/setup/SKILL.md:71
export HTTPS_PROXY=http://127.0.0.1:7890
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
reindex_all
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · tests/fixtures/sample-e2e.docx
sample-e2e.docx
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:312
it('should reject ~/.ssh paths', () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:313
expect(validatePath('~/.ssh/keys', '--db-path')).toContain('sensitive system path')- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:316
it('should reject ~/.gnupg paths', () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:317
expect(validatePath('~/.gnupg/data', '--cache-dir')).toContain('sensitive system path')- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/bin/install-skills.test.ts:5
let run: typeof import('../../bin/install-skills.js').run- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/bin/install-skills.test.ts:25
;({ run } = await import('../../bin/install-skills.js'))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli/cli-error-shim.ts:6
import { getCauseChain } from '../../utils/errors.js'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli/common.test.ts:29
const MOCKED_PATHS = ['../../vectordb/index.js', '../../embedder/index.js'] as const
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli/common.test.ts:35
let createEmbedder: typeof import('../../cli/common.js').createEmbedder- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:498
"env": { "HTTPS_PROXY": "http://127.0.0.1:7890" }- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README_CN.md:497
"env": { "HTTPS_PROXY": "http://127.0.0.1:7890" }- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · skills/mcp-local-rag/SKILL.flat.md:460
export HTTPS_PROXY=http://127.0.0.1:7890
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · skills/mcp-local-rag/SKILL.flat.md:461
export HTTP_PROXY=http://127.0.0.1:7890
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@huggingface/transformers, @lancedb/lancedb, @modelcontextprotocol/sdk, chokidar, code-chunk, ignore, jsdom, mammoth
- Why
- 22 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
12 declared in source · 1 destructive
1 tool 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.
| Tool | Risk | What it does |
|---|---|---|
reindex_all | destructive | Re-ingest ALL indexed files from scratch. Delete existing chunks, then re-ingest every previously-indexed file. Use after changing the embedding model, chunker parameters, or when the index is corrupted. This is a slow, destructive operation — prefer reindex_stale for routine updates. |
config | write | Read or update runtime configuration. Without arguments, returns current config (hybridWeight, maxDistance, maxFiles, grouping). With arguments, updates the specified keys and returns the new config. Changes take effect immediately — no restart required. |
dedup_check | read | Detect near-duplicate documents in the index by computing content hashes for every chunk. Returns file pairs with high chunk overlap, sorted by similarity. Use to identify accidentally duplicated or re-ingested content. |
export_index | read | Export the current index to a JSON file for backup or migration. Returns the export file path and stats (document count, chunk count, file size). The exported file can be re-imported with a future import_index tool. |
health_check | read | Diagnose server health and configuration. Checks embedder (model loaded?), LanceDB (readable?), BASE_DIRs (reachable on disk?), and cache directory (writable?). Returns structured pass/fail results with a human-readable summary and per-check fix suggestions for any failures. |
ingest_data | read | Ingest in-memory content as a string (use ingest_file for files on disk). The source identifier enables re-ingestion to update existing content. Returns { filePath, chunkCount, timestamp, fileTitle }. |
ingest_directory | read | Batch ingest all supported files in a directory. Recursively scans for code and document files under the given path, ingesting each one with AST-level (code) / semantic chunking. Returns per-file status plus totals. Use this for initial bulk ingestion or after deleting the database. |
ingest_file | read | Ingest a document file (PDF, DOCX, TXT, MD) into the vector database. Path must be absolute; re-ingesting the same path replaces its existing data. Returns { filePath, chunkCount, timestamp, fileTitle }. |
list_files | read | List supported files (PDF, DOCX, TXT, MD) under the configured base directories and whether each is ingested. Returns { baseDirs, files, sources }; sources lists ingested items reported apart from the file scan, chiefly ingest_data content (web pages, clipboard, etc.). |
query_documents | read | Search ingested documents with hybrid keyword + semantic matching. Returns results sorted by relevance, each with filePath, chunkIndex, text, fileTitle, score (0 = best, higher = worse), and source (for ingest_data items). |
reindex_stale | read | Re-ingest all files whose disk contents have changed since the last ingestion (detected via mtime comparison). Returns the count of stale files that were re-ingested. Use when you know files have been modified but the index is out of date. |
status | read | Get index status: { documentCount, chunkCount, memoryUsage (MB), uptime (s), ftsIndexEnabled, searchMode, instances }. When multiple instances are configured, pass instance name for per-instance status. |
Install
Package version 0.21.0 · audited commit 57b5597
Read the findings first. The most severe is Network egress (medium) at skills/mcp-local-rag/setup/SKILL.md.
claude mcp add mcp-local-rag -- npx -y @damoqiongqiu/[email protected]
The command pins the package version recorded in the source (0.21.0); the audit covers commit 57b5597aef5e. Transport: stdio. No environment variables required.
Audit history
- !CAUTION B 89 / 100
First audit ·
57b5597aef5e
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/damoqiongqiu/mcp-local-rag/)
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 damoqiongqiu-local-rag MCP server
What is the damoqiongqiu-local-rag MCP server?
What tools does damoqiongqiu-local-rag expose?
Is damoqiongqiu-local-rag safe to connect to an agent?
What credentials does damoqiongqiu-local-rag need?
How does damoqiongqiu-local-rag run?
How current is this page?
Sources
- damoqiongqiu/mcp-local-rag on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 57b5597aef5eObserved · 11 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.
- What is the damoqiongqiu-local-rag MCP server?
- What tools does damoqiongqiu-local-rag expose?
- Is damoqiongqiu-local-rag safe to connect to an agent?