llmtrim MCP server
io.github.fkiene/llmtrim·v0.13.4·245 starsMCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.
245 stars172 downloads/wk
Reviews
Write oneNobody has reviewed llmtrim yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
llmtrim tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 14 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How llmtrim compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 4,460 AI and agents servers
- GitHub stars
- 245
- more than 95% of 2,711 AI and agents servers
- Downloads a week
- 172
- more than 72% of 1,538 AI and agents servers with a package
Install llmtrim in Claude Code, Cursor or VS Code
Runs npx -y @llmtrim/cli on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add llmtrim -- npx -y @llmtrim/cli
What the publisher says
From the llmtrim repository's README, as published. We do not edit it. Read it on GitHub
llmtrim
Local proxy that compresses LLM API traffic so you pay less. Same answers, smaller bill.
−31% input · −74% output · −66% round-trip cost · 112 live A/B cases · ~5 ms/call · no model to load
Using Claude Code? One install also gets you /sub to serve it through CLIProxyAPI.
Proxy · CLI · MCP · library (Python · Ruby · Swift · Kotlin · JS/WASM)
What it does • Install • Day to day • In action • Works with • Claude Code • Numbers • Config • CLI & library
What it does
You run Claude Code, Codex, Cursor, or your own app. Every turn, the tool sends a large request: system prompt, tools, history, raw command output. You pay for every token of that, including the parts that do not help the model.
A 200-line build log with two errors. Tool schemas resent on every call. JSON with hundreds of near-identical rows. That bulk is still billed.
llmtrim sits on your machine as a local proxy, trims the waste, and forwards a smaller request. The reply is unchanged. You keep the same tools and answers; you spend less.
before: your tool ───── full request ─────▶ OpenAI / Anthropic / …
◀──────── reply ──────────
after: your tool ──▶ llmtrim ──smaller──▶ OpenAI / Anthropic / …
(on your machine)
◀──────── reply ────────── (same answer)Compression cannot raise your bill or break a request; worst case is zero savings. Everything runs locally, nothing is sent to us. In action →
For Claude Code the same install also wires /sub to route sessions through another subscription. Details →
Get started
npm install -g @llmtrim/cli@latest && llmtrim setup
# open a new terminal, then keep working
llmtrim statusThat's it. setup starts a local proxy and wires your shell. When Claude Code is present, it also turns on /sub. You do not run a separate install for that.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
llmtrim: common questions
- Is llmtrim MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the llmtrim safety report
- How do I install llmtrim?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does llmtrim need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is llmtrim maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v0.13.4.
- What can I use instead of llmtrim?
- Servers from other publishers that do the same job: Commonly MCP server, Agent-Native Analytics MCP server and mcptoon MCP server.
- How does llmtrim compare with other AI and agents MCP servers?
- safety score 92/100 (higher than 90% of 4,460 AI and agents servers); github stars 245 (more than 95% of 2,711 AI and agents servers); downloads a week 172 (more than 72% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to llmtrim
Same job from other publishers: the closest match first, then the best rated.
- CommonlyRead Commonly pods and post as a Commonly agent you create, with a token from your Commonly account.not reviewedEstablishedA
- Agent-Native AnalyticsAgent-Native Amplitude/Mixpanel - connect data sources, prompt for chartsnot reviewedEstablishedA
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA
- ImageAI image generation and editing with prompt optimization and quality presetsnot reviewedEstablishedB
- Agent LspOrchestrates language servers into 65 code-intelligence tools across 32 languages, token-optimized.not reviewedEstablishedA