This product was not featured by Product Hunt yet. It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).
Product upvotes vs the next 3
Waiting for data. Loading
Product comments vs the next 3
Waiting for data. Loading
Product upvote speed vs the next 3
Waiting for data. Loading
Product upvotes and comments
Waiting for data. Loading
Product vs the next 3
Loading
CodeShave
AST code compressor & MCP server for AI coding assistants
CodeShave deterministically strips execution bodies while preserving 100% syntactically valid classes, methods, docstrings, and type signatures. Cuts LLM prompt tokens by 80-90% for Cursor, Claude, Windsurf, and Copilot.
I built CodeShave after burning through thousands of prompt tokens feeding large codebases into Cursor, Claude Code, and Copilot. Most of that token consumption was just repetitive execution loops and implementation bodies that models don't need for high-level reasoning.
CodeShave uses language-native AST parsers to strip bodies into clean, valid skeletons across 13+ languages (Python, TypeScript, Go, Rust, Java, C++, C#) — cutting tokens by 80% to 90% with zero syntax loss.
It is 100% open-source, available on PyPI, VS Code Marketplace, and officially verified on the Model Context Protocol (MCP) registry.
“AST code compressor & MCP server for AI coding assistants”
CodeShave was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #377 on the daily leaderboard. CodeShave deterministically strips execution bodies while preserving 100% syntactically valid classes, methods, docstrings, and type signatures. Cuts LLM prompt tokens by 80-90% for Cursor, Claude, Windsurf, and Copilot.
On the analytics side, CodeShave competes within Open Source, Developer Tools, Artificial Intelligence and GitHub — topics that collectively have 1.1M followers on Product Hunt. The dashboard above tracks how CodeShave performed against the three products that launched closest to it on the same day.
Who hunted CodeShave?
CodeShave was hunted by Jaideep krishna A. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
For a complete overview of CodeShave including community comment highlights and product details, visit the product overview.
Hey Product Hunt! 👋
I built CodeShave after burning through thousands of prompt tokens feeding large codebases into Cursor, Claude Code, and Copilot. Most of that token consumption was just repetitive execution loops and implementation bodies that models don't need for high-level reasoning.
CodeShave uses language-native AST parsers to strip bodies into clean, valid skeletons across 13+ languages (Python, TypeScript, Go, Rust, Java, C++, C#) — cutting tokens by 80% to 90% with zero syntax loss.
It is 100% open-source, available on PyPI, VS Code Marketplace, and officially verified on the Model Context Protocol (MCP) registry.
Try the interactive playground at https://codeshave.netlify.app/ and let me know your thoughts!