{"repo":"Madhan230205/token-reducer","free":true,"listed":false,"github":"https://github.com/Madhan230205/token-reducer","clone":"git clone https://github.com/Madhan230205/token-reducer.git","description":"⚡ Cut Claude token usage by 90%+ — free, open-source, local-first context compression for Claude Code. Hybrid RAG (BM25 + ONNX vectors), AST chunking, reranking. No API needed.","language":"Python","stars":43,"topics":["ai-tools","bm25","claude-code","claude-code-plugin","context-compression","context-optimization","cost-optimization","developer-productivity","embeddings","hybrid-retrieval"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Token Reducer Cut Claude API costs by 90%+ with intelligent context compression The open-source alternative to expensive context management tools. Easy Install • Features • Documentation • Contributing --- The Problem Every time you use Claude with a large codebase, you're paying for thousands of tokens that aren't relevant to your query. Most context management tools either: - Send everything (expensive) - Truncate blindly (loses important context) - Require heavy Language Servers (slow, resource-intensive) The Solution Token Reducer is a local-first, intelligent context compression pipeline that: - Reduces tokens by 90-98% while preserving semantic relevance - Runs entirely locally — no API calls, no data leaving your machine - Works in milliseconds — faster than Language Server alternatives - Understands code semantically — AST parsing, not just text matching --- Easy Install Option 1 — Claude Code /plugin Command (Recommended) Step 1: Register the marketplace (one-time setup): This registers the marketplace as Madhan230205-token-reducer . Step 2: Install: For project-scoped install: Already ran Step 1 before? Just run /plugin install token-reducer@Madhan230205-token-reducer — no need to add the marketplace again. --- Option 2 — Git Clone (Manual) Windows users : Replace /.claude/plugins/ with %USERPROFILE%\\.claude\\plugins\\ Then open /.claude/settings.json and add: Restart Claude Code. Done. --- What requirements-optional.txt installs: Package Purpose --------- --------- s","default_branch":null,"files":null,"tree":[],"storefront":"/r/Madhan230205","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Madhan230205/token-reducer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}