Skip to main content
Glama
beeltec

context-usage-mcp

by beeltec

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_context_usageA

Reports the current session's raw token usage, read directly from the host's own session transcript/rollout (auto-detected: Claude Code or OpenAI Codex CLI). Returns raw counts only — context_tokens (input + cache_creation + cache_read) plus a full breakdown and session metadata (session_id, model, timestamp) — with no percentage or context-window detection. May be unavailable early in a session before the first model response; then it returns { available: false, reason } instead of failing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/beeltec/context-usage-mcp'

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