Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Searches, ingests, and syncs a local document index through the mcp-local-rag MCP server and CLI.
36% 59%+23 ptsof test cases passed
Passed 13 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
| 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). |
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 |
sync_status | — | Poll a sync_start job for progress and its final outcome |
read_chunk_neighbors only when it alone cannot ground the answer.ingest_file for local files, ingest_data for raw or web content.sync_start once, then poll sync_status, instead of re-running ingest_file file by file.Hybrid search combines vector (semantic) and keyword (BM25) by default.
Lower = better match, but the array order is the ranking: with an external reranker configured the first result can carry a worse score than one below it. The bands hold for the default embedding model and keyword weight; under a different configuration, judge each hit against the others in the same response.
| Score | Action |
|---|---|
| < 0.3 | Use directly |
| 0.3-0.5 | Include if it mentions the same concept/entity |
| 0.5-0.7 | Include only if directly relevant to the question |
| > 0.7 | Skip unless no better results |
Score ranks lexical and semantic proximity, not usefulness: drop a hit that shares keywords with the query but not its intent, whatever it scored.
When two hits contradict each other, settle it on source, stated version, and surrounding context — not on score, which says nothing about which one is current or correct — and report the discrepancy when that does not settle it. When a query returns nothing, check list_files before answering that the corpus has no such content — an empty result also means never ingested.
Next to this one in the catalogue, plus more from the same author.