AI Usage MCP Server
by mohitbansal321io.github.MohitBansal321/ai-usage-mcpv0.12.1
Reports real token usage and cost from Claude Code and OpenCode data. Nothing leaves your machine.
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install AI Usage MCP server
Install in Claude Code
claude mcp add ai-usage -- npx -y ai-usage-mcpInstall in Cursor
{
"mcpServers": {
"ai-usage": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ai-usage": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"ai-usage": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-usage-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ai-usage": {
"command": "npx",
"args": [
"-y",
"ai-usage-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-28 · 12d ago · GitHub
Latest release
2026-09-28 · 12d ago · GitHub · v0.12.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-28 · 12d ago · official registry · v0.12.1
FAQ
›How do I install the AI Usage MCP server in Claude Code?
Run: claude mcp add ai-usage -- npx -y ai-usage-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does AI Usage require an API key?
No required environment variables are declared in its published metadata.
›Can I use AI Usage as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is AI Usage in the official MCP registry?
Yes, as io.github.MohitBansal321/ai-usage-mcp.
Alternatives to AI Usage
Other ai & llm tools MCP servers.