
LLMScribe
io.github.AMRITO-KUNDU由 GitHub 帳號 AMRITO-KUNDU 發布v1.3.0更新於 Oct 25, 2026
Deterministic local project map, search and file reader for AI agents.
概覽
一個在本機執行的確定性 MCP 伺服器,為 AI 助理提供專案結構圖、程式碼搜尋、檔案讀取、相依性分析與 Git 差異檢視能力。
- 可以做什麼
- 產生專案結構:輸出不含檔案內容的目錄樹,或包含支援文字檔內容與結構的完整專案快照。
- 適用情境
- 當 AI 程式助理需要探索或修改你電腦上的程式碼庫,並希望它直接找到正確的檔案,而不是逐一讀取大量檔案時使用。適合陌生儲存庫探索、程式碼搜尋、相依性影響分析與檢視變更內容。
- 執行需求
- 以 Python 套件形式從 PyPI 安裝(pip install llmscribe),透過 stdio 在本機執行,使用 llmscribe-mcp 指令或 llmscribe.mcp 模組啟動。無需 API 金鑰、帳號或網路存取。選用環境變數 MCP_ALLOWED_ROOTS 與 MCP_ALLOW_LOCAL_PATHS 可限制可讀取的目錄。差異功能需要 Git。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LLMScribe,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[LLMScribe]
LLMScribe
Turn any code repository into clean, structured, deterministic data.
No AI. No embeddings. No hidden ranking.
Apache-2.0, and it runs entirely on your machine — no network, no account.
[GitHub stars]The problem
Your agent does not have an intelligence problem. It has a retrieval problem.
On a 1.4-million-line codebase, one benchmark agent burned 6,000 seconds and produced nothing — no analysis, no output, zero score.
The same model, given structured code search instead of free-form file reading, finished the same task in 89 seconds and scored 0.90.
Across another benchmark, Codex CLI completed its entire turn sequence without ever reaching the file that would have solved the task in 27–29% of runs.
Handed the right context up front, its score nearly doubled.
The bottleneck is not the model. It is what goes into the context window.
What users keep reporting:
- The agent explores 200 files to change one line, and admits it is "looking at unnecessary files"
- Nine searches and fourteen files to find one constant, because the search itself is not ranked
- The same files re-read in a loop, with no reasoning between the reads
- Stale fixtures, mock data and outdated comments read as current truth
- Search reporting "no matches found" when a plain
grepfinds the text immediately - Truncation that hides itself, and build output filling the window with noise
What LLMScribe does about it
The file an agent needs next is usually the one structurally related to the file it is already looking at — a dependent, a sibling module, a test fixture. That is a graph question, not a similarity question, which is why LLMScribe ships dependency analysis and a real tree instead of embeddings.
Feature Overview
Core Tools
More
Quick Start
Install LLMScribe from PyPI:
Then point it at any project directory on your machine. No API key, no network access, no account.
The
project_map(...),search(...),read(...)snippets below show MCP tool calls. The same operations are available from the CLI (local directories) and from Python throughllmscribe.core(see Python API).
Map
Generate a clean directory tree without file contents. This is the best first step when exploring an unfamiliar repository.
CLI / MCP
CLI
MCP
Output:
Search
Search across file paths, file names, file contents, and individual lines.
Search is intentionally deterministic: LLMScribe does not try to guess what you meant.
CLI / MCP
CLI
MCP
Each match includes the file path, line number, the matching line, the matched text and the match type (filename or content).
Results are ordered by path then line, and limited to 1,000 matches. Binary and oversized files are skipped.
Output (--json, data.matches):
Read
Safely retrieve the contents of a specific file. LLMScribe validates paths and prevents path traversal outside the project.
CLI / MCP
CLI
MCP
Power Your Agent
Instead of throwing an entire repository into a context window, an agent can progressively retrieve exactly what it needs:
MCP
LLMScribe is a standard Model Context Protocol server that runs locally over stdio.
Any MCP-compatible client can use it against a project directory on your machine.
Config — put this in your client (see the per-app setup below):
Use the Python module instead of the command
If llmscribe-mcp is not on your PATH, point the client at the module:
Per-app setup
Each client reads a different configuration file. The blocks below were checked against each tool's official documentation.
Claude Desktop
Edit claude_desktop_config.json (in the app: Settings → Developer → Edit Config):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Fully quit and reopen Claude Desktop after saving.
Claude Code
Confirm with claude mcp list.
Add --scope user to make it available in every project, or --scope project to share it with your team via .mcp.json.
Cursor
Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
Restart Cursor, then check Customize → MCPs.
VS Code (GitHub Copilot)
Create .vscode/mcp.json in your workspace. Note that VS Code uses servers, not mcpServers:
Then open Copilot Chat in Agent mode and click the tools icon to start the server.
Windsurf (Cascade)
Edit ~/.codeium/mcp_config.json (in the app: Windsurf Settings → Cascade → MCP → View Raw Config):
Press the refresh button after saving.
Cline
Open the Cline panel → MCP Servers → Configure → Configure MCP Servers, then add:
Roo Code
Edit the global mcp_settings.json (Edit Global MCP), or create .roo/mcp.json in your project (Edit Project MCP):
LM Studio
In the app: Program tab → Install → Edit mcp.json.
The file is ~/.lmstudio/mcp.json on macOS/Linux, %USERPROFILE%\.lmstudio\mcp.json on Windows:
LM Studio follows Cursor's mcp.json notation.
Zed
Add to your Zed settings (in the app: Settings → AI → MCP Servers → Add Server, or zed: open settings file):
Continue
Add to ~/.continue/config.yaml (or a standalone file under .continue/mcpServers/):
Continue also picks up Cursor/Claude/Cline JSON configs dropped into .continue/mcpServers/.
JetBrains IDEs (IntelliJ, WebStorm, …)
Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add → As JSON:
You can also click Import from Claude to reuse an existing Claude Desktop configuration.
Goose
Add an extension to ~/.config/goose/config.yaml:
OpenAI Codex CLI
Add to ~/.codex/config.toml:
Available tools
More Tools
Read Many
Retrieve multiple files in a single operation. Partial success is supported, so one problematic file does not invalidate the entire request.
Dependencies
Inspect the dependency relationships around a file.
LLMScribe identifies local dependencies, external dependencies, unresolved dependencies, and the files that depend on this file.
Output:
This is particularly useful when determining the potential impact of modifying a file.
Diff
Inspect repository changes using Git. Supports Git status, unstaged changes, staged changes, specific commits, and unified diffs.
This lets applications and agents understand not only the current repository, but also what changed.
Overview
Generate a complete project snapshot containing the directory structure, supported text file contents, and structured project information.
Best for small and medium-sized projects. For large repositories, use the recommended workflow instead:
CLI
Every command can return machine-readable JSON with --json, which makes the CLI a building block for scripts, automation, and developer tools.
Configuration
LLMScribe runs entirely on your machine and needs no configuration.
Two optional environment variables restrict which directories the MCP server may read:
Python API
Behavior reference
Ignore rules
Defaults (.git, node_modules, venv, dist, build, .env, *.log, …), the root .gitignore and nested .gitignore files are applied with real Git semantics: wildcards, directories, ! negation, and root-anchored patterns.
Hidden files are included unless ignored.
Symlinks are never followed or listed.
Supported text files
Known source, config and doc extensions, plus names such as Dockerfile, Makefile, LICENSE and .gitignore.
Other files appear in the tree, but cannot be read or searched.
Limits
One source of truth: llmscribe.core.limits.
- 400,000 content characters per
project_overview/read_many - 50 files per
read_many - 1,000 search matches
- 20,000 map entries
- 2 MiB per file
- 200,000 diff characters
- 100,000 scanned entries
Anything cut is reported: truncated, truncation_note, omitted_files.
Errors
Every failure has a stable, machine-readable code:
invalid_argument · invalid_path · file_not_found · unsupported_file_type · binary_file · file_too_large · read_error · not_a_repository · git_unavailable · unsupported_operation · internal_error
JSON errors look like this:
Dependencies
Supported languages: Python, JavaScript/TypeScript, Java, Go, Rust, and C/C++.
Each reference is classified as one of:
local— resolved to a file or directory inside the projectstdlib— part of the language's standard libraryexternal— not in the project, assumed third-partyunresolved— a relative or local-looking reference that matches nothing
used_by lists the reverse dependencies.
Git diff
Runs git with an argument list, a 30 s timeout, a minimal environment, and without external diff/textconv drivers.
Migration notes
- Legacy tool names (
project_get_file,project_get_files,project_search,project_list_files) are gone; useread,read_many,search. - Error code
path_traversalis nowinvalid_path;not_text_fileisunsupported_file_type. project_dependenciesresults:all_local_files/all_external_deps/all_unresolvedwere replaced byused_byand per-category lists (stdlib_dependenciesadded).llmscribe.corefunctions raiseLLMScribeError(notFileNotFoundError) for a bad root.- 1.3.0: the online GitHub source was removed — LLMScribe is now local-only. The
repoandrefarguments, the in-memory snapshot cache, thellmscribe.githubpackage, and the hosted HTTP transport are gone. Point the tools at a localpath.
Architecture
All interfaces share one core engine, so behavior stays consistent everywhere.
Philosophy
LLMScribe intentionally stays simple. The goal is not to make the repository "smarter." The goal is to make the repository accessible to software.
We provide
- Repository extraction
- Deterministic search
- Structured project data
- File retrieval
- Dependency information
- Git information
- Multiple interfaces
We don't provide
- ❌ AI-generated answers
- ❌ Embedding-based search
- ❌ Semantic ranking
- ❌ Autonomous coding
- ❌ An AI coding agent
- ❌ A generic Git client
Use Cases
- AI coding agents
- MCP applications
- Developer tools
- Code search interfaces
- Repository explorers
- Documentation systems
- Code analysis pipelines
- Automation scripts
- Local LLM applications
- Exploring unfamiliar open-source projects
Open Source
LLMScribe is open source under the Apache License 2.0. Inspect the source, modify it, and build your own integrations.
There is no hosted service and no telemetry. It reads your files, and nothing leaves your machine.
Resources
- Website: https://llmscribe.vercel.app
- GitHub: https://github.com/AMRITO-KUNDU/llmscribe
- PyPI: https://pypi.org/project/llmscribe/
- Official MCP Registry: https://registry.modelcontextprotocol.io/?q=llmscribe (
io.github.AMRITO-KUNDU/llmscribe) - Issues: https://github.com/AMRITO-KUNDU/llmscribe/issues
- Contributing: https://github.com/AMRITO-KUNDU/llmscribe/blob/main/CONTRIBUTING.md
Contributing
Contributions are welcome — whether that is repository extraction, search, dependency analysis, interfaces, integrations or documentation.
Check the contributing guide before opening a pull request.
[Contributors]License
LLMScribe is licensed under the Apache License 2.0.
See the LICENSE file for details.
Repository data, structured.
來源:README.md,提交 7d4556c
工具
0版本歷史
2- v1.3.0最新Oct 25, 2026
- v1.2.1Oct 13, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分