RAG-lite: local semantic search over your files, as a CLI and an MCP server. No LLM, no API keys, no servers.
Server has 6 well-named tools with clear descriptions and mostly complete schemas. Naming follows verb_noun pattern (search, gather, list_folders, cat_file, grep, index). Descriptions are substantive (100-250 chars), explaining what each tool does and when to use it. Input schemas use Zod with type definitions and parameter descriptions. However, output schemas are not documented, LLMs cannot predict response structure. Error handling exists but lacks recovery guidance. The 'index' tool (WRITE operation) has no confirmation/dry-run pattern. Parameter descriptions could be more prescriptive about constraints (e.g., k range, regex syntax for grep pattern).
Read a file by absolute path, as returned by search or gather. Optionally limit to a line range. Only files inside the configured folders can be read.
Same as search, but returns the results pre-formatted as a single text block ready to drop into a context window: a header with folder, relative path, line, and score, followed by the chunk text. Optionally expands N lines of context around each chunk.
Literal (or regex) search across the indexed folders. Complements search when you need exact matches rather than semantic similarity. Returns folder, relative path, line number, and the matching line.
Run an incremental reindex of the configured folders (or one specific directory). Equivalent to running `semantic-search index`. Returns a summary of files processed, skipped, and deleted, chunks written, and whether the run was truncated.
List the folders configured for indexing, with their name and absolute path. Useful as a first call so you know what corpus is available.
Output schemas not documented. LLMs cannot predict response structure for search, gather, list_folders, cat_file, grep, or index. Responses are returned as text/JSON but structure is implicit, forcing LLMs to parse unstructured output.
grep parameter 'pattern' lacks constraint documentation. Description does not specify regex syntax, escaping rules, or max length. LLMs may pass invalid regex or overly broad patterns.
index tool (WRITE operation) has no dry-run, confirmation, or preview step. Agents can trigger reindexing without safeguards. No recovery guidance if indexing fails or corrupts data.
Error responses in cat_file return isError=true but lack actionable recovery hints. 'Refused: X is not inside any configured folder' does not guide the LLM to call list_folders or suggest alternatives.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2026-07-28+ | v2 |
Search the indexed files semantically (by meaning, not just exact text) and return the most relevant chunks with their path, line number, and score.
Parameter 'k' (result limit) in search and gather lacks explicit range constraints. Description says 'default 5' but does not specify min/max. LLMs may pass k=0, k=1000000, or negative values.