Agentβ™₯︎Age
Catalog

llmtrim

Official

by fkiene Β· Rust

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

MCP Server: io.github.fkiene/llmtrim

This MCP server and proxy compresses LLM prompts, tool output, and replies to reduce token cost. It presents the same answers while aiming to lower input, output, and round‑trip expenses. The repository describes ~5 ms/call behavior and no model to load.

πŸ› οΈ Key Features

  • MCP server and proxy for LLM prompt compression
  • Compresses LLM prompts, tool output, and replies
  • Includes cost-reduction metrics (listed as βˆ’31% input, βˆ’74% output, βˆ’66% round-trip cost)
  • Mentions ~5 ms/call and 112 live A/B cases
  • Provides additional CLAUDE CODE support via a served /sub through CLIProxyAPI

πŸš€ Use Cases

  • Reducing token spend for LLM interactions that include tool use
  • Deploying as a local proxy for LLM API traffic
  • Serving Claude Code through the integrated CLIProxyAPI path

⚑ Developer Benefits

  • Lower input/output/round‑trip cost targets as stated
  • No model loading requirement described
  • ~5 ms/call latency expectation described

⚠️ Limitations

  • Only token/cost and latency characteristics are described; details like supported providers, exact MCP transport, and tool coverage beyond β€œtool output” are not provided in the excerpt.
token compressionprompt optimizationcost reductionllm proxytoken efficiency

Topics

agentic-codingaianthropicclaude-codecost-reductiondeveloper-toolsllmllmopsmitm-proxyopenaipromptprompt-compressionprompt-engineeringproxyrusttoken-optimizationmcp