anthropic_billing-mcp

anthropic_billing-mcp is a skill for Claude Code, Codex from mcp-dir/anthropic_billing-mcp. It costs 83 tokens per session (930 once invoked), scanned A, original, MIT.

A skill for using the Anthropic Billing REST API through MCP.AI. It provides access to an Anthropic organization’s usage and cost reports when the user has connected an admin API key.

In plain words
What is it for?
Use it to request Anthropic organization costs and usage through the listed billing endpoints, or report an endpoint problem to the service.
Why use it?
It avoids collecting Anthropic billing information manually and provides a defined way to request usage and cost data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to request Anthropic organization costs and usage through the listed billing endpoints, or report an endpoint problem to the service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mcp-dir/anthropic_billing-mcp --skill anthropic_billing-mcp
Clone the repo
git clone --depth 1 https://github.com/mcp-dir/anthropic_billing-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anthropic_billing-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp/github.svg)](https://agentmods.dev/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp)
Your own site
<a href="https://agentmods.dev/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp"><img src="https://agentmods.dev/badge/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for anthropic_billing-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp"><img src="https://agentmods.dev/badge/skills/mcp-dir/anthropic_billing-mcp/anthropic_billing-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00930
Opus 5 $0.00042 $0.00465
Sonnet 5 $0.00017 $0.00186
Haiku 4.5 $0.00008 $0.00093

Measured 12d ago against content hash b3e5077a0dd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

anthropic_billing-mcp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://api.mcp.ai/api/anthropic_billing/cost \
skills/anthropic_billing-mcp/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anthropic Billing — REST API skill

Você tem acesso à Anthropic Billing REST API na MCP.AI.

Anthropic organization usage and cost reporting through an admin API key connected by the user.

Base URL

https://api.mcp.ai/api/anthropic_billing

Todo endpoint é um POST na Base URL + o path abaixo. Os parâmetros vão no corpo JSON.

Autenticação

Inclua em toda request:

Authorization: Bearer sk_live_...
Content-Type: application/json

Gere sua chave em https://app.mcp.ai/settings/api-keys (workspace API key sk_live_…, não expira, revogável). Uma única chave serve pra todos os seus MCPs.

Formato de resposta

{ "ok": true, "tool": "<tool_id>", "result": <payload> }

Exemplo cURL

curl -X POST https://api.mcp.ai/api/anthropic_billing/cost \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Reportar problemas

Se um endpoint retornar erro, vazio ou dado inesperado, reporte (não desista calado): POST /api/anthropic_billing/report com { "message": "...", "context"?: "...", "conversation"?: [...] }. Isso notifica o time da MCP.AI.

Endpoints (3)

anthropic_billing_cost

Get normalized Anthropic cost report for a date range. (POST /api/anthropic_billing/cost)

Parâmetro Tipo Obrigatório Descrição
days_back integer Não Relative range in days. Ignored when start_date and end_date are provided.
start_date string Não Start date YYYY-MM-DD.
end_date string Não End date YYYY-MM-DD.
group_by string Não Optional Anthropic group_by parameter, for example model.
bucket_width string Não Report bucket width.
account string Não When multiple Anthropic admin keys are connected: connection id or label. See anthropic_billing_list_accounts.
anthropic_billing_list_accounts

List Anthropic Billing admin API connections linked to this install. (POST /api/anthropic_billing/list/accounts)

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 89 lines · 0 tokens per session scan A b3e5077a0dd5

Subscribe to this mod's changes

anthropic_billing-mcp is a skill published in the GitHub repository mcp-dir/anthropic_billing-mcp (0 stars, last pushed 12d ago), licensed MIT. It adds 83 tokens to every session and 930 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens