mcp-local-rag SKILL.md skillA

mcp-local-rag from shinpr/mcp-local-rag is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shinpr/mcp-local-rag/mcp-local-rag@git:20260920.752bbcc

Pins git:20260920.752bbcc in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shinpr/mcp-local-rag
Path
skills/mcp-local-rag/SKILL.md
Versions recorded
7
Latest version
git:20260920.752bbcc, committed Sep 20, 2026
First version recorded
Aug 23, 2026
Size
17,610 bytes
Repository stars
428
License
MIT

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`.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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

The exact contents, by fingerprint
mdr add shinpr/mcp-local-rag/mcp-local-rag@sha256:8cd3be0429ac9093

The line at the top of this page pins the label git:20260920.752bbcc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Aug 23, 2026 and Sep 20, 2026, about one every 5 days.

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. Fixed automatic checks with no AI involved, so the same checks give the 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 · 428 stars · license MIT · pushed 2026-11-04 · 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 AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

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