audit_tokens

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Command audit_tokens measures the LLM context window overhead of all registered MCP tool definitions. It creates in-memory MCP servers in both individual and meta-tool modes, serializes tool definitions to JSON, and estimates token counts using a byte-based heuristic (bytes / 4).

Usage:

go run ./cmd/audit_tokens/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL