What is mcp-injector?
mcp-injector is a MCP server by foldwork-dev that local daemon that pre-indexes a codebase into a SQLite catalog and serves AST-compressed snapshots on every query to reduce token usage. It is listed under Developer tools and has 4 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | foldwork-dev |
| Repository | foldwork-dev/mcp-injector |
| Popularity | 4 GitHub stars |
| Category | Developer tools |
| Security | Low risk (80/100) |
| Rank | #2,295 of 4,418 MCP servers; #498 in Developer tools |
| Last commit | 2026-07-20 |
| Runs | Locally |
| Language | Go |
| Platforms | macOS, Windows, Linux |
Is mcp-injector safe to install?
mcp-injector scores 80/100 on the MCPMods security check: Low risk. Things to review: executes code or shell commands. It passed 3 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| Needs an API key or account login | Note |
| Read-only by description | Pass |
| Executes code or shell commands | Review |
| Source on GitHub | Pass |
How do I install mcp-injector?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/foldwork-dev/mcp-injector
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add mcp-injector -- <command from README> claude mcp add --transport http mcp-injector <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs mcp-injector for you:
Add the "mcp-injector" MCP server from https://github.com/foldwork-dev/mcp-injector to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.