Skip to content

CLI Reference

Command Overview

Terminal window
repotographer [command] [flags]

Core Commands

CommandDescription
repotographer map <owner>Fetches repositories, builds concept graph, derives taxonomy, and renders outputs.
repotographer suggest <owner>Queries Gemini for a proposed domain taxonomy and writes taxonomy.json.
repotographer render <graph.json>Renders visual assets from an existing graph JSON file and optional taxonomy.
repotographer mcpStarts the Model Context Protocol stdio server for AI coding assistants.
repotographer versionPrints the installed repotographer version.

repotographer map

Terminal window
repotographer map <owner> [flags]

Flags

FlagTypeDefaultDescription
-o, --outstring"./out"Output directory for all generated files.
--formatstring"html,dot,png,json"Comma-separated list of formats to generate.
--llmbooleantrueRefine domain taxonomy with Gemini. Pass --llm=false for offline heuristics.
--modelstring"gemini-3.7-flash"Gemini model ID used for taxonomy clustering.
--vertexbooleanfalseUse Google Cloud Vertex AI instead of standard Gemini API keys.
-n, --limitinteger500Maximum number of repositories to fetch from GitHub CLI.
--typestring"auto"Account type hint: "user", "org", or "auto".
--include-forksbooleanfalseInclude forked repositories in mapping.
--include-archivedbooleanfalseInclude archived repositories in mapping.
--min-signalbooleantrueExclude empty repositories lacking descriptions, topics, languages, and stars.
--taxonomystring""Path to a custom taxonomy.json to apply instead of generating one.

repotographer suggest

Terminal window
repotographer suggest <owner> [flags]

Flags

FlagTypeDefaultDescription
-o, --outstring"taxonomy.json"Output path for the generated taxonomy JSON.
--modelstring"gemini-3.7-flash"Gemini model ID used for taxonomy suggestions.
--vertexbooleanfalseUse Google Cloud Vertex AI backend.
-n, --limitinteger500Maximum number of repositories to fetch.
--typestring"auto"Account type hint ("user" or "org").

repotographer render

Terminal window
repotographer render <graph.json> [flags]

Flags

FlagTypeDefaultDescription
-o, --outstring"./out"Directory where rendered assets will be placed.
--formatstring"html,dot,png"Formats to generate ("html", "dot", "png").
--taxonomystring""Path to a custom taxonomy.json to apply before rendering.

repotographer mcp

Terminal window
repotographer mcp

Starts the Model Context Protocol stdio server. Communicates via JSON-RPC on standard I/O.


repotographer mcp config

Terminal window
repotographer mcp config [flags]

Prints formatted JSON configuration blocks for integrating repotographer into popular MCP clients (Claude Desktop, Cursor, OpenCode, and Antigravity).

Flags

FlagTypeDefaultDescription
-c, --clientstring"all"Target client: "all", "claude", "cursor", "opencode", or "antigravity".
--envbooleanfalsePopulate JSON config with detected ambient environment variables instead of placeholders.