MCP server
Token Optimizer
Reversible context compression for AI agents: cut token usage up to 94%, originals…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 6 days ago
About Token Optimizer
Token Optimizer is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Reversible context compression for AI agents: cut token usage up to 94%, originals retrievable
Install
Run in a terminal
claude mcp add token_optimizer -- uvx slimctxAdd to claude_desktop_config.json
{
"mcpServers": {
"token_optimizer": {
"command": "uvx",
"args": [
"slimctx"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"token_optimizer": {
"command": "uvx",
"args": [
"slimctx"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"token_optimizer": {
"type": "stdio",
"command": "uvx",
"args": [
"slimctx"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"token_optimizer": {
"command": "uvx",
"args": [
"slimctx"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"token_optimizer": {
"command": "uvx",
"args": [
"slimctx"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Token Optimizer FAQ
Is Token Optimizer free?
Yes. Token Optimizer is open source, so you can use and self-host it for free.
How do I add Token Optimizer to Claude Code?
Run this command in your terminal: claude mcp add token_optimizer -- uvx slimctx
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.