Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿง  Knowledge & Memory
  3. Distil
Distil logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 11:32:29 AM

Distil

User RatingsBe the first to rate and review this MCP server!
View Repository16 GitHub StarsTotal stargazers on GitHub for the source repository (16 stars).Visit Website
compressiontoken-optimizationagent-toolsproxylibrary

Reversibly compress large tool outputs with proof of decision equivalence and track token/dollar savings.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "dshakes-distil": {
      "command": "uvx",
      "args": [
        "--from"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿง  More in Knowledge & Memory

Overview

This MCP server compresses large outputs, logs, files, and history your agent resends each turn into a recoverable 8-hex handle. It guarantees that compression does not alter agent decisions by providing a decision-equivalence certificate. It supports multiple usage modes including wrapping agents, running as a proxy, calling as a library, or as an MCP server providing recall tools. It integrates with various frameworks and exposes metrics and tracing for observability.

Use cases

โ€ขCompress large tool outputs to reduce token usage
โ€ขWrap existing agents with zero configuration to save costs
โ€ขRun a proxy to transparently compress and decompress messages
โ€ขIntegrate compression into custom agent loops as a library
โ€ขObtain proofs that compression does not change agent decisions

Key features

โ€ขReversible compression with 8-hex handles
โ€ขDecision-equivalence certification to prove no changes
โ€ขMultiple integration modes: wrap, proxy, library, MCP server
โ€ขFramework hooks for LangChain, LangGraph, LiteLLM, Agno, Strands
โ€ขLive status, dissect sessions, per-request headers, OTel spans, Prometheus metrics
โ€ขZero runtime dependencies

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Distil.

Extracted Tool Capabilities
Reversible compression with 8-hex handles
Decision-equivalence certification to prove no changes
Multiple integration modes: wrap, proxy, library, MCP server
Framework hooks for LangChain, LangGraph, LiteLLM, Agno, Strands
Live status, dissect sessions, per-request headers, OTel spans, Prometheus metrics
Zero runtime dependencies

Documentation Overview

Distil โ€” compression with a quality contract

CI PyPI version npm version Python versions license zero runtime deps typed PyPI installs/month, bot-filtered

Something is rewriting your agent's context.
Distil measures what it cost you.

Your provider now edits the context window for you โ€” clearing old tool results, summarizing history โ€” by default, server-side, with no report of what changed.
Distil is the instrument that answers the only question that matters: did the agent still do the same thing?

We pointed it at the providers. Anthropic's default context-editing policy (keep=3) changed the agent's next action in 95โ€“100% of cases, against a 2.5% A/A noise floor. Keeping the 3 most recent tool uses didn't lower the change rate at all โ€” it turned stalling into acting on missing facts. OpenAI's compaction changed 12.5โ€“20%. Pre-registered, replicated, n=40 per run.

Read the study โ†’ ยท rerun it on your own config

Distil also compresses โ€” the tool output, logs, and history your agent re-sends every turn, reversibly.
It's the one context operation that ships with its own certificate, its own adversarial gate, and a number it is willing to refuse to print.

The 60-second version

Compression that cannot be checked is a guess about your agent's behaviour.
Distil is built so every part of it is checkable, and so the checks are allowed to come back no.

  • It proves decision-equivalence per request โ€” and can say no. Shadow mode replays a sampled request three times: twice on the original context and once on the compressed one, then reports 1{A=B} โˆ’ 1{A=A'} โ€” a paired difference against the model's own self-agreement, with a bootstrap 95% CI, unclipped, so it is allowed to be negative. One reporting floor (50 A/B + 30 A/A) gates every surface; below it, every surface says below reporting floor instead of a number. The current live sample is below that floor, and the status line says so.
  • What it folds, it can give back byte-exact. A digest is a marker plus a handle into a local content-addressed store, and the agent gets a distil_expand tool to recover the original mid-task. The gateway ships Tier-0 only rather than emit a stub it cannot restore.
  • It will not digest a line your agent has to quote back. An Edit(old_string=โ€ฆ) is a literal match. Reading exact-quote provenance from the shell command, not just the tool name, took byte-exact quote loss from 39.3% โ†’ 16.2% on real coding traffic โ€” and it costs real savings, which we price rather than hide.
  • It does not break your prompt cache. Compression is suffix-only and cache-monotonic by construction: a later turn may never rewrite bytes the provider has already cached. We shipped that bug once, measured it at 2ร— the cost of compressing nothing, and made the invariant enforced. The cache contract โ†’
  • It has been pointed at a hostile input, not just a hard one. distil validate --adversarial runs a COMA-class battery through the same path the proxy uses, and we publish the two cases that do not come back clean. Threat model โ†’
  • Every rung of the dial is measured, not just the default. distil bench --curve traces savings against fact recall across the whole ladder, offline and free. The curve โ†’

What it does

  • Wrap your agent โ€” 11 presets: distil wrap -- claude ยท codex ยท gemini ยท aider ยท opencode ยท qwen ยท goose ยท grok ยท openhands ยท copilot ยท kimi. Zero config, no code change.
  • Run a proxy โ€” point any base_url client at it. Python, TypeScript, any language, any framework. Sync proxy, async proxy, and a standalone gateway, with the same provider coverage in each: Anthropic Messages, OpenAI Chat Completions and the Responses API, Azure OpenAI, and Gemini generateContent.
  • Call it as a library โ€” from distil import compress_messages in your own agent loop.
  • Give your agent a recall tool โ€” MCP server: it compresses its own output and gets the exact bytes back on demand.
  • Framework hooks โ€” LangChain ยท LangGraph ยท LiteLLM ยท Agno ยท Strands ยท AutoGen ยท LlamaIndex, in-process, no network hop โ€” plus an ASGI middleware for any Starlette/FastAPI app that hosts its own LLM endpoint, and the npm package for the Vercel AI SDK.
  • On a subscription โ€” distil hook --install: Claude Code compresses its own tool output through the documented PostToolUse extension point. No proxy, no credentials touched. distil quota shows the rate-limit window it buys back. Details โ†’
  • See what it did โ€” live status line, session dissect, per-request headers, OTel spans, Prometheus metrics.
bash
pipx install distil-llm && distil onboard    # detects your agent + billing, wires everything

Not sure which of those you want? Two questions pick your mode โ†’ โ€” plain language, honest savings ranges, no jargon.

Four ways to run distil โ€” agent wrap, proxy/gateway, MCP server, and the in-process library. Wrap, proxy and MCP reach the reversible digest tier, covered by the decision-equivalence certificate; the in-process library is lossless-only and byte-identical to the Python engine, enforced by a conformance suite.

Animated distil proof session: distil bench prints GATE: PASS (every trajectory certified non-inferior); distil wrap -- claude routes with zero config; a live line shows 53% smaller, equivalence 100%; then the proof ledger closes with 1,284,551 โ†’ 601,204 tokens (53.2% smaller), cost $18.41 โ†’ $8.72 calibrated to billed usage, 0 shadow decision changes across 63 A/B samples, 100% recoverable restore

Will it save you money? On metered billing (an API key), yes โ€” directly, off the bill. On a flat-rate Pro/Max subscription there is no per-token bill to cut, but there is a rate-limit window, and spending fewer tokens per turn leaves more of it for the next task. distil quota shows that window live. Savings come from large, repetitive tool output: verbose JSON and duplicated log runs compress 25โ€“99%, while prose and unique-line output compress ~0% โ€” a short session that never reads a big file showing near 0% is the tool working correctly, not failing. Why โ†’

โ—‰ ย LIVE ยท measured from the opt-in census on a public git branch, never estimated

community tokens saved decision-equivalence active installs, 30d

โ–ถ ย Watch the counter tick live & audit every number โ†’

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    โ˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    ๐Ÿง  Knowledge & Memory21 views
    Compare vs Moxie Docs MCP โ†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    ๐Ÿง  Knowledge & Memory16 views
    Compare vs Scrivener MCP โ†’
  • Codebase Memory MCP logoCodebase Memory MCP

    Code-intelligence engine that indexes a repo into a persistent knowledge graph โ€” functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp

    ๐Ÿง  Knowledge & Memory7 views
    Compare vs Codebase Memory MCP โ†’
  • Hindsight logoHindsight

    Hindsight: Agent Memory That Works Like Human Memory - Built for AI Agents to manage Long Term Memory

    ๐Ÿง  Knowledge & Memory3 views
    Compare vs Hindsight โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
16
Stargazers on the source repository.
Last commit
6d ago
Most recent push to the default branch.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Distil

Savings occur only on metered billing models with API keys; flat-rate subscriptions benefit from reduced latency and context size but not cost.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDistil AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dshakes-distil?style=directory)](https://allmcps.com/mcp/dshakes-distil)
HTML Embed
<a href="https://allmcps.com/mcp/dshakes-distil"><img src="https://allmcps.com/api/badge/dshakes-distil?style=directory" alt="Distil on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿง Knowledge & Memory
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
Last updatedSep 4, 2026
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars16
GitHub Star CountTotal stargazers on GitHub representing community popularity (16 stars).
Last commit6d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 4, 2026
52Quality signal: Good ยท 52/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools23/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 22d ago via OSV.dev ยท --from (PyPI)

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿง  Knowledge & Memory โ†’Best MCP servers for Memory & Knowledge โ†’Alternatives to Distil โ†’Install in Claude DesktopInstall in CursorInstall in VS Code