Skip to content
MCP server

ATR: Automation for Token Reduction

MCP proxy that hides tool lists and shrinks tool results to cut token use

Runs locally

ATR: Automation for Token Reduction is a free MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI, API, macOS
Runs
Locally
What it can do
Can change data (1 tool)
Version
1.0.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add atr -- uvx atr-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "atr": {
      "command": "uvx",
      "args": [
        "atr-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "atr": {
      "command": "uvx",
      "args": [
        "atr-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "atr": {
      "command": "uvx",
      "args": [
        "atr-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "atr": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "atr-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add atr -- uvx atr-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.atr]
command = "uvx"
args = ["atr-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "atr": {
      "command": "uvx",
      "args": [
        "atr-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user atr uvx -- atr-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "atr": {
          "command": "uvx",
          "args": [
            "atr-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About ATR: Automation for Token Reduction

ATR addresses two sources of wasted tokens: every tool's instructions being sent on each message, and huge tool results such as a list of issues or a test run. It sits between your AI app and your MCP servers, shows the model a few small ATR tools, and lets it search for the tool it needs on demand. Results are trimmed before the model sees them, a failing test run keeps the failures, and the full result is stored so the model can ask for any part.

The README reports its own benchmarks: 1,000 GitHub issues dropped from 429,203 to 879 tokens, and in a browser task Claude Code cost $0.110 per task against $0.237 without it. Codex was mixed, sending fewer full-price tokens but more overall. It says ATR helps little for plain coding without MCP servers.

Install with pip install atr-mcp (Python 3.11 or newer) and run atr setup, which shows its plan, asks first and backs up every file it changes. A hosted connector at https://atr-mcp.vercel.app/mcp adds web search, fetch, places and weather tools without installing anything.

Tools this server provides (15)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 15 tools changes data; 7 names don't say.

From the server's own tool labels and tool names; not verified by us.

atr_fetchName suggests: reads
Reads live web pages, PDFs, Office documents and JSON as compact text.
atr_searchName suggests: reads
Searches DuckDuckGo, Bing and Brave at once and returns one merged list.
atr_places
Finds local places using OpenStreetMap data.
atr_site
Inspects a website or searches its sitemap and navigation.
atr_weather
Gets current weather and up to seven forecast days.
atr_queryName suggests: reads
Retrieves more from a large result that ATR kept.
atr_stats
Shows how many tokens ATR has saved.
atr_find_toolsName suggests: reads
Searches your servers' tools and returns the few that fit.
atr_readName suggests: reads
Runs a read-only tool and shrinks the result.
atr_call
Runs a tool that changes something.
atr_repo_map
Maps a project without opening files one by one.
atr_search_codeName suggests: reads
Compact code search.
atr_read_fileName suggests: reads
Reads part of a file.
atr_diff
Compact git diff.
atr_runName suggests: changes
Runs shell commands and trims output.

What it does

Hidden tool list
The model sees a few ATR tools and searches for the right tool only when needed.
Result shrinking
Removes noise such as passing tests and page layout while keeping errors, text and links.
Full results kept
atr_query retrieves any part of a result that was cut.
Read and write split
Read-only tools go through atr_read; anything that changes data goes through atr_call so your app can ask first.
Hosted web tools
Free connector with fetch, multi-engine search, places, site inspection and weather, no API keys.
Coding tools
Repo map, code search, partial file reads, compact diffs and shell runs with trimmed output.
Reversible setup
atr setup --undo restores every app, and a dry run shows the plan.

Good for

  • Cut the cost of many MCP servers in Claude Code
  • Keep huge GitHub issue lists out of the context window
  • Trim long test or build logs to the failures
  • Give claude.ai a compact web search and fetch connector
  • Measure token savings with atr_stats

Pricing

Free

Free to run locally or through the hosted connector

ATR: Automation for Token Reduction FAQ

Is ATR: Automation for Token Reduction free?

The README says it is free, both on your computer and as a hosted connector.

Which apps does ATR: Automation for Token Reduction work with?

Claude Code, Codex, Claude Desktop, Cursor, Windsurf, claude.ai and ChatGPT.

Does ATR: Automation for Token Reduction protect secrets?

Per the README, .env files, private keys and cloud credentials are never read, searched or shown.

Will the chatbot use ATR: Automation for Token Reduction automatically?

For web tools, the README says Claude did not pick ATR by itself in tests, so add an instruction or say use atr.

Can I undo the setup?

Yes. atr setup --undo restores your apps and each changed file gets a backup.

How do I add ATR: Automation for Token Reduction to Claude Code?

Run this command in your terminal: claude mcp add atr -- uvx atr-mcp

What are the best alternatives to ATR: Automation for Token Reduction?

The closest alternatives to ATR: Automation for Token Reduction are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers