@lex-tools/codebase-context-dumper

@lex-tools/codebase-context-dumper

Official
lex-tools

Automatically extracts and formats your entire codebase into text that can be fed to LLMs, respecting .gitignore rules and skipping binary files.

3186 views6Local (stdio)

What it does

  • Dump entire codebase context with file paths
  • Respect .gitignore rules automatically
  • Skip binary files during extraction
  • Chunk large codebases for LLM context limits
  • Recursively scan project directories

Best for

Developers wanting to analyze codebases with LLMsCode review and refactoring assistanceProviding full project context to AI assistants
Zero setup with npxAutomatic .gitignore compliance

Tools (1)

dump_codebase_context

Recursively reads text files from a specified directory, respecting .gitignore rules and skipping binary files. Concatenates content with file path headers/footers. Supports chunking the output for large codebases.

Alternatives