MCP.so
登录

mcp-injector

@foldwork-dev

关于 mcp-injector

Local MCP daemon that compresses your codebase before sending it to Claude 41-89% token reduction

基本信息

分类

开发工具

许可证

NOASSERTION

运行时

go

发布者

foldwork-dev

提交者

Foldwork

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

5

Returns a compressed structural overview of the workspace. Function bodies are folded and replaced with placeholders to reduce token usage.

Retrieves the full uncompressed source of a file from the local cache. Accepts optional `start_line` and `end_line` for range retrieval.

BM25-ranked full-text symbol search over the local SQLite catalog.

Returns index status, current compression ratio, total files indexed, and cache hit rate.

Waits for all pending file index updates to complete. Call this after writing to a file and before calling `get_project_map`.

概览

What is mcp-injector?

A local MCP daemon that pre-indexes your codebase into a SQLite catalog and serves AST-compressed snapshots to Claude Code, Cursor, and VS Code on every query — reducing token usage by 41-89% on real codebases.

Key Features

  • 41-89% token reduction — verified across Django (Python), Tokio (Rust), Gin (Go), and more
  • AST body folding — compresses function bodies into placeholders; Claude only reads what it needs
  • BM25 full-text search — fast symbol and code search without reading raw files
  • Zero config — single Go binary, works immediately after install
  • Offline-first — runs entirely locally, no network calls, no telemetry
  • Free tier — unlimited for codebases under 100K lines

How to install

curl -fsSL https://foldwork.dev/install.sh | sh

评论

开发工具 分类下的更多 MCP 服务器