Alternatives
Products that do what AST-grep, a grep/eslint/codemod hybrid tool, powered by tree-sitter. does
It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep
- 1SC
2020 · grep.app
- 2

- 3

Codemod grep searches public code by syntax and structure, not just text or regex. Use ast-grep patterns to find code by shape across repositories.
15d ago · grep.codemod.com
- 4AI
I built this software to help users who need to do static code analysis for C/C++ codebase. This can help you to explore the ASTs interactively. It can replace the Clang ast dump completely and also you can search the code/ASTs in a structual way. For example you can search a function which matches specific name or number of paremeters.
May 2026 · uvic-aurora.github.io
- 5SG
Much improved new version. Search for words similar to the query. For example, "death" will find "death", "dying", "dead", "killing"... Incredibly useful for exploring large text datasets where exact matches are too restrictive.
2024 · github.com
- 6TR
An extension of regular expressions for text editing, with a grep-like command-line tool. If you, like me, struggle with group logic in regular expressions, you might find it useful. I wanted to do this for a very long time. It is more of a sketch or prototype. I'd really appreciate your feedback!
2025 · github.com
- 7SL
2023 · github.com
- 8SG
Sep 2025 · github.com
- 9GF
I kept re-Googling the same flags, so I built a tiny, fast directory of copy-ready CLI commands. It’s static (vanilla JS), instant search, keyboard nav (↑/↓ + Enter), favorites (localStorage), and linkable queries. Examples: • grep errors → https://www.greppers.com/?q=grep%20error%20logs • list open ports (macOS) → https://www.greppers.com/?q=list%20open%20ports • show git branch graph → https://www.greppers.com/?q=git%20graph • tail with colors → https://www.greppers.com/?q=tail%20colors Tech notes: static site on Netlify, no…
Sep 2025 · greppers.com
- 10GG
Apr 2026 · github.com
- 11XM
Hi HN, I built XRAY MCP after discovering that AI assistants were scanning my projects with plain grep and guessing. I tried direct tree-sitter integration and language servers; both felt heavy for a lightweight tool. ast-grep hit a sweet spot: syntax-aware search in a single binary. XRAY MCP wraps it behind three endpoints—map, find, impact—so a model (or human) can answer questions like “what breaks if I change this function?” on demand. It’s stateless, supports Python/JS/TS/Go, and installs quickly. Repo: https://github.com/srijanshukla18/xray Would love…
2025 · github.com
- 12SC
Hey HN! We (Stephan and Thomas) recently open-sourced Semble. We kept running into the same problem while using Claude Code on large codebases: when the agent can't find something directly, it falls back to grep, reading full files or launching subagents. This uses a lot of tokens, and often still misses the relevant code. There are existing tools for this, but they were either too slow to index on demand, needed API keys, or had poor retrieval quality. Semble is our solution for this. It combines static Model2Vec embeddings (using our latest static model: potion-code-16M) with BM25, fused…
May 2026 · github.com
- 13AS
2020 · github.com
- 14GG
2020 · github.com
- 15IW
My book on "GNU grep and ripgrep" is free to download today and tomorrow [1][2] Code snippets, example files and sample chapters are available on GitHub [3] The book uses plenty of examples and regular expressions are also covered from scratch. The book is suitable for beginners as well as serves as a reference. Hope you find it useful, I would be grateful for your feedback and suggestions. I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/gnugrep_ripgrep [2] https://leanpub.com/gnugrep_ripgrep [3]…
2019
- 16CT
Jun 2026 · github.com
- 17IP
This started as a hard requirement for my TUI-based editor application, it ended up going in a few different directions. A suite of tools that help with semantic code entities: https://github.com/odvcencio/gts-suite A next-gen version control system called Got: https://github.com/odvcencio/got I think this has some pretty big potential! I think there's many classes of application (particularly legacy architecture) that can benefit from these kinds of analysis tooling. My next post will be about composing all these together, an exciting project I call…
Feb 2026 · github.com
- 18DD
2020 · github.com
- 19AC
2018 · npmjs.com
- 20CT
I've been building a tool that changes how LLM coding agents explore codebases, and I wanted to share it along with some early observations. Typically claude code globs directories, greps for patterns, and reads files with minimal guidance. It works in kind of the same way you'd learn to navigate a city by walking every street. You'll eventually build a mental map, but claude never does - at least not any that persists across different contexts. The Recursive Language Models paper from Zhang, Kraska, and Khattab at MIT CSAIL introduced a cleaner framing. Instead of cramming everything into…
Feb 2026 · github.com
- 21CH
Jul 2026 · github.com
- 22NU
2015 · github.com
- 23BA
2024 · github.com
- 24FG
It is a kind of grep for YAML and JSON files. It allows you to search for a key and get the value and the line number where it is located. I created this tool because I sometimes struggle to find specific keys in typical i18n rails yamls. In the views, you don't always have the whole key, but it is extrapolated from the context. I am sure there are other use cases; I hope you find it useful. Cheers!
2024 · github.com
Ranked by how close each launch is in meaning, then by votes. Refine with a description →