MCP Crush
MCP server by kanchingyg Verified · npm:mcp-crush
MCP Crush is a stdio proxy and token auditor that shrinks MCP tool catalogs and prunes oversized JSON responses by 60-85%. It is aimed at people running large MCP servers, including local models with small context windows.
Install MCP Crush
Built from the published package, never by AI.
claude mcp add mcp-crush -- npx -y mcp-crushRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-crush": {
"args": [
"-y",
"mcp-crush"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-crush": {
"args": [
"-y",
"mcp-crush"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-crush": {
"args": [
"-y",
"mcp-crush"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-crush -- npx -y mcp-crush{
"mcpServers": {
"mcp-crush": {
"args": [
"-y",
"mcp-crush"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-crush npx -y mcp-crushGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-crush block.
About
MCP Crush sits between an MCP client and a stdio MCP server. Using the same JSON-RPC wire protocol, it emits smaller tools/list payloads and trims oversized JSON tool responses. The source says this reduces payloads by 60-85%. You can run it with npx or bunx, wrapping any stdio MCP command. It also has an audit command that measures per-server tools/list token use from your MCP config.
The project also runs as an MCP server itself, exposing audit, compress and prune tools to an assistant. It can probe Ollama or LM Studio context size and truncate output to fit. The source says it targets users of large MCP servers such as GitHub, Cloudflare and Notion, and local models that cannot fit those catalogs. Mutating tools are off unless you pass --allow-write.
Written from the project's README and checked against it.
Tools it gives your assistant
audit_mcp_configParses an MCP configuration file and measures per-server tools/list token consumption.compress_tools_listMinifies an MCP tools/list payload using description stripping and schema slimming.prune_json_payloadStrips redundant UI metadata such as avatar_url, node_id and HTML fragments from tool output.write_compressed_profilePersists a compressed MCP tool profile to disk when --allow-write is set.
What you need
- Bun or npm to run the package
- Ollama or LM Studio, optional, for context-size tuning
Try asking
- Audit the token overhead of my MCP config file
- Compress this tools/list JSON payload to save context
- Prune the avatar_url and node_id fields from this API response
Good to know
- Mutating tools need the --allow-write flag; --dry-run blocks writes.
- audit_mcp_config resolves configPath under the process working directory.
- Savings of 60-85% are stated by the project and not independently measured in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Crush
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
MCP Crush: common questions
Does MCP Crush change my MCP server's behavior?
The source says it uses the same JSON-RPC wire protocol and emits smaller payloads. It is described as a proxy that compresses schemas and prunes JSON responses.
Can it stop an assistant from repeating the same tool call?
Yes. The source says identical tool calls halt after three repeats, based on a SHA-256 hash of the tool name and arguments.
Does it handle secrets in tool output?
The source says AWS keys, bearer tokens and sk-* patterns are scrubbed from tool text.
How do I install MCP Crush?
In Claude Code run claude mcp add mcp-crush -- npx -y mcp-crush. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Crush the official server?
MCP Crush is published by npm:mcp-crush from its verified domain in the official MCP Registry.
Is MCP Crush free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Crush safe to use?
It scores 59 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Crush?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does MCP Crush work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
