
Claude Code Token Saver
@csabakecskemeti
About Claude Code Token Saver
The MCP server allows users to utilize user-defined and/or local LLMs in Clause Code to handle smaller, straightforward tasks and save tokens.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cc-token-saver": {
"type": "stdio",
"command": "python",
"args": [
"<path>/cc_token_saver_mcp/server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Claude Code Token Saver?
Claude Code Token Saver is an MCP server that reduces token usage in Claude Code by delegating simple tasks—like code snippet generation, documentation, and basic Q&A—to a local LLM, reserving Claude Code for complex coordination and architecture decisions.
How to use Claude Code Token Saver?
Set up the MCP server and configure Claude Code to use it. Claude Code automatically tries the local LLM first for simple tasks; you invoke the server’s tools (e.g., query_local_llm) through standard MCP tool calls. No special commands beyond normal MCP configuration are required.
Key features of Claude Code Token Saver
- Delegates simple tasks to your local LLM automatically.
- Exposes local LLM as MCP tools for Claude Code.
- Saves premium tokens for complex reasoning workflows.
- Supports code generation, refactoring, documentation, and reviews.
- Works with any local LLM compatible with the MCP server.
Use cases of Claude Code Token Saver
- Generating boilerplate or example code without using premium tokens.
- Performing quick code reviews and refactoring tasks locally.
- Writing documentation and answering basic programming questions.
- Offloading simple, repetitive coding tasks to conserve token budgets.
- Keeping Claude Code focused on multi-step architecture decisions.
FAQ from Claude Code Token Saver
What tasks does the local LLM handle?
Simple tasks such as code snippet generation, basic refactoring, documentation writing, code reviews, and basic Q&A.
How does Claude Code Token Saver decide which tasks to delegate?
Claude Code automatically tries the local LLM first for simple tasks; only complex reasoning and multi-step workflows are sent to Claude Code’s premium tokens.
Do I need to run a local LLM to use this server?
Yes, the server requires your local LLM to be accessible; it exposes that local LLM as tools for Claude Code.
What configuration is needed?
No specific configuration details are provided in the README beyond standard MCP server setup and ensuring your local LLM is available.
Are there any known limitations?
— (No limitations mentioned in the README.)
More Developer Tools MCP servers
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
Comments