Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Ā© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. MCP Local Rag
MCP Local Rag logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 6:46:51 PM

MCP Local Rag

User RatingsBe the first to rate and review this MCP server!
View Repository390 GitHub StarsTotal stargazers on GitHub for the source repository (390 stars).Visit Website
raglocal-searchdocumentsmcp

Indexes private documents locally for hybrid semantic and keyword search through MCP or a CLI.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON ā–¾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "shinpr-mcp-local-rag": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-local-rag"
      ]
    }
  }
}

šŸ’” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (9) Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Overview

shinpr/mcp-local-rag MCP server indexes PDF, DOCX, TXT, Markdown, and client-provided HTML locally for document search. It combines local embedding-based similarity with keyword boosting and stores vectors in LanceDB, without API keys or cloud services. Configure a document root with `BASE_DIR`, start it over MCP stdio, and sync files before querying. Reach for it when documents must remain on the local machine or when exact technical terms need to rank alongside semantic matches.

Use cases

•Index private documentation for local agent search
•Search API references by concepts and exact error codes
•Sync a document directory and remove stale index entries
•Ingest fetched HTML without sending it to an embedding API

Key features

•Local PDF, DOCX, TXT, and Markdown indexing
•Hybrid semantic search with keyword boosting
•LanceDB vector storage with local embeddings
•MCP stdio server and terminal CLI
•Chunk-neighbor context retrieval
•Optional PDF visual captions and image storage

Capabilities & Tool Schemas (9) ~120 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Local Rag.

sync_start

Reconcile the index with all configured roots or one path

sync_status

Poll a running sync job

ingest_file

Ingest or replace one file

ingest_data

Ingest text, Markdown, or HTML already held by the client

query_documents

Search with semantic matching and keyword boost

read_chunk_neighbors

Read surrounding chunks from a search result

How MCP Local Rag works

What shinpr/mcp-local-rag MCP server does

shinpr/mcp-local-rag MCP server creates a local searchable index for PDF, DOCX, TXT, and Markdown files. It can also index plain text, Markdown, or HTML supplied by an MCP client through ingest_data. HTML is cleaned and converted to Markdown after the client provides it; fetching web pages is not built into the server.

Search combines semantic similarity with keyword matching. This allows natural-language queries to find related passages while giving additional weight to exact terms such as API names, class names, and error codes. The index uses LanceDB vector storage and local Hugging Face embedding models. After the initial embedding model download, ingestion and search can run offline.

How it works

Configure one or more document roots and use sync_start to reconcile their contents with the index. The sync operation adds new files, replaces changed files, skips byte-identical files, and removes entries for files that no longer exist. It returns a job ID, which clients can pass to sync_status until the job succeeds or fails. Only one sync job record is retained by a running server process.

For individual documents, ingest_file accepts absolute paths inside a configured root and replaces prior chunks when the same path is ingested again. ingest_data stores client-held content under a source identifier; reusing that identifier updates the existing item.

query_documents returns matching text with source details, chunk indexes, titles, and relevance scores. When a result needs more context, read_chunk_neighbors retrieves surrounding chunks using the result identity. list_files, delete_file, and status provide index and ingestion-state management.

Setup and configuration

shinpr/mcp-local-rag MCP server requires Node.js 22 or later. Start it with npx -y mcp-local-rag and set BASE_DIR to an absolute document directory. The configured root also acts as the boundary for file operations. The first use needs internet access to download the npm package and the default embedding model, which is about 90 MB; subsequent runs use the local cache.

The server communicates over local MCP stdio and can be registered with clients that support local MCP servers. The README provides a Cursor configuration using the npx command and BASE_DIR. A CLI is also available for direct use from a terminal, including ingest and query commands. The CLI defaults to the current directory, or can use explicit BASE_DIR and DB_PATH values.

Tools and capabilities

  • sync_start and sync_status manage asynchronous directory synchronization.
  • ingest_file adds or replaces a supported local file.
  • ingest_data indexes text, Markdown, or HTML already held by the client.
  • query_documents performs hybrid semantic and keyword search.
  • read_chunk_neighbors retrieves context around a result.
  • list_files, delete_file, and status inspect or manage the index.
  • Optional PDF visual captions use a local vision model; STORE_IMAGES=true enables image storage for supported new or changed files selected by sync.

Limitations and notes

File ingestion does not support Excel, PowerPoint, standalone images, or source-code file extensions. PDF visual processing is not OCR or image search. DOCX image storage covers PNG and JPEG images emitted by the existing conversion path, not charts, SmartArt, or shapes. Changed files keep the visual profile used when they were indexed, and a later sync cannot change that profile. Sync records are lost when the server restarts.

External HTML must be fetched by the MCP client, and users should follow the source site's terms and copyright requirements when indexing it. No API key, Docker, Python, or external database is required.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    ā˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP →
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP →
  • Knowledge Rag logoKnowledge Rag

    Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 28 MCP tools. Runs entirely offline with zero external servers.

    🧠 Knowledge & Memory3 views
    Compare vs Knowledge Rag →
  • Graphlit MCP Server logoGraphlit MCP Server

    Ingest anything from Slack, Discord, websites, Google Drive, Linear or GitHub into a Graphlit project - and then search and retrieve relevant knowledge within an MCP client like Cursor, Windsurf or Cline.

    🧠 Knowledge & Memory4 views
    Compare vs Graphlit MCP Server →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
390
Stargazers on the source repository.
npm downloads
15k
Package downloads in the last 30 days.
Last commit
Today
Most recent push to the default branch.
Tools exposed
9
Callable tools this server registers over MCP.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Local Rag

Run `npx -y mcp-local-rag` with Node.js 22 or later, and set the required `BASE_DIR` environment variable to the document root.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Local Rag AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/shinpr-mcp-local-rag?style=directory)](https://allmcps.com/mcp/shinpr-mcp-local-rag)
HTML Embed
<a href="https://allmcps.com/mcp/shinpr-mcp-local-rag"><img src="https://allmcps.com/api/badge/shinpr-mcp-local-rag?style=directory" alt="MCP Local Rag on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
PricingFree
More technical detailsExpand ā–¾
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsCursor
Last updatedSep 11, 2026
9/10 checks healthy over the last 32d
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars390
GitHub Star CountTotal stargazers on GitHub representing community popularity (390 stars).
Last commitToday
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 11, 2026
npm downloads15,322/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
68Quality signal: Great Ā· 68/100How this signal is calculated ā–¾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools28/30
Adoption & activity13/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 19d ago via OSV.dev Ā· mcp-local-rag (npm)

ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory →Best MCP servers for Memory & Knowledge →Alternatives to MCP Local Rag →Install in Claude DesktopInstall in CursorInstall in VS Code