mcp-injector
@foldwork-dev
关于 mcp-injector
Local MCP daemon that compresses your codebase before sending it to Claude 41-89% token reduction
基本信息
配置
工具
5Returns 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 服务器
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Grafana MCP server
grafanaMCP server for Grafana
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
评论