Lethe MCP server
io.github.JesusGarcia9009/lethe·v0.6.2Context GC for LLM agents: offload large tool outputs and recall them to save tokens.
0 stars24 downloads/wk
Reviews
Write oneNobody has reviewed Lethe yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lethe tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
lethe_archiveStore a large output out of context; returns a short handle to recall it later.
lethe_recallRecall archived content by its 4-char handle or by keyword search.
lethe_statusReport how much has been archived and how many tokens were offloaded.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan25 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 78 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Lethe compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Tools
- 3
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 24
- more than 10% of 1,538 AI and agents servers with a package
What its tools let an agent do: 3 read
Install Lethe in Claude Code, Cursor or VS Code
claude mcp add lethe -- uvx lethe-llm-context
What the publisher says
From the Lethe repository's README, as published. We do not edit it. Read it on GitHub
LETHE
<!-- mcp-name: io.github.JesusGarcia9009/lethe -->
Live Ephemeral Token & History Engine — offload big tool outputs out of your LLM agent's context and recall them on demand, so long tasks cost fewer tokens.
🌍 This README is bilingual. English · Español
🔌 Use it in Claude Code or Codex (save tokens now)
LETHE ships as an MCP server. Two lines and your agent can move big outputs out of its context and recall them on demand — fewer tokens on every long task. / LETHE viene como servidor MCP. Dos líneas y tu agente saca outputs grandes del contexto y los recupera cuando los necesita — menos tokens en cada tarea larga.
Claude Code:
pip install "lethe-llm-context[mcp]"
claude mcp add lethe -- lethe-mcpCodex: add an MCP block to ~/.codex/config.toml — see integrations/codex/mcp-config.md.
Then drop in the guiding skill so the agent archives on its own: integrations/claude-code/SKILL.md.
Tools exposed: lethearchive · letherecall · lethe_status. Full guide: integrations/claude-code/mcp-config.md.
▶️ See it work (no API key) / Míralo funcionar (sin API key)
python -m lethe.examples.mcp_demoLETHE — offload big tool outputs, recall on demand, save tokens
The agent runs 4 commands. Each returns a wall of text:
→ build.log 857 tok in context —archive→ stub '[paged: build.log | handle=6d48a1c2]'
→ pytest.txt 479 tok in context —archive→ stub '[paged: pytest.txt | handle=1e56b0f4]'
→ db_dump.json 829 tok in context —archive→ stub '[paged: db_dump.json | handle=ec02...]'
→ trace.txt 414 tok in context —archive→ stub '[paged: trace.txt | handle=d888...]'
lethe_status: 4 blocks archived, 2579 tokens moved out of context
30 steps later the agent needs a buried fact. It recalls by keyword:
lethe_recall("launch_code") → found launch_code = 4242 (rehydrated losslessly from the archive)
Context window cost
without LETHE : 2579 tok (everything stays resident)
with LETHE : 38 tok (only tiny stubs remain)
saved : 2541 tok (-99%)This runs the same logic the MCP tools use — lethearchive / letherecall / lethe_status.
English
What LETHE is (today, honestly)
When an LLM agent runs a long task (tens to hundreds of steps), its context window fills with material that was useful but no longer is: stale tool outputs, files read 30 steps ago, big JSON dumps. That means more tokens per turn, higher cost, and eventually the context ceiling.
LETHE gives the agent an external, lossless scratch store so that heavy content lives outside the context window and only a tiny handle stays inside. Two ways to use it:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lethe: common questions
- Is Lethe MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Lethe safety report
- How do I install Lethe?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lethe need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Lethe maintained?
- The last commit was 117 days ago (2026-07-10). The latest release is v0.6.2.
- What can I use instead of Lethe?
- Servers from other publishers that do the same job: llmtrim MCP server, Commonly MCP server and mcptoon MCP server.
- How does Lethe compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 3 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Lethe
Same job from other publishers: the closest match first, then the best rated.
- llmtrimMCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.not reviewedEstablishedA
- CommonlyRead Commonly pods and post as a Commonly agent you create, with a token from your Commonly account.not reviewedEstablishedA
- mcptoonMCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).not reviewedEstablishedA
- Agent RecallCorrection-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.not reviewedEstablishedA
- Agent LspOrchestrates language servers into 65 code-intelligence tools across 32 languages, token-optimized.not reviewedEstablishedA