MCPVault

codedb_index

MCP tool from Codedb by justrach

Index a local folder and write codedb.snapshot

How to use it

codedb_index is exposed by the Codedb MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the codedb_index tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Codedb

$npx -y codedeebee mcp
FULL CODEDB LISTING

Other tools in Codedb (18)

codedb_callers

Every call site of a symbol — word index ∩ outline scope, in one round-trip

codedb_changes

Changed files since a sequence number

codedb_context

Task-shaped composer — pass a NL task, get keywords + symbol defs + ranked files + top snippets in one block; format=json adds typed provenance, and documenthops=1..2 explicitly expands linked Markdown

codedb_deps

Typed dependency graph: imports by default, or Markdown links with edgetype=documents; document traversal is capped at 2 hops / 64 files

codedb_find

Fuzzy file-name search (typo-tolerant subsequence match against indexed paths — not a content/symbol search)

codedb_glob

Match indexed paths against a glob pattern (src//.zig, .md, …)

codedb_hot

Most recently modified files

codedb_ls

List immediate children of a directory — dirs first, then files with language + counts

codedb_outline

Symbols in a file: functions, structs, imports, with line numbers

codedb_projects

List all locally indexed projects on this machine

codedb_query

Composable pipeline — chain find, search, filter, deps, outline, read, sort, limit in one request

codedb_read

Read file content (line ranges, ifhash skip-unchanged, compact mode)

codedb_search

Trigram-accelerated full-text search (supports regex, scoped results)

codedb_snapshot

Full pre-rendered JSON snapshot of the codebase

codedb_status

Index status (file count, current sequence, scan phase)

codedb_symbol

Find where a symbol is defined across the codebase

codedb_tree

Full file tree with language, line counts, symbol counts

codedb_word

O(1) inverted index word lookup