Skip to content

CLI commands

Most commands take -b, --brain <dir>. It defaults to the current folder, except for init and scan, which default to ../<project>-brain.

Command What it does Options
neuroplex init [project] Installs the skills and runs the structural scan. --brain, --scope user|project, --no-skills
neuroplex install Installs /neuroplex and /neuroplex-update into Claude Code. --scope user|project, -p, --project <dir>
neuroplex connect Registers the brain as an MCP server in Claude Code and adds the guidance note to CLAUDE.md. --brain, --scope user|project, -p, --project <dir>, --dry-run, --no-guidance
Command What it does Options
neuroplex scan [project] Parses a project, or every repository of a multi-repo brain, into the graph. --brain, --json
neuroplex tasks Lists pending AI enrichment tasks (JSON). --brain, -n, --limit <n> (default 5), --brief
neuroplex write [task-id] Submits an enrichment result (JSON) from stdin. --brain, -f, --file <path>
neuroplex build Generates notes, the README and the Obsidian vault from the graph. --brain, --git, --no-obsidian
neuroplex update Rescans this machine’s checkout and rebuilds. --brain, --git
neuroplex sync Syncs once with the tracked branch of the remote (what auto-sync does). --brain
neuroplex status What the brain contains and whether it is up to date. --brain, --json
Command What it does Options
neuroplex repo add <path> Adds a local checkout to the brain, creating the brain if needed. --brain (required), -n, --name, --system
neuroplex repo list Lists the repositories of the brain. --brain
neuroplex repo remove <name> Removes a repository. Its nodes disappear on the next scan. --brain

All take --brain and --json.

Command What it does Options
neuroplex ask <question...> Answers in one call: relevant code, relationships, flows and key code.
neuroplex overview Project summary, core modules, concepts and flows.
neuroplex search <query...> Full-text search over the brain. -n, --limit <n> (default 10)
neuroplex explain <ref> Summary, what it uses and what uses it.
neuroplex impact <ref> What may break if this node changes. -d, --depth <n> (default 3)
neuroplex path <from> <to> How one node reaches another.
neuroplex neighbors <ref> Nodes connected to a node. -d, --depth <n> (default 1)
neuroplex source <ref> The code of a file or symbol. --start <n>, --end <n>
Command What it does Options
neuroplex serve Serves the brain over MCP: stdio for one assistant, or HTTP for a team. --brain, --http, --host (default 127.0.0.1), --port (default 3333), --token (or NEUROPLEX_TOKEN), --enrich, --allow-write
Command What it does
neuroplex config get [key] Prints the brain configuration, or one key.
neuroplex config set <key> <value> Changes a key. Values are JSON (true, 5, ["src/**"]) or plain text.

See Configuration for the keys.