claude-token-optimizer

MCP server · GitHub · ★ 634 · graded 2026-10-21Source linked

Cut the tokens Claude Code loads at session start. CLI that sets up a small CLAUDE.md with on-demand docs, measures startup tokens, and keeps them small.

No outside reports on file

claude-token-optimizer requires API keys or tokens; restrict its folder reach, network access, and credentials before installing.

Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for Claude Token Optimizer helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionRuns shell or system commandsREVIEW
  • Network reachConnects to outside service APINOTED
  • CredentialsRequires API key or tokenREVIEW
  • Package sourceGitHub (nadimtuhin/claude-token-optimizer)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

No npm or PyPI package is listed. Install from source: github.com/nadimtuhin/claude-token-optimizer ↗

All setup options ↓

Everything known

We found nothing about this project in the sources we read (last checked 2026-10-30). That does not mean it has no problems.

0 incidents · 0 advisories · 0 news articles · 0 community threads · checked 2026-10-30

Popularity grade: C (from public signals such as stars and downloads, not a code review). Graded 2026-10-21.

Sources we read: OSV, GitHub Advisory Database, CISA Known Exploited Vulnerabilities, 44 security news feeds and our incident library. Last checked 2026-10-30.

Check a specific version →

About Claude Token Optimizer

Claude Token Optimizer is an MCP server focused on Developer tools and Files & documents: Cut the tokens Claude Code loads at session start. CLI that sets up a small CLAUDE.md with on-demand docs, measures startup tokens, and keeps them small.

It is hosted on GitHub at nadimtuhin/claude-token-optimizer (630 GitHub stars). Based on its public metadata, its operational scope includes: requires api key or token.

Setup

Check these steps against the project’s own instructions before running anything.

No standalone npm or PyPI package is listed for this MCP server. Clone and inspect the source repository directly:

bash
git clone https://github.com/nadimtuhin/claude-token-optimizer.git

Review the README and source files in https://github.com/nadimtuhin/claude-token-optimizer (opens external site) before running any setup commands.

Why this grade

CC — Moderate risk signals

Signal-based grade (3/7 points): well starred on GitHub, public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

31/100
GitHub stars
634
Listing last refreshed
2026-10-28

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Risks to watch for

  • Credential & token exposure: Requires API keys or secrets in configuration. Store credentials in environment variables with read-only or minimum required scopes and rotate them regularly.
  • Dependency & version pinning: Distributed via GitHub (nadimtuhin/claude-token-optimizer). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install Claude Token Optimizer?

Claude Token Optimizer does not publish a standalone npm or PyPI package. Clone or follow the setup instructions in its source repository at github.com/nadimtuhin/claude-token-optimizer.

Are there security reports about Claude Token Optimizer?

No reports found for this package in our research (last checked 2026-10-30). Claude Token Optimizer currently holds Grade C (Moderate risk signals) based on public adoption and transparency signals. Key risk areas to watch include credential & token exposure:, dependency & version pinning:.

Is Claude Token Optimizer actively maintained?

Claude Token Optimizer has 634 GitHub stars. Our directory data was last refreshed on 2026-10-28. Check recent commit activity, release tags, and open issues at github.com/nadimtuhin/claude-token-optimizer before pinning it in production.

What are alternatives to Claude Token Optimizer?

Compare Claude Token Optimizer side by side with similar MCP servers in the Related tools section on this page, or browse all MCP servers on AgentArmorHQ.

README badge and team notes

Maintain or use Claude Token Optimizer? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade C for Claude Token Optimizer

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for Claude Token Optimizer](https://agentarmorhq.com/api/badge/nadimtuhin-claude-token-optimizer)](https://agentarmorhq.com/skills/nadimtuhin-claude-token-optimizer)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/nadimtuhin-claude-token-optimizer"><img src="https://agentarmorhq.com/api/badge/nadimtuhin-claude-token-optimizer" alt="AgentArmorHQ Risk Grade for Claude Token Optimizer" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "nadimtuhin-claude-token-optimizer"

Share with your security lead

Need sign-off to use claude-token-optimizer? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: claude-token-optimizer
- **Listing URL:** https://agentarmorhq.com/skills/nadimtuhin-claude-token-optimizer
- **Type:** App connector
- **Risk Grade:** Grade C (Moderate risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 634 GitHub stars

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** Runs shell or system commands
- **Network reach:** Connects to outside service API
- **Credentials:** Requires API key or token
- **Package source:** GitHub (nadimtuhin/claude-token-optimizer)

#### Recommended Hardened Setup
- **Source Repo:** https://github.com/nadimtuhin/claude-token-optimizer
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
App connector
Publisher
nadimtuhin
Source code
github.com/nadimtuhin/claude-token-optimizer
Est. context load
~700 tokens / turn (~4 tool schemas, 0.35% of 200k context)
Popularity
634 GitHub stars
Last updated
2026-10-28
Last graded
2026-10-21

Community

Discussions for Claude Token Optimizer

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for Claude Token Optimizer helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude