Skip to main content
Glama
Orellius

claudeusage-mcp

check_rate_status

Monitor Claude API usage to prevent rate limiting by checking current status and receiving actionable guidance.

Instructions

Check if you are close to being rate limited. Returns a clear status: LOW, MODERATE, or HIGH usage with actionable advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration and handler implementation for the check_rate_status tool.
    server.tool(
      "check_rate_status",
      "Check if you are close to being rate limited. Returns a clear status: LOW, MODERATE, or HIGH usage with actionable advice.",
      {},
      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: formatRateStatus(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