Atlas / MCP servers / nkapila6 / Local Rag

Local RagSAFE

mcp/nkapila6/local-rag

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
5 5r · 0w · 0d
Transport
—
License
MIT
Stars
134
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

A RAG-based web search and deep research model context protocol (MCP) server that runs entirely locally. Features multi-engine research across 9+ search backends with semantic similarity ranking, and requires no API keys.

[](https://codespaces.new/nkapila6/mcp-local-rag)

[](https://lmstudio.ai/install-mcp?name=mcp-local-rag&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyItLXB5dGhvbj0zLjEwIiwiLS1mcm9tIiwiZ2l0K2h0dHBzOi8vZ2l0aHViLmNvbS9ua2FwaWxhNi9tY3AtbG9jYWwtcmFnIiwibWNwLWxvY2FsLXJhZyJdfQ%3D%3D)

[](https://deepwiki.com/nkapila6/mcp-local-rag)

  • Features
  • Multi-Engine Deep Research
  • Installation
  • Run Directly via uvx
  • Using Docker (recommended)
  • Agent Skills
  • Security audits
  • MCP Clients
  • Examples on Claude Desktop
  • Result
  • Contributing
  • License
%%{init: {'theme': 'base'}}%%
flowchart TD
A[User] -->|1.Submits LLM Query| B[Language Model]
B -->|2.Sends Query| C[mcp-local-rag Tool]

subgraph mcp-local-rag Processing
C -->|Search DuckDuckGo| D[Fetch 10 search results]
D -->|Fetch Embeddings| E[Embeddings from Google's MediaPipe Text Embedder]
E -->|Compute Similarity| F[Rank Entries Against Query]
F -->|Select top k results| G[Context Extraction from URL]
end

G -->|Returns Markdown from HTM
Read from source at commit cf7cbd3156f8OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add local-rag-search -- npx -y @mcp-local-rag/[email protected]
claude-desktop
{
  "mcpServers": {
    "local-rag-search": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-local-rag/[email protected]"
      ]
    }
  }
}
03

Exposed tools (5)

5 read · 0 write · 0 destructive.

ToolRiskDescription
deep_researchread
deep_research_ddgsread
deep_research_googleread
rag_search_ddgsread
rag_search_googleread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (2)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.envrc
.envrc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
INFOInventory / provenance · inv.oversize · CWE-1104
src/mcp_local_rag/embedder/embedder.tflite
src/mcp_local_rag/embedder/embedder.tflite
Why it matters. 26142232 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha cf7cbd3156f8full audit observations/trust-audit/mcp-server/nkapila6__local-rag.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07cf7cbd3156f8SAFEB89first audit
06

Questions

What is the Local Rag MCP server?

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

What tools does Local Rag expose?

5 in total: 5 read-only, 0 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 current is this page?

The grade is for one exact copy of the source (cf7cbd3156f8), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement