Skip to main content
Glama
Orellius

claudeusage-mcp

get_session_usage

Monitor your current Claude session usage to track burst limit consumption and reset timing for effective quota management.

Instructions

Get your current 5-hour session usage window — how much of your burst limit you have used and when it resets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Tool registration and handler for get_session_usage in src/index.ts.
    server.tool(
      "get_session_usage",
      "Get your current 5-hour session usage window — how much of your burst limit you have used and when it resets.",
      {},
      async () => {
        const result = await fetchUsage();
    
        if (!result.data) {
          return {
            content: [{ type: "text", text: result.error ?? "Failed to fetch usage data." }],
            isError: true,
          };
        }
    
        return { content: [{ type: "text", text: formatSessionUsage(result.data) }] };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Orellius/claudeusage-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server