MCP server · Engineering and operations

Anthropic (usage and cost) MCP server

Anthropic (usage and cost) in any MCP client, through Memtro: Anthropic (usage and cost) does not publish this server. Memtro's Anthropic (usage and cost) connector reads Anthropic (usage and cost) through its API with the credentials you connect, and one endpoint hands those tools, every other system you connect and Memtro's memory tools to Claude Code, Cursor, Claude Desktop or anything else that speaks Streamable HTTP, as you.

What the model can do

Anthropic (Claude Console) organisation administration through an Admin API key: daily cost by workspace and line item, token usage by model, workspace and API key, workspaces, members, invites and their roles, and the names of API keys. Can invite people and cancel invites, change and remove members, create, rename and archive workspaces, and add, re-role and remove workspace members. Never calls a model and never returns a key value.

Reads

  • anthropic_cost_reportWhat the Anthropic organisation spent, in USD, in daily buckets with totals per workspace and per line item (model and token type, web search…
  • anthropic_usage_reportClaude API token usage over a window in daily buckets, totalled per model, workspace, API key, service tier (standard, batch, priority…)…
  • anthropic_workspacesWorkspaces in the Anthropic organisation: id, name, created, archived, and where its data lives.
  • anthropic_membersMembers of the Anthropic organisation: name, email, organisation role (owner, admin, developer, billing, user…) and when added.
  • anthropic_workspace_membersMembers of one Anthropic workspace with their workspace role (admin, developer, user, billing…), named from the organisation's member list.
  • anthropic_api_keysThe organisation's Anthropic API keys by name only: id, name, status, workspace, who created it, created and expiry.
  • anthropic_invitesInvites to the Anthropic organisation: id, email, role, status (pending, accepted, expired), when sent, when it expires and when accepted.

Acts, when you ask

These change something in Anthropic (usage and cost). The model is told to use them only when you ask for exactly that, and each one is granted by name: per team on a shared connection, by the owner on a personal one.

  • anthropic_invite_userInvites someone to the Anthropic (Claude Console) organisation by email with the role given: user, developer, billing or claude_code_user…
  • anthropic_delete_inviteCancels a pending Anthropic organisation invite, so its link no longer works.
  • anthropic_change_member_roleChanges a member's Anthropic organisation role to user, developer, billing or claude_code_user.
  • anthropic_remove_memberRemoves a member from the Anthropic organisation: they lose access to the Console and every workspace at once.
  • anthropic_create_workspaceCreates a workspace in the Anthropic organisation with the name given (and optionally a Console colour).
  • anthropic_update_workspaceRenames an Anthropic workspace or changes its Console colour.
  • anthropic_archive_workspaceArchives an Anthropic workspace, permanently: it cannot be undone, and every API key in it stops working within seconds…
  • anthropic_add_workspace_memberAdds an organisation member to an Anthropic workspace with the role given: workspace_admin, workspace_developer…
  • anthropic_change_workspace_member_roleChanges a member's role in one Anthropic workspace (workspace_admin, workspace_developer, workspace_restricted_developer…
  • anthropic_remove_workspace_memberRemoves a member from one Anthropic workspace; they stay in the organisation.

Connect it

First connect Anthropic (usage and cost) on Dashboard → Connections, then add Memtro to your client once. The Anthropic (usage and cost) tools appear alongside the tools of everything else you have connected; nothing is configured per connector.

Claude Code

The Memtro plugin registers the server and a skill for when to use it; the tools are then available in every session.

claude plugin marketplace add memtro-org/claude-memtro
claude plugin install memtro@memtro --config api_key=sk-memtro-...

Cursor

Add the server to .cursor/mcp.json in the project, or to the global file under ~/.cursor/.

{
  "mcpServers": {
    "memtro": {
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Claude Desktop

Create a personal API key on Dashboard → Profile → API keys. In Claude Desktop add an MCP server of type HTTP with URL https://platform.memtro.com/api/mcp and the header Authorization: Bearer sk-memtro-…

OpenCode

A remote server in opencode.json.

{
  "mcp": {
    "memtro": {
      "type": "remote",
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Pi

One command: pi mcp add memtro --url https://platform.memtro.com/api/mcp --bearer-token-env-var MEMTRO_API_KEY. Tools arrive as mcp__memtro__*. The pi-memtro extension registers it for you, alongside Memtro as the model.

Any other client

Add an MCP server of type HTTP (Streamable HTTP, stateless) at https://platform.memtro.com/api/mcp with the header Authorization: Bearer sk-memtro-.... Codex, Zed, Windsurf, Cline and the SDKs all take a remote server this way.

Who may use it

The key identifies the person, and the server offers that person the tools they may use everywhere else in Memtro. A shared Anthropic (usage and cost) connection is used by the teams an administrator granted it to, tool by tool, on the Permissions page; a personal connection is used by its owner alone, and its tools that act stay off until the owner allows them. See Teams and permissions and Connectors.

Ask it like this

  • › What did we spend on Claude last week?
  • › Which workspace used the most tokens in the last 30 days?
  • › How many cache reads did each model have in the last 7 days?
  • › Which keys are still active in the prod workspace?
  • › Invite dan@acme.com to the organisation as a developer.

Questions

Is this an official Anthropic (usage and cost) MCP server?
No. It is Memtro's MCP server with Memtro's Anthropic (usage and cost) connector behind it: the connector reads Anthropic (usage and cost) through its API with the credentials you connect on Dashboard → Connections, and Anthropic (usage and cost) publishes nothing here. The same endpoint carries every other system you connect and Memtro's memory tools.
What does it cost?
Nothing on top of Memtro. One price per organisation by its number of users, from $50 a month for up to 10 users after a 7-day free trial, with every connector, the MCP server, jobs and memory included. You bring your own model keys.
Can it change anything in Anthropic (usage and cost)?
Only when you ask, and only what it has been granted: invite someone to the Anthropic organisation by email with a chosen role (Anthropic emails them); cancel a pending Anthropic organisation invite; change a member's Anthropic organisation role; remove a member from the Anthropic organisation; create an Anthropic workspace; rename or recolour an Anthropic workspace; archive an Anthropic workspace permanently: its API keys stop working; add an organisation member to an Anthropic workspace with a chosen role; change a member's role in an Anthropic workspace; remove a member from an Anthropic workspace. Every other tool reads, searches or lists. An administrator grants each acting tool by name per team, and a personal connection acts only after its owner allows it.
Which clients work?
Any MCP client that speaks Streamable HTTP: Claude Code, Cursor, Claude Desktop, OpenCode, Codex, Zed, Windsurf, Cline and the Anthropic and OpenAI SDKs. There is no local process to run; the server is remote and authenticated with your key.

Other MCP servers · Engineering and operations

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time