MCP.so
Sign In

mcp-injector

@foldwork-dev

About mcp-injector

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

Basic information

Category

Developer Tools

License

NOASSERTION

Runtime

go

Publisher

foldwork-dev

Submitted by

Foldwork

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

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`.

Overview

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

Comments

More Developer Tools MCP servers