You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export graph to portable .cgc bundle. (Alias: cgc export)
cgc bundle import
<bundle.cgc>--clear
Import a .cgc bundle into database.
cgc bundle load
<name>--clear
Load bundle (downloads from registry if needed). (Alias: cgc load)
7. Bundle Registry
Command
Arguments
Description
cgc registry list
--verbose-v--unique-u
List all available bundles in the registry. Use --unique to show only most recent version per package.
cgc registry search
<query>
Search for bundles by name/repo/description.
cgc registry download
<name>--output-o--load-l
Download bundle from registry.
cgc registry request
<github-url>--wait
Request on-demand bundle generation.
8. Utilities & Runtime
Command
Arguments
Description
cgc doctor
None
Run system diagnostics (DB, dependencies, permissions).
cgc visualize
[query]
Generate link to Neo4j Browser. (Alias: cgc v)
cgc query
<query>
Execute raw Cypher query against DB.
cgc help
None
Show main help message with all commands.
cgc version
None
Show application version.
cgc start
None
Deprecated. Use cgc mcp start instead.
Global Options
These work with any command:
Option
Short
Description
--database
-db
Override database backend (falkordb or neo4j).
--visual / --viz
-V
Show results as interactive graph visualization.
--help
-h
Show help for any command.
--version
-v
Show version (root level only).
Shortcuts
Quick aliases for common commands:
Shortcut
Full Command
Description
cgc m
cgc mcp setup
MCP client setup
cgc n
cgc neo4j setup
Neo4j database setup
cgc i
cgc index
Index repository
cgc ls
cgc list
List repositories
cgc rm
cgc delete
Delete repository
cgc v
cgc visualize
Visualize graph
cgc w
cgc watch
Watch directory
cgc export
cgc bundle export
Export bundle
cgc load
cgc bundle load
Load bundle
Quick Examples
Basic Workflow
cgc index .# Index current directory
cgc list # List indexed repos
cgc find name MyFunction # Find a function
cgc analyze callers MyFunction # See who calls it
cgc analyze complexity --threshold 15 # Find complex code
cgc analyze chain start end --depth 10 # Find call path
cgc analyze tree MyClass --visual # Visualize in browser
Configuration
cgc config show # View config
cgc config set DEFAULT_DATABASE neo4j # Switch to Neo4j
cgc config db falkordb # Quick switch to FalkorDB
cgc doctor # Check system health