Local RagSAFE
"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨
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 HTMcf7cbd3156f8OBSERVED · 2026-10-07Connect
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 mcp add local-rag-search -- npx -y @mcp-local-rag/[email protected]
{
"mcpServers": {
"local-rag-search": {
"command": "npx",
"args": [
"-y",
"@mcp-local-rag/[email protected]"
]
}
}
}Exposed tools (5)
5 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
deep_research | read | |
deep_research_ddgs | read | |
deep_research_google | read | |
rag_search_ddgs | read | |
rag_search_google | read |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (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)
.envrc
src/mcp_local_rag/embedder/embedder.tflite
Gates applied: no_behavioural_pass.
cf7cbd3156f8full audit observations/trust-audit/mcp-server/nkapila6__local-rag.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | cf7cbd3156f8 | SAFE | B | 89 | first audit |
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.