AI Usage for Zed
io.github.mohitbansal321/ai-usage-mcp
Reports real token usage and cost from Claude Code and OpenCode data. Nothing leaves your machine.
client:Zed
transport:stdio
runtime:npm
Install AI Usage in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"ai-usage-mcp": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp"
]
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs