MCP server · Audited from source
mcp-local-rag
by shinpr/mcp-local-ragMIT licenceAudited 12 Oct 2026 · source 1307bb775518
Is it safe? Yes — SAFE, grade B (89/100). It exposes 6 tools: 4 read, 2 write and 0 destructive. The audit recorded 12 findings (0 critical, 0 high, 0 medium, 12 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. “mcp-local-rag (shinpr/mcp-local-rag)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/shinpr/mcp-local-rag
Trust audit
Audit 0.4.1 · full source read 12 Oct 2026
12 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
- FilesystemNone observedNothing seen in the source
- NetworkDeclared2 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 | PASS 11 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
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
shinprUser accountAccount type recorded when we read the repository. - PackagePublished on npm
mcp-local-ragat version 0.21.3 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit read1307bb775518The audit covers exactly this commit, read on 12 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory6 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 (12)
Sorted by severity
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:415
it('should reject ~/.ssh paths', () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:416
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:419
it('should reject ~/.gnupg paths', () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:420
expect(validatePath('~/.gnupg/data', '--cache-dir')).toContain('sensitive system path')- Why
- touches a credential store
- 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:28
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:34
let createEmbedder: typeof import('../../cli/common.js').createEmbedder- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli/common.test.ts:35
let createVectorStore: typeof import('../../cli/common.js').createVectorStore- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli/common.test.ts:36
let formatCliError: typeof import('../../cli/common.js').formatCliError- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · src/server/__tests__/rag-server.protocol.integration.test.ts:91
'/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/wAALCAABAAEBAREA/8QAFAABAAAAAAAAAAAAAAAAAAAACf/EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gA
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@huggingface/transformers, @lancedb/lancedb, @modelcontextprotocol/sdk, jsdom, jszip, mammoth, mupdf, @types/jsdom
- Why
- 17 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
6 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
sync_start | write | Reconcile the index with the files on disk: ingest new and changed files, leave unchanged files alone, and remove index entries for files that are gone. Each changed PDF is re-ingested with the visual profile ( |
sync_status | write | Get the current or latest sync job record: { jobId, state ( |
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_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.). |
status | read | Get index status: { documentCount, chunkCount, memoryUsage (MB), uptime (s), ftsIndexEnabled, searchMode }. |
Install
Package version 0.21.3 · audited commit 1307bb7
claude mcp add mcp-local-rag -- npx -y [email protected]
The command pins the package version recorded in the source (0.21.3); the audit covers commit 1307bb775518. Transport: stdio. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
1307bb775518
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/shinpr/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 mcp-local-rag
What is the mcp-local-rag MCP server?
What tools does mcp-local-rag expose?
Is mcp-local-rag safe to connect to an agent?
What credentials does mcp-local-rag need?
How does mcp-local-rag run?
How current is this page?
Sources
- shinpr/mcp-local-rag on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 1307bb775518Observed · 12 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 mcp-local-rag MCP server?
- What tools does mcp-local-rag expose?
- Is mcp-local-rag safe to connect to an agent?