Skip to content
Zed

token lens for Zed

io.github.mdfifty50-boop/token-lens

Context window token analysis and budget management

client:Zed transport:stdio runtime:npm

Install token lens in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "token-lens": {
      "command": "npx",
      "args": [
        "-y",
        "token-lens-mcp"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

token lens in other clients