Skip to content
Cursor

llmtrim for Cursor

io.github.fkiene/llmtrim

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

client:Cursor transport:stdio runtime:npm

Install llmtrim in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

llmtrim in other clients