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
Madar
Compact codebase context for AI coding agents
Madar is a local context compiler for AI coding agents. It builds a structural graph of TypeScript/Node.js codebases and compiles compact, verifiable context packs for Claude Code, Codex, Cursor, Copilot, Gemini, Aider, and OpenCode. The goal is to reduce repeated repo exploration, token waste, and noisy context.
Hi Product Hunt 👋
I built Madar because AI coding agents often spend too much time rediscovering the same codebase.
They grep, read files, summarize, lose context, then repeat the same exploration in the next task.
Madar tries to make that workflow more disciplined.
It builds a local structural graph of your TypeScript/Node.js workspace and compiles compact, task-specific context packs for AI coding agents.
It works with Claude Code, Codex, Cursor, Copilot, Gemini, Aider, and OpenCode.
The project was previously published as graphify-ts, but it has now moved to @lubab/madar with the new `madar` CLI.
The latest release includes:
* local graph generation
* MCP integrations
* context-pack-first workflows
* graph summary
* execution slices
* benchmark commands
* first-pass routing-controllers support
* share-safe benchmark reports
In real backend benchmarks, Madar has reduced provider-reported input tokens significantly for some prompts. This is not a universal guarantee, but it shows that better context preparation can reduce token waste and improve agent focus.
I would love feedback from developers using AI coding agents, especially around MCP workflows, token waste, codebase context, and benchmark design.
Thanks for checking it out.
About Madar on Product Hunt
“Compact codebase context for AI coding agents”
Madar was submitted on Product Hunt and earned 3 upvotes and 1 comments, placing #138 on the daily leaderboard. Madar is a local context compiler for AI coding agents. It builds a structural graph of TypeScript/Node.js codebases and compiles compact, verifiable context packs for Claude Code, Codex, Cursor, Copilot, Gemini, Aider, and OpenCode. The goal is to reduce repeated repo exploration, token waste, and noisy context.
On the analytics side, Madar 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 Madar performed against the three products that launched closest to it on the same day.
Who hunted Madar?
Madar was hunted by Mohammed Naji. 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 Madar including community comment highlights and product details, visit the product overview.