llmtrim

MCP server · npm · ★ 258 · graded 2026-10-19Source linked

Local proxy that compresses your LLM API requests so you pay less, with no change to the answers. Trims wasted tokens from prompts, history, tool output, and code before they're sent: -31% input / -74% output, measured live. Any provider, no extra model calls. Also an MCP server and embeddable library (Rust, Python, Ruby, Kotlin, Swift, JS/TS).

No outside reports on file

llmtrim fetches arbitrary web URLs; restrict its folder reach, network access, and credentials before installing.

Based on public adoption and transparency signals as of Oct 19, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for Llmtrim helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionNo shell command runner notedLOW
  • Network reachFetches arbitrary web URLsREVIEW
  • CredentialsNo API token requiredLOW
  • Package sourcenpm (@llmtrim/cli)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

npx -y @llmtrim/cli

All setup options ↓

Everything known

We found nothing about this project in the sources we read (last checked 2026-10-30). That does not mean it has no problems.

0 incidents · 0 advisories · 0 news articles · 0 community threads · checked 2026-10-30

Popularity grade: C (from public signals such as stars and downloads, not a code review). Graded 2026-10-19.

Sources we read: OSV, GitHub Advisory Database, CISA Known Exploited Vulnerabilities, 44 security news feeds and our incident library. Last checked 2026-10-30.

Check a specific version →

About Llmtrim

Llmtrim is an MCP server focused on Developer tools and Cloud & infrastructure: Local proxy that compresses your LLM API requests so you pay less, with no change to the answers. Trims wasted tokens from prompts, history, tool output, and code before they're sent: -31% input / -74% output, measured live. Any provider, no extra model calls. Also an MCP server and embeddable library (Rust, Python, Ruby, Kotlin, Swift, JS/TS).

It is published on npm as @llmtrim/cli and hosted on GitHub at fkiene/llmtrim (257 GitHub stars). Based on its public metadata, its operational scope includes: fetches arbitrary web urls.

Setup

Check these steps against the project’s own instructions before running anything.

Run @llmtrim/cli with --ignore-scripts in claude_desktop_config.json or .cursor/mcp.json:

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

Why this grade

CC — Moderate risk signals

Signal-based grade (2/7 points): public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

35/100
GitHub stars
258
Listing last refreshed
2026-10-29

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Risks to watch for

  • Untrusted web content & prompt injection: Fetches arbitrary web pages or remote endpoints where hidden instructions could manipulate agent behavior. Restrict outbound domains and review tool outputs.
  • Dependency & version pinning: Distributed via npm (@llmtrim/cli). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install Llmtrim?

Run npx -y @llmtrim/cli in your terminal, or add the server entry to your claude_desktop_config.json or .cursor/mcp.json as shown in the Setup section on this page. Full setup docs and environment variables are in github.com/fkiene/llmtrim.

Are there security reports about Llmtrim?

No reports found for this package in our research (last checked 2026-10-30). Llmtrim currently holds Grade C (Moderate risk signals) based on public adoption and transparency signals. Key risk areas to watch include untrusted web content & prompt injection:, dependency & version pinning:.

Is Llmtrim actively maintained?

Llmtrim has 258 GitHub stars. Our directory data was last refreshed on 2026-10-29. Check recent commit activity, release tags, and open issues at github.com/fkiene/llmtrim before pinning it in production.

What are alternatives to Llmtrim?

Compare Llmtrim side by side with similar MCP servers in the Related tools section on this page, or browse all MCP servers on AgentArmorHQ.

README badge and team notes

Maintain or use Llmtrim? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade C for Llmtrim

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for Llmtrim](https://agentarmorhq.com/api/badge/fkiene-llmtrim)](https://agentarmorhq.com/skills/fkiene-llmtrim)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/fkiene-llmtrim"><img src="https://agentarmorhq.com/api/badge/fkiene-llmtrim" alt="AgentArmorHQ Risk Grade for Llmtrim" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "fkiene-llmtrim"

Share with your security lead

Need sign-off to use llmtrim? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: llmtrim
- **Listing URL:** https://agentarmorhq.com/skills/fkiene-llmtrim
- **Type:** App connector
- **Risk Grade:** Grade C (Moderate risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 258 GitHub stars

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** No shell command runner noted
- **Network reach:** Fetches arbitrary web URLs
- **Credentials:** No API token required
- **Package source:** npm (@llmtrim/cli)

#### Recommended Hardened Setup
- **Command:** `npx -y --ignore-scripts @llmtrim/cli`
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 19, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
App connector
Publisher
fkiene
Source code
github.com/fkiene/llmtrim
Install command
npm install @llmtrim/cli
Est. context load
~600 tokens / turn (~3 tool schemas, 0.3% of 200k context)
Popularity
258 GitHub stars
Last updated
2026-10-29
Last graded
2026-10-19

Community

Discussions for Llmtrim

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for Llmtrim helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude