SkillFM Claude Code Token Usage

io.github.ericm1018Published by GitHub account ericm1018v0.1.0Updated Nov 3, 2026

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

The publisher's own server: Claude Platform Docs

Overview

AI-generated overview

Thin local stdio gateway that forwards to SkillFM Beacon for Claude Code token usage, cost visibility and AI health checks.

What you can do
  • Inspect Claude Code token usage and estimated cost signals
  • Surface repeated context, stale sessions and cost-saving opportunities
  • Run SkillFM Beacon AI health checks and cleanup audits
  • Start a local sidecar and walk through a device-code activation flow
  • Forward all execution to the SkillFM MCP and local runtime packages
When to use it
Worth adding if you want an assistant to report how many Claude Code tokens were used, explain usage spikes, or flag sessions and projects wasting context, and you are willing to activate the SkillFM local sidecar.
Requirements
Runs locally over stdio via npx, so Node.js and network access are needed to fetch the npm packages. It forwards to the SkillFM MCP and local runtime packages. Activation requires starting the local sidecar and completing a device-code flow; no environment variables or headers are declared.
Before you install
The package is a thin gateway that delegates to SkillFM's MCP and local runtime, so its behavior depends on those packages. Activation involves a device code and verification URL from the sidecar; the README warns not to fabricate a placeholder code. Provider keys are described as introduced later under a BYOK model, and the sidecar writes local state such as a local.json file.

Installation

In SourceWeft

  1. Open SkillFM Claude Code Token Usage in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

SkillFM Claude Code Token Usage MCP

Claude Code token usage and cost visibility for MCP-capable agents.

This repository is a transparent SkillFM gateway package. It exists to match a specific marketplace/search intent, then delegates execution to the canonical SkillFM Beacon MCP and local runtime.

Powered by SkillFM Beacon.

Quick Start

Use this gateway as an MCP stdio server:

bash
npx -y @skillfm/claude-code-token-usage-mcp@latest

Equivalent explicit SkillFM entrypoint:

bash
npx -y @skillfm/mcp@latest

For MCP clients that accept JSON config:

json
{  "mcpServers": {    "claude-code-token-usage": {      "command": "npx",      "args": ["-y", "@skillfm/claude-code-token-usage-mcp@latest"]    }  }}

What This Gateway Helps With

  • Inspect Claude Code token usage and estimated cost signals.
  • Connect usage visibility to SkillFM Beacon AI health checks.
  • Find repeated context, stale sessions, and cost-saving opportunities.
  • Route users toward local-first SkillFM activation without asking for provider keys first.

This gateway is for users who ask:

  • "How many Claude Code tokens did I use today?"
  • "Why did my Claude Code usage spike?"
  • "Which sessions or projects are wasting context?"
  • "Can my agent show me token usage before I connect provider keys?"

How It Works

The public package is intentionally thin. It sets SKILLFM_GATEWAY_SOURCE=claude-code-token-usage and forwards execution to @skillfm/mcp@latest, which then delegates to the canonical @skillfm/local runtime.

No private SkillFM platform logic, customer data, provider credentials, or backend modules live in this repository.

Activation Path

Start the local sidecar when the user wants to connect SkillFM:

bash
npx -y @skillfm/claude-code-token-usage-mcp@latest start

Agent-driven activation flow:

  1. Read the sidecar URL from stdout or ~/.skillfm/local.json.
  2. Call POST <sidecar_url>/activate/start.
  3. Show the returned verification URL and real device code to the user.
  4. Poll POST <sidecar_url>/activate/poll until it returns activated: true.
  5. Use SkillFM Beacon MCP tools for checkups, usage visibility, BYOK guidance, and cleanup audits.

Do not fabricate a placeholder code. The device code must come from POST /activate/start.

Security Model

  • Transparent gateway: This package is a public search/distribution gateway, not a separate hidden product.
  • Local-first runtime: Runtime execution goes through SkillFM's local package.
  • BYOK boundary: Provider keys are introduced only after user value is established, and key values are not read back by agents.
  • No private core: This repository contains distribution metadata, docs, and a thin launcher only.
  • Read-only first: Cleanup and usage inspection begin with read-only audits.

See PRIVACY.md and SECURITY.md.

Marketplace Keywords

Claude Code token usage, Claude usage, token cost, LLM cost, AI health checkup, agent monitoring, context cleanup, SkillFM Beacon, MCP server.

Expected Official MCP Registry single-token hits:

  • claude-code
  • token
  • usage
  • cost
  • skillfm

License

MIT

Source: README.md at commit bf82036

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Claude integrations