
24 free alternatives to ast-grep
It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep
Below are 24 products that do a similar job and cost nothing to start: 23 free outright and 1 with a free plan and paid upgrades. Each price was read from the product's own site. They are ranked by how close each is in meaning, then by launch-day votes.
- 1
SeaGOATFree▲240local-first semantic code search engine.
2023 · github.com · price checked November 2026
- 2
Semantic GrepFree▲356Much 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 · price checked November 2026
- 3

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output
2020 · github.com · price checked November 2026
- 4

Transductive regular expressions for text editing is a command-line tool that extends standard regular expressions to simplify group logic for text editing tasks.
2025 · github.com · price checked November 2026
- 5
SembleFree▲445Semble is an open-source code search tool designed for AI agents working with large codebases.
May 2026 · github.com · price checked November 2026
- 6
Grep with colours written in GoFree▲127Grep with colours.
2018 · github.com · price checked November 2026
- 7
XRAY MCPFree▲5XRAY MCP provides progressive code intelligence and navigation capabilities for AI assistants through structural code analysis using ast-grep
2025 · github.com · price checked November 2026
- 8

Local first semantic and hybrid BM25 grep / search tool for use by AI and humans! - GitHub - BeaconBay/ck: Local first semantic and hybrid BM25 grep / search tool for use by AI and humans!
2025 · github.com · price checked November 2026
- 9
GNU grep as a PHP extensionFree▲32Uses upstream GNU grep to build a native php extension.
Apr 2026 · github.com · price checked November 2026
- 10

A simple, fast and user-friendly alternative to 'find'
2017 · github.com · price checked November 2026
- 11
GreplicaFree▲186Self updating wiki for coding agents
Jul 2026 · github.com · price checked November 2026
- 12
dif.shFree plan, paid from $50/mo▲373Markdown feature flags your coding agent installs for you
Aug 2026 · dif.sh · price checked November 2026
- 13

- 14
GraspFree▲123Grep Clojure code using clojure.spec regexes.
2020 · github.com · price checked November 2026
- 15

An example of PEG usage.
2016 · github.com · price checked November 2026
- 16
GPT Repo LoaderFree▲373GPT Repo Loader is a command-line tool that converts entire code repositories into a format suitable for AI prompts.
2023 · github.com · price checked November 2026
- 17
GompFree▲92GOMP (Git cOMPare) is a tool for comparing branches.
2020 · github.com · price checked November 2026
- 18
GitlogueFree▲159Gitlogue is a CLI that turns your Git commits into a typing-style replay. It visualizes diffs line by line, shows the file tree, and plays back each edit as if it were typed in real time. Key points • Realistic typing animation • Syntax-highlighted diffs • File-tree view • Replay any commit • Self-contained CLI Demo video is in the README. Repo: https://github.com/unhappychoice/gitlogue
2025 · github.com · price checked November 2026
- 19
CodeRLMFree▲81CodeRLM is a code indexing tool that helps LLM coding agents navigate and understand large codebases more efficiently.
Feb 2026 · github.com · price checked November 2026
- 20

- 21

- 22
CodeTracerFree▲334CodeTracer is a time-traveling debugger that records program execution into shareable trace files for multiple programming languages.
2025 · github.com · price checked November 2026
- 23
I ported Tree-sitter to GoFree▲222A Go implementation of Tree-sitter enables semantic code analysis across multiple tools.
Feb 2026 · github.com · price checked November 2026
- 24
UscopeFree▲262Uscope is a Linux debugger written from scratch as an alternative to GDB and LLDB.
2025 · github.com · price checked November 2026
Free tools by topic
All alternatives to ast-grep, paid too →About ast-grep →
Free means the product’s own site says it is free or offers a free plan, as read on the date shown. Plans change; check the site before you rely on one.