# LLMScribe [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/AMRITO-KUNDU/llmscribe  
**GitHub Stars:** 81  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/llmscribe

## Description
Deterministic repo map, search and file reader for AI agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "llmscribe": {
    "command": "uvx",
    "args": ["llmscribe"]
  }
}
```

## Documentation

## What LLMScribe does

LLMScribe gives MCP clients a structured way to inspect a local code repository. Its operations cover the repository tree, high-level project context, text search, individual files, batches of files, dependency relationships, and Git diffs. Results use stable JSON and deterministic behavior so an agent can repeat the same request without receiving a different ranking or inferred interpretation.

The server is designed for retrieval rather than code generation or semantic indexing. It does not use embeddings, hidden ranking, or AI-based summaries. Files are returned as they exist on disk, while binary files and files excluded by real `.gitignore` rules can be skipped during repository inspection.

## How it works

The repository map exposes the tree without immediately loading every file. Search results include the path, line, matched text, and match type. Dependency analysis identifies local, standard-library, external, and unresolved imports, and can also show reverse dependencies.

Content limits are explicit. A token budget takes files in path order until the approximate limit is reached; token cost is estimated at four characters per token. If output is cut, the result reports that condition along with a truncation note and omitted files.

Python files can be processed with a fixed syntactic compression step. Compression retains imports, signatures, docstrings, and class structure while removing function bodies. It applies only to Python, normalizes formatting, and leaves files that fail to parse unchanged. Compressed output is intended for reading rather than exact diff comparison.

Before results leave the tool, file contents, search matches, and diffs are checked for secrets and masked values are identified in the result metadata. The implementation is intended to produce the same output on Linux, macOS, and Windows for the same byte-identical fixture.

## Setup and configuration

LLMScribe can be installed with `pip install` or run using a standalone Windows executable. It works with MCP clients including Cursor, Claude Code, Claude Desktop, Codex, VS Code, Windsurf, Zed, Cline, Continue, JetBrains, and LM Studio. The server runs on the local machine and does not require a network connection or account.

Command-line examples include `llmscribe overview --compress`, `llmscribe read src/service.py --compress`, and `llmscribe overview --compress --max-tokens 20000`.

## Tools and capabilities

- `project_map` returns the repository tree, with contents excluded until needed.
- `overview` provides project-level file context and supports compression and token limits.
- `search` finds text and reports matching paths, lines, text, and match types.
- `read` retrieves one file, with optional Python compression.
- `read_many` retrieves multiple files in one operation.
- `project_dependencies` resolves imports and reverse dependency relationships.
- Git diff output shows file changes while receiving the same secret masking and truncation protections as other results.

## Limitations and notes

Compression supports Python only and reformats parsed files, so it should not be used when formatting must remain byte-for-byte identical. Token budgets are approximate rather than model-specific exact counts, and path-order selection can omit a relevant file when the limit is too low. Deterministic retrieval also means the server does not rank results by semantic relevance; agents must choose follow-up files explicitly.

LLMScribe is Apache-2.0 licensed and operates entirely on the local machine. Its cross-platform consistency depends on comparing identical file bytes rather than platform-specific text rewriting.

_Full upstream README: https://allmcps.com/mcp/llmscribe/readme_

