MCP Local RAG
Easy-to-setup local RAG server with minimal configuration
Connector by shinpr · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/shinpr-mcp-local-rag
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: knowledge-base
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 4 read · 1 write · 2 delete · 2 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 9
Read from the source code; the running server may list different tools.
Read 4 · Look things up without changing anything.
list_filesquery_documentsread_chunk_neighborsstatus
Write 1 · Create, change, send or run things.
sync_status
Delete 2 · Delete, drop, revoke or wipe things.
delete_filesync_start
Not yet classified 2 · We could not tell from the name and description.
ingest_dataingest_file
Secrets and settings it asks for
Other settings (environment variables or headers).
BASE_DIRBASE_DIRSCACHE_DIRCHUNK_MIN_LENGTHDB_PATHEMBED_HEADING_PREFIXEMBED_TITLE_PREFIXHF_ENDPOINTIGNORE_PATHSMAX_FILE_SIZEMODEL_NAMERAG_DEVICE
Show 8 more settings
RAG_DTYPERAG_GROUPINGRAG_HYBRID_WEIGHTRAG_MAX_DISTANCERAG_MAX_FILESRAG_RERANK_CMDRAG_RERANK_TIMEOUT_MSSTORE_IMAGES
Files it touches
- Any path the agent passes to its tools
Tools (9)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
delete_fileDelete a previously ingested file or data from the vector database. Use filePath for files ingested via ingest_file, or source for data ingested via ingest_data. Either filePath or source must be provided. Returns deleted (operation succeeded), removedChunks, and existed (whether anything was actually present).
ingest_dataIngest 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_fileIngest 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_filesList 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_documentsSearch 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). Optional sourceContext provides heading paths and original line or physical PDF page ranges; multiple heading paths mean the chunk crosses sections.
read_chunk_neighborsDescription is built at runtime.
statusGet index status: { documentCount, chunkCount, memoryUsage (MB), uptime (s), ftsIndexEnabled, searchMode }.
sync_startReconcile 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 ("fast" or "quality") already recorded for it, so a PDF indexed with VLM captions keeps them; a PDF with no recorded profile stays text-only. There is no option to change a profile here — use the CLI (mcp-local-rag sync --visual) to set one, or ingest_file to replace the file, where a normal ingest clears the recorded profile. Stored images are unrelated: STORE_IMAGES applies to whatever …
sync_statusGet the current or latest sync job record: { jobId, state ("running" | "succeeded" | "failed"), total (null until scanning has counted the files on disk), completed (upserted + skipped + empty; pruned is counted separately), summary { upserted, skipped, empty, pruned }, warnings, error (null unless the job failed) }. An unknown jobId means the job was replaced by a newer one or lost with a previous server process.
Compare and alternatives
Featured in
Signals
- Stars
- 420
- Forks
- 81
- Open issues
- 1
- Contributors
- 11
- Last commit
- Oct 22, 2026 (6 days ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.shinpr/mcp-local-rag- Version
- 0.23.1
- Auth
- No auth
- Packages
- npm mcp-local-rag
- License
- MIT
- Repository
- github.com/shinpr/mcp-local-rag
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Same server elsewhere
Copies of this server published by others; search shows only one of them.
More from shinpr
- 0.785score
MCP Image
shinpr
AI image generation and editing with prompt optimization and quality presets
ConnectorAFreshness: ALocal★ 181Claude Code +5 - 0.665score
Sub Agents MCP
shinpr
MCP server for delegating tasks to specialized AI sub-agents across coding tools
ConnectorAFreshness: ALocal★ 98Claude Code +5
Cite this page
MCP Local RAG. Agent Mart. https://agentmart.dev/connectors/shinpr-mcp-local-rag (last updated 2026-10-24)