Agent Context Window Manager

Agent Context Window Manager MCP Connector for Claude

A+

Deterministic token tracking and context optimization for long-running AI conversations.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides precise tools to manage the health of LLM conversations. It calculates remaining context, plans compression strategies using sliding windows, and analyzes fragmentation between tool calls and dialogue. Use calculate_remaining_context to monitor usage, plan_compression to prepare for upcoming overflows, and analyze_fragmentation to ensure tool-heavy conversations remain efficient.

tokenscontext-windowcompressionoptimizationllm-health

3 tools expose this connector's capabilities to your AI agent.

analyze_fragmentation

calculate_remaining_context

plan_compression

See how to talk to your AI agent using Agent Context Window Manager.

How much space is left in my 128k context window?

You have 45,200 tokens remaining before reaching the compression threshold.

Plan a compression strategy for my current usage.

The recommended strategy is to keep the last 5 turns and summarize the preceding history with a 5:1 ratio.

Is my conversation becoming too tool-heavy?

The fragmentation ratio is 0.65, indicating a Tool Heavy status.

The `calculate_remaining_context` tool subtracts system prompts, tool definitions, conversation history, and multimodal tiles from the total window size.

Related Connectors