Back to Home
shinpr icon

mcp-local-rag

Verified Safe

by shinpr

Overview

A privacy-first, local document search server that leverages semantic search for Model Context Protocol (MCP) clients.

Installation

Run Command
npx -y mcp-local-rag

Security Notes

The server is explicitly designed for privacy and local-only operation, with no external network requests made after the initial embedding model download. It implements robust path validation to prevent directory traversal attacks by restricting file access to the user-defined BASE_DIR. Configuration relies on environment variables with sensible defaults, avoiding hardcoded secrets. Error messages are designed to suppress stack traces in a production environment (NODE_ENV=production), enhancing security by not exposing internal details. The embedding model is sourced from HuggingFace's official repository, and its integrity is verifiable.

Similar Servers

Stats

Interest Score60
Security Score9
Cost ClassLow
Avg Tokens30
Stars30
Forks8
Last Update2025-12-05

Tags

RAGVector SearchLocal AIPrivacySemantic Search