# context-usage-mcp

> context-usage-mcp — beeltec-context-usage-mcp. Use this tool when you need to analyze context size and branch behavior in Claude Code and OpenAI Codex CLI sessions. It provides a get_context_usage function that takes session transcripts as input and outputs raw token usage reports, helping agents optimize their performance. Ideal for use cases where understanding context usage is crucial for improving AI model efficiency and decision-making.

Canonical page: https://skillsregistry.net/skills/beeltec-context-usage-mcp  
JSON: https://api.skillsregistry.net/v1/skills/beeltec-context-usage-mcp

## Description

Exposes a get_context_usage tool that reports raw token usage from session transcripts for Claude Code and OpenAI Codex CLI, enabling agents to check context size and branch behavior.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/gslu64b6wv)
- **Repository:** <https://github.com/beeltec/context-usage-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "beeltec-context-usage-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/beeltec-context-usage-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/beeltec-context-usage-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
