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 Thumbnail

CodeShave

AST code compressor & MCP server for AI coding assistants

Open Source
Developer Tools
Artificial Intelligence
GitHub
Visit WebsiteSee on Product HuntGithub ⧉

Hunted byJaideep krishna AJaideep krishna A

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.

Top comment

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!

Comment highlights

No comment highlights available yet. Please check back later!

About CodeShave on Product Hunt

“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.

CodeShave was featured in Open Source (69.1k followers), Developer Tools (523.7k followers), Artificial Intelligence (484.6k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 291.5k products, making this a competitive space to launch in.

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.

Want to see how CodeShave stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.