Home / shinpr / mcp-local-rag · skills/mcp-local-rag/SKILL.md · GitHub

mcp-local-rag skillA

mcp-local-rag is agent-read markdown (skill) from shinpr/mcp-local-rag: Searches, saves, and maintains a local document index through a local RAG MCP server. Use when user says "search my docs", "save this page", "read around that chunk", "sync my index", or invokes `npx mcp-local-rag`..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# MCP Local RAG Skills

## Tools

| MCP Tool | CLI Equivalent | Use When |
|----------|---------------|----------|
| `ingest_file` | `npx mcp-local-rag ingest <path> [--visual]` | Local files (PDF, DOCX, TXT, MD). CLI for bulk/directory. PDF visual mode: see [Visual content (PDFs)](#visual-content-pdfs). |
| `ingest_data` | — | Raw content (HTML, text) with source URL |
| `query_documents` | `npx mcp-local-rag query <text>` | Semantic + keyword hybrid search; optional `scope` to limit to a path prefix |
| `delete_file` | `npx mcp-local-rag delete <path>` | Remove ingested content |
| `list_files` | `npx mcp-local-rag list [--scope <prefix>]` | File ingestion status; optional `scope` to limit to a path prefix (reachable scan path) |
| `status` | `npx mcp-local-rag status` | Database stats |
| `read_chunk_neighbors` | `npx mcp-local-rag read-neighbors` | Read N chunks adjacent to a known chunkIndex (context expansion; call after `query_documents` or grep) |
| `sync_start` | `npx mcp-local-rag sync [path]` | Reconcile the index with disk after files changed outside this session. See [Index sync](#index-sync) |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add shinpr/mcp-local-rag/mcp-local-rag@git:20260920.752bbcc
Exact content
mdr add shinpr/mcp-local-rag/mcp-local-rag@sha256:8cd3be0429ac9093

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ruuimu2g5infiuik.svg)](https://markdownregistry.com/a/art_ruuimu2g5infiuik)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260920.752bbcc latest2026-09-20 752bbcc 17,610 BA view · diff
git:20260920.f8a09c32026-09-20 f8a09c3 17,486 BA view · diff
git:20260907.8a79acf2026-09-07 8a79acf 17,285 BA view · diff
git:20260907.f5764192026-09-07 f576419 17,285 BA view · diff
git:20260907.4eee6142026-09-07 4eee614 21,425 BA view · diff
git:20260907.f8016042026-09-07 f801604 22,553 BA view · diff
git:20260823.10881d72026-08-23 10881d7 20,633 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (17610 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

shinpr/mcp-local-rag · 403 stars · license MIT · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ruuimu2g5infiuik
GET https://markdownregistry.com/api/v1/resolve?ref=shinpr/mcp-local-rag/mcp-local-rag
GET https://markdownregistry.com/api/v1/blob/8cd3be0429ac9093acf09a0c0a9fbb99e310299ba77526dd98f684aa2c737190

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Browse by kind, by grade A, or by owner.