duckgrep
Provide coding agents with a queryable relational model of codebases using Tree-sitter and DuckDB to answer complex structural questions in a single step.
duckgrep replaces tedious, token-heavy search loops by turning codebases into queryable DuckDB databases powered by Tree-sitter. Instead of forcing coding assistants to repeatedly run grep, inspect surrounding files, and deduce execution flow, duckgrep exposes definitions, caller hierarchies, resolved imports, and Git history through a single read-only SQL MCP tool. It automatically freshens its index mid-edit and tags call-graph edges with clear confidence levels, allowing AI agents to evaluate code risk, explore multi-hop call graphs, and navigate large codebases with substantially fewer tool calls and lower token costs.