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

MCP server · Audited from source

Local RAG MCP server

by shinpr/mcp-local-ragMIT licenceAudited 2 Oct 2026 · source c7d0d3c39c80

npm mcp-local-rag 0.20.0stdio★ 405
✓SAFEGrade B · 89/100 · 2 Oct 2026 · c7d0d3c
405GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 7 tools: 5 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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Local RAG MCP server (shinpr/mcp-local-rag)”. Retrieved 2 Oct 2026. https://modelsatlas.com/mcp/shinpr/local-rag-1

2 MCP servers are called Local RAG. This is the one we pick. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 2 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium12 low0 info

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
  • NetworkDeclared1 observation
  • 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

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

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 npmmcp-local-rag at version 0.20.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit readc7d0d3c39c80The audit covers exactly this commit, read on 2 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory7 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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
it('should reject ~/.ssh paths', () => {
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:416
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
it('should reject ~/.gnupg paths', () => {
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/__tests__/cli/options.test.ts:420
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
'/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/wAALCAABAAEBAREA/8QAFAABAAAAAAAAAAAAAAAAAAAACf/EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gA
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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

7 declared in source · 0 destructive

5 read2 write0 destructive
ToolRiskWhat it does
sync_startwriteReconcile 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_statuswriteGet the current or latest sync job record: { jobId, state (
ingest_datareadIngest 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_filereadIngest 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_filesreadList 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_documentsreadSearch ingested documents with hybrid keyword + semantic matching. Use the returned order as the ranking; score may disagree with it. Each has filePath, chunkIndex, text, fileTitle, score (lower is closer), and source (for ingest_data items).
statusreadGet index status: { documentCount, chunkCount, memoryUsage (MB), uptime (s), ftsIndexEnabled, searchMode }.

Install

Package version 0.20.0 · audited commit c7d0d3c

claude mcp add mcp-local-rag -- npx -y [email protected]

The command pins the package version recorded in the source (0.20.0); the audit covers commit c7d0d3c39c80. Transport: stdio. No environment variables required.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · c7d0d3c39c80

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/shinpr/local-rag-1/badge.svg)](https://modelsatlas.com/mcp/shinpr/local-rag-1/)

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 Local RAG MCP server

What is the Local RAG MCP server?
Local-first RAG server for developers. Semantic + keyword search for code and technical docs. Works with MCP or CLI. Fully private, zero setup.
What tools does Local RAG expose?
7 in total: 5 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Local RAG safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Local RAG need?
No credential environment variables were found in its source, so it appears to need none.
How does Local RAG run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-local-rag at 0.20.0.
How current is this page?
The grade is for one exact copy of the source (c7d0d3c39c80), read on 2026-10-02. The repository is watched and re-audited when it changes.
Which Local RAG MCP server is the right one?
shinpr/mcp-local-rag (this page). 2 servers share the name; see the side-by-side comparison.

Sources

  • shinpr/mcp-local-rag on GitHub — the source we read, its licence, stars and activityObserved · 2 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit c7d0d3c39c80Observed · 2 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.