LLM Usage MCP Server
by zhaoyue722io.github.zhaoyue722/llm-usage-mcpv0.1.3
Local LLM API cost tracking for Anthropic, OpenAI, Qwen and DeepSeek: SQLite usage ledger, spend queries, provider comparison and CNY to USD conversion.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install LLM Usage MCP server
Install in Claude Code
claude mcp add llm-usage -- uvx llm-usage-mcpInstall in Cursor
{
"mcpServers": {
"llm-usage": {
"command": "uvx",
"args": [
"llm-usage-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"llm-usage": {
"command": "uvx",
"args": [
"llm-usage-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"llm-usage": {
"type": "stdio",
"command": "uvx",
"args": [
"llm-usage-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"llm-usage": {
"command": "uvx",
"args": [
"llm-usage-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-09 · 1d ago · GitHub
Latest release
2026-07-07 · 3mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-08-03 · 2mo ago · official registry · v0.1.3
FAQ
›How do I install the LLM Usage MCP server in Claude Code?
Run: claude mcp add llm-usage -- uvx llm-usage-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does LLM Usage require an API key?
No required environment variables are declared in its published metadata.
›Can I use LLM Usage as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is LLM Usage in the official MCP registry?
Yes, as io.github.zhaoyue722/llm-usage-mcp.
Alternatives to LLM Usage
Other database MCP servers.