Skip to content
Agentmart
Submit a tool

MCP Local RAG

Easy-to-setup local RAG server with minimal configuration

Connector by shinpr · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 420
Write a review

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.

We use your email only for this newsletter. Privacy

About

Easy-to-setup local RAG server with minimal configuration

Use cases: knowledge-base

No 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_files
  • query_documents
  • read_chunk_neighbors
  • status

Write 1 · Create, change, send or run things.

  • sync_status

Delete 2 · Delete, drop, revoke or wipe things.

  • delete_file
  • sync_start

Not yet classified 2 · We could not tell from the name and description.

  • ingest_data
  • ingest_file

Secrets and settings it asks for

Other settings (environment variables or headers).

  • BASE_DIR
  • BASE_DIRS
  • CACHE_DIR
  • CHUNK_MIN_LENGTH
  • DB_PATH
  • EMBED_HEADING_PREFIX
  • EMBED_TITLE_PREFIX
  • HF_ENDPOINT
  • IGNORE_PATHS
  • MAX_FILE_SIZE
  • MODEL_NAME
  • RAG_DEVICE
Show 8 more settings
  • RAG_DTYPE
  • RAG_GROUPING
  • RAG_HYBRID_WEIGHT
  • RAG_MAX_DISTANCE
  • RAG_MAX_FILES
  • RAG_RERANK_CMD
  • RAG_RERANK_TIMEOUT_MS
  • STORE_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_file

    Delete 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_data

    Ingest 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_file

    Ingest 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_files

    List 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_documents

    Search 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_neighbors

    Description is built at runtime.

  • status

    Get index status: { documentCount, chunkCount, memoryUsage (MB), uptime (s), ftsIndexEnabled, searchMode }.

  • sync_start

    Reconcile 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_status

    Get 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
    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

    Cite this page

    MCP Local RAG. Agent Mart. https://agentmart.dev/connectors/shinpr-mcp-local-rag (last updated 2026-10-24)