Skip to content
MCP server

Lethe

Context GC for LLM agents: offload large tool outputs and recall them to save tokens.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.6.2
Listing updated
5 days ago

About Lethe

Lethe is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add lethe -- uvx lethe-llm-context

Add to claude_desktop_config.json

{
  "mcpServers": {
    "lethe": {
      "command": "uvx",
      "args": [
        "lethe-llm-context"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lethe": {
      "command": "uvx",
      "args": [
        "lethe-llm-context"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "lethe": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lethe-llm-context"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lethe": {
      "command": "uvx",
      "args": [
        "lethe-llm-context"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lethe": {
      "command": "uvx",
      "args": [
        "lethe-llm-context"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • LETHE_DBPath to the SQLite archive file (default ./lethe.db)

Pricing

Open source

Lethe FAQ

Is Lethe free?

Yes. Lethe is open source, so you can use and self-host it for free.

How do I add Lethe to Claude Code?

Run this command in your terminal: claude mcp add lethe -- uvx lethe-llm-context

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers