llmtrim
local MCP serverllmtrim is a local MCP server: MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost. Install it from npm as @llmtrim/cli.
Installation
Terminal
claude mcp add llmtrim -- npx -y @llmtrim/cli
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"llmtrim": {
"command": "npx",
"args": [
"-y",
"@llmtrim/cli"
]
}
}
}What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
Summary
MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.
llmtrim vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| llmtrim | 240 | Local | No | npm |
| DBHub | 3,574 | Local | Yes | npm |
| github | 138 | Local | No | npm |
| http | 138 | Local | No | npm |
| make | 138 | Local | No | npm |
Questions
No. The registry entry lists no keys or environment variables.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
llmtrim is a local MCP server distributed as the npm package @llmtrim/cli.
Run: claude mcp add llmtrim -- npx -y @llmtrim/cli
Run: codex mcp add llmtrim -- npx -y @llmtrim/cli
Similar MCP servers
NameStars
- DBHubio.github.bytebase/dbhub3,574
- githubio.github.Dave-London/github138
- httpio.github.Dave-London/http138
- makeio.github.Dave-London/make138
- searchio.github.Dave-London/search138
- sshmcpio.github.NikolaNddTesla/sshmcp11
- RevoGrid DataGrid MCPio.github.revolist/revogrid-mcp3,446
- jCodemunch MCPio.github.jgravelle/jcodemunch-mcp2,716