Home / MCP servers / Cloud & infra / llm-usage-mcp

llm-usage-mcp

llm-usage-mcp is a MCP server by zhaoyue722 that local LLM API cost tracking for Anthropic, OpenAI, Qwen and DeepSeek: SQLite usage ledger, spend queries, provider comparison and CNY to USD conversion.

Updated 2026-10-13

What is llm-usage-mcp?

llm-usage-mcp is a MCP server by zhaoyue722 that local LLM API cost tracking for Anthropic, OpenAI, Qwen and DeepSeek: SQLite usage ledger, spend queries, provider comparison and CNY to USD conversion. It is listed under Cloud & infra and has 5 GitHub stars.

TypeMcp server
Authorzhaoyue722
Repositoryzhaoyue722/llm-usage-mcp
Popularity5 GitHub stars
CategoryCloud & infra
SecurityLow risk (96/100)
Rank#2,222 of 4,418 MCP servers; #130 in Cloud & infra
LicenseMIT
Last commit2026-10-13
RunsLocally
LanguagePython
PlatformsmacOS, Windows, Linux

Is llm-usage-mcp safe to install?

llm-usage-mcp scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Read-only by descriptionPass
No code executionPass
Source on GitHubPass

How do I install llm-usage-mcp?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/zhaoyue722/llm-usage-mcp
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add llm-usage-mcp -- <command from README>
    claude mcp add --transport http llm-usage-mcp <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs llm-usage-mcp for you:

Add the "llm-usage-mcp" MCP server from https://github.com/zhaoyue722/llm-usage-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.