Basic information

Runtime
go
Category
License
NOASSERTION
Transports
Streamable HTTP
Author
foldwork-dev
Submitted by
Community
Stars
4

About mcp-injector Server

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

mcp-injector is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by foldwork-dev. It exposes 1 tool, including Offline-first. Supported transport: Streamable HTTP. Runtime: go. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: ai, antigravity, claude, codebase-compression, codebase-indexing.

Setup

claude mcp add mcp-injector --transport http https://foldwork.dev/install.sh

mcp-injector config

Add this server to your MCP-compatible client using the configuration below.

{
    "command": "/home/$USER/.local/bin/mcp-injector",
    "env": {
        "MCP_WORKSPACE": "/path/to/your/project"
    }
}

mcp-injector tools

  • Offline-first — — runs entirely locally, no network calls, no telemetry

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.

How to use mcp-injector?

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

Key features of mcp-injector

  • 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

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬