About mcp-token-optimizer
Cut LLM token costs: count tokens, estimate cost, slim prompts, and pick the cheapest capable model
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
4Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | The text/prompt to measure. |
| model | string | No | Optional model id (e.g. gpt-4o, claude-sonnet-4). Omit to compare across common models. |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.