Claude Code Token Saver

by csabakecskemeti

512 downloads
Not rated
GitHub

About

The MCP server allows users to utilize user-defined and/or local LLMs in Clause Code to handle smaller, straightforward tasks and save tokens.

Details

Author
csabakecskemeti
Downloads
512
Categories
Developer Tools, AI

- 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.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Claude Code Token Saver
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "claude code token saver": {
            "cc-token-saver": {
                "type": "stdio",
                "command": "python",
                "args": [
                    "<path>/cc_token_saver_mcp/server.py"
                ]
            }
        }
    }
}

McpServers

{
    "cc-token-saver": {
        "type": "stdio",
        "command": "python",
        "args": [
            "<path>/cc_token_saver_mcp/server.py"
        ]
    }
}

Allow Claude code to use local llm for smaller tasks to save token or for specialized task.

Reduce your Claude Code tokens with ‘CC token saver’ MCP server that intelligently delegates simple tasks to your local LLM while keeping Claude Code for complex coordination and architecture decisions.

The MCP server exposes your local LLM as tools that Claude Code can use for:

- Code snippet generation
- Simple refactoring tasks
- Documentation writing
- Code reviews
- Basic Q&A Claude Code automatically tries the local LLM first for simple tasks, only using premium tokens when necessary for complex reasoning and multi-step workflows.

# Local LLM Configuration OPENAI_API_KEY=none OPENAI_BASE_URL=http://localhost:1234/v1 LOCAL_MODEL_NAME=qwen2.5-7b-instruct LOCAL_LLM_TEMPERATURE=0.7 LOCAL_LLM_MAX_TOKENS=-1
"mcpServers": { "cc-token-saver": { "type": "stdio", "command": "python", "args": [ "<path>/cc_token_saver_mcp/server.py" ] } },

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

next-devtools-mcp is a MCP server that provides Next.js development tools and utilities for AI coding assistants like Claude and Cursor.

Word search, crossword, and sudoku generator MCP server with printable PDF worksheets, themed word banks, and verifiable LLM evals. Local-first, from the makers of puzzletide.com.

A demonstration server for ActionKit, providing access to Slack actions via Claude Desktop.

MCP server that lets Claude Code agents delegate tasks to agents in other project directories, with parallel dispatch, sessions, and async jobs.

Statistical regression testing for LLM agents: p-value, effect size, and CI on behavior change.

A Python MCP package that gives your LLM agents complete file system and shell capabilities — production-ready, sandboxed, and wired to any LLM in minutes.

Integrates with Google AI Studio/Gemini API for PDF to Markdown conversion and content generation.

Anchor Browser (https://anchorbrowser.io) is secure infrastructure for computer-use agents — stealth cloud browsers, authentication, captcha bypass, and a hosted MCP server for Cursor, Claude, and Windsurf.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.