Skip to content
MCP server

llmtrim

MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.13.4
Listing updated
6 days ago

About llmtrim

llmtrim is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.

Install

Run in a terminal

claude mcp add llmtrim -- npx -y @llmtrim/cli

Add to claude_desktop_config.json

{
  "mcpServers": {
    "llmtrim": {
      "command": "npx",
      "args": [
        "-y",
        "@llmtrim/cli"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "llmtrim": {
      "command": "npx",
      "args": [
        "-y",
        "@llmtrim/cli"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "llmtrim": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@llmtrim/cli"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "llmtrim": {
      "command": "npx",
      "args": [
        "-y",
        "@llmtrim/cli"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "llmtrim": {
      "command": "npx",
      "args": [
        "-y",
        "@llmtrim/cli"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

llmtrim FAQ

Is llmtrim free?

Yes. llmtrim is open source, so you can use and self-host it for free.

How do I add llmtrim to Claude Code?

Run this command in your terminal: claude mcp add llmtrim -- npx -y @llmtrim/cli

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers