MCPDocumentation
On this page

Core

My usage

usage
Read
Permission required
None: available to any valid key

When to use it

Calls and units used this month by this key (per tool, with p95 latency) and the organization's monthly quota. Use it to know what is left before a big job.

Input

No parameters.

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
monthRequiredstringYYYY-MM (UTC)
organizationRequiredobject
organization.quotaRequirednumber | nullMonthly units; null = unlimited
organization.usedRequirednumber
organization.remainingRequirednumber | null
organization.write_weightRequirednumberUnits a confirmed write costs (reads cost 1)
organization.resets_atRequiredstring
this_keyRequiredobject
this_key.callsRequirednumber
this_key.unitsRequirednumber
this_key.errorsRequirednumber
this_key.quotaRequirednumber | null
this_key.per_toolRequiredobject[]
this_key.per_tool[].toolRequiredstring
this_key.per_tool[].callsRequirednumber
this_key.per_tool[].errorsRequirednumber
this_key.per_tool[].unitsRequirednumber
this_key.per_tool[].bytesRequirednumber
this_key.per_tool[].p95_msRequirednumber | null

Examples

Example 1: See how much of this month's quota is left

Call

JSON
{
  "name": "usage",
  "arguments": {}
}

Response

JSON
{
  "month": "2026-11",
  "organization": {
    "quota": 10000,
    "used": 1240,
    "remaining": 8760,
    "write_weight": 5,
    "resets_at": "2026-12-01T00:00:00.000Z"
  },
  "this_key": {
    "calls": 310,
    "units": 330,
    "errors": 2,
    "quota": null,
    "per_tool": [
      {
        "tool": "whoami",
        "calls": 4,
        "errors": 0,
        "units": 4,
        "bytes": 2100,
        "p95_ms": 35
      }
    ]
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "usage",
    "arguments": {}
  }
}