Koskamo

ctx-profiler MCP

A zero-dependency Python stdio MCP server and CLI that profiles token waste and simulates compaction policies for coding-agent session logs. It replays multi-turn transcripts to attribute tokens across six MECE buckets (file rereads, tool output bloat, reasoning replay, system schemas, history replay, and useful work), enabling developers to identify context-bloat failure modes in tools like Claude Code, Codex, and Cline.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

ctx-profiler MCP logo, by cuhawkCommunity listingLocal stdioSource reviewed; not executedPublished by cuhawk
Vendor documentation

What you can do with it

  • Profile token waste in Claude Code, Codex, Cline, or OpenClaw session logs
  • Simulate five concrete compaction policies to estimate savings
  • Analyze token distribution across six mutually-exclusive categories
  • Generate benchmark visuals for context engineering

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

ctx-profiler 0.1.1

pypiuvx
ctx-profiler package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "ctx-profiler",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "ctx-profiler-mcp": {
      "command": "uvx",
      "args": [
        "ctx-profiler==0.1.1",
        "mcp"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "ctx-profiler-mcp": {
      "command": "uvx",
      "args": [
        "ctx-profiler==0.1.1",
        "mcp"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "ctx-profiler-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ctx-profiler==0.1.1",
        "mcp"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "ctx-profiler-mcp": {
      "command": "uvx",
      "args": [
        "ctx-profiler==0.1.1",
        "mcp"
      ]
    }
  }
}

Let your agent find its tools

Find servers like ctx-profiler MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.