Skip to content

Installation

Drydock is a pure Python package with zero external dependencies for the core analyzers.

Core Installation

pip install -e .

This installs the drydock command with all analyzers:

drydock --help
drydock list

Optional Extras

Extra For Install
mcp MCP server (use from Claude Code, Cursor, VS Code) pip install -e ".[mcp]"
dev Development (pytest, coverage) pip install -e ".[dev]"
docs Documentation (mkdocs, material theme) pip install -e ".[docs]"

Install multiple extras:

pip install -e ".[mcp,dev,docs]"

Requirements

  • Python 3.10+ (3.10, 3.11, 3.12, 3.13 supported)
  • git (for drydock git analyzer)
  • Docker (only for oryx_builder.py, optional)

Verify Installation

# List all available analyzers
drydock list

# Show supported languages
drydock languages

# Run the code map against Drydock itself
drydock codemap . --markdown | head -50

# Full context on any project
drydock context . -o context.json

# Should output a complete analysis of the codebase

Backward Compatibility

The old CLI paths still work with a deprecation notice:

python Tools/analyzers/codemap.py .
# (deprecation: use 'drydock codemap' instead)