mcpbeat Sign in

Claude Code Usage MCP Server

by wheelbarrel00 Your server? Claim it
local only

Claude Code Usage runs on your own machine — the client starts it, so there is no endpoint to ping. 28 installs a week from npm. Last commit 22 Jun 2026.

Claude Code token usage, cost, and plan limits from local logs and Anthropic's usage API.

Installs per day peak 24 · avg 6 · +56% w/w
a month agotoday
28
Installs / week
npm · claude-code-usage-mcp
0
Stars
0 open issues
22 Jun 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Claude Code Usage every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add claude-code-usage -- npx -y claude-code-usage-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "claude-code-usage": {
      "args": [
        "-y",
        "claude-code-usage-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.claude-code-usage]
command = "npx"
args = ["-y", "claude-code-usage-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "claude-code-usage": {
      "args": [
        "-y",
        "claude-code-usage-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "claude-code-usage": {
      "args": [
        "-y",
        "claude-code-usage-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Claude Code Usage

same job, measured the same way
Token Meter
by whdrnr2583-cmd

Local-first dashboard + MCP for Claude Code and Codex token usage. Per-MCP/tool breakdown.

109 installs/wk local only
AI Usage
by mohitbansal321

Reports real token usage and cost from Claude Code and OpenCode data. Nothing leaves your machine.

436 installs/wk local only
SkillFM Claude Code Token Usage
by ericm1018

Claude Code token usage, cost visibility, and SkillFM Beacon AI health checks for MCP agents.

32 installs/wk local only
Fable
by codechap

Anthropic Claude Fable 5 MCP server — top-tier planning and code critique for handoff

local only
AI R
by pro-target

Read local AI agent sessions (Claude Code, Codex, OpenCode, Antigravity, Pi): intents, plans, tools

42 installs/wk local only
MCP Memory Graph
by yonasvalentin

Local-first memory for Claude Code and any MCP client: hybrid search + knowledge graph, $0/token.

84 installs/wk local only
Remem
by majiayu000

Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.

505 installs/wk local only
AI Scanner
by aakashbhardwaj27

Scan codebases for LLM/AI SDK usage, exposed API tokens, and hardcoded secrets.

44 installs/wk local only

Claude Code Usage — questions

Answers built from our own checks of this server.

Why is there no uptime for Claude Code Usage?
Claude Code Usage runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package claude-code-usage-mcp was installed 28 times last week.
How do I connect Claude Code Usage?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls claude-code-usage-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Claude Code Usage?
The npm package claude-code-usage-mcp was installed 28 times in the last week. Week over week that is +56%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Claude Code Usage open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.