Skinny Jeans
Transparently optimizes file content for large language models, significantly reducing token consumption when interacting with AI coding assistants.
Skinny Jeans is an innovative MCP server designed to automatically optimize various file types for AI coding assistants like Claude Code. By sitting between the AI and your filesystem, it transparently compresses content—using Token-Oriented Object Notation (TOON) for JSON, minifying Markdown, stripping comments from code, and cleaning whitespace from other text files. This process drastically reduces token usage, leading to lower API costs and, in the case of TOON, improved LLM comprehension accuracy.
Key Features
01Seamless integration with Claude Code as an MCP server
02Tools for estimating token counts and generating batch savings reports
03TOON encoding for JSON, achieving 40-60% token savings with improved LLM comprehension
04Automatic file optimization for JSON, Markdown, and code files
05On-the-fly Markdown minification and code comment stripping
061 GitHub stars
Use Cases
01Minimizing API token costs for AI coding assistants like Claude Code
02Providing more comprehensive project context to LLMs within token limits
03Improving LLM accuracy when processing structured data and documentation