Skip to content
Codemap
Esc
navigateopen⌘Jpreview

Stop scanning for one symbol.Query your codebase.

Local codebase intelligence for AI agents — a SQLite index of symbols, imports, and calls. SQL and recipes instead of scanning the tree.

codemap query --recipe find-symbol-definitions --params name=createCodemap
bunx @stainless-code/codemap

Ask structure, not grep.

Common agent questions map to one bundled recipe — CLI, MCP, or HTTP.

How it works.

01

Index

One local SQLite map of structure

02

Query

SQL or bundled recipe

03

Join

Compose tables in one predicate

Batteries included.

Recipes, MCP, CI, and agent scaffolding — same index, adopt what you need.

Start querying your codebase.

Dev dependency or one-shot via bunx / npx / yarn dlx / pnx — index once, then query with SQL or a recipe.

bunx @stainless-code/codemap