Pinax

CLI

Every Pinax command, every flag, with a real example for each.

Run pinax --help for an interactive version of this page. Everything below is captured from the same help text the binary ships with.

pinax add

Index a new docs site by name (from the catalog) or by URL.

pinax add <url|catalog-name> \
  [--name NAME] \
  [--exclude PATTERN ...] \
  [--max-pages N] \
  [--no-preflight]
FlagDefaultNotes
--namederivedserver name; defaults to the host or catalog key
--excludenonerepeatable substring filter applied to discovered URLs
--max-pages1500crawl ceiling; reached pages stop discovery early
--no-preflightoffskip the content density gate (see Troubleshooting)

pinax list

pinax list

Tabulates every manifest under ~/.pinax/servers/ with page count, base URL, and last refresh time.

pinax remove

pinax remove <name>

Deletes a manifest plus its BM25 index. Leaves the page cache alone - clear that separately with pinax cache clear.

pinax refresh

pinax refresh <name> [--rebuild-index]

Re-runs discovery against the recorded base URL and writes a fresh manifest. --rebuild-index forces the BM25 index to be regenerated even if the page list hasn’t changed (useful after a Pinax upgrade).

Out-of-band search, mostly for debugging:

pinax search stripe "payment intent"

Hits the same code path as the search_pages MCP tool, but prints to stdout instead of returning JSON.

pinax doctor

pinax doctor [<name>...] [--json]

Reports drift, thin pages, and broken section anchors for one, several, or all manifests. Output is human-readable by default; --json is meant for scripting.

pinax serve

pinax serve [<name>] [--http] [--port N] [--host HOST]

Runs the MCP server. See Serve for the full transport discussion.

pinax cache

pinax cache clear [--older-than DURATION]

Wipes the SQLite page cache. --older-than 24h only evicts entries last fetched more than 24 hours ago.

pinax catalog

pinax catalog list      # show every catalog entry
pinax catalog refresh   # fetch the latest catalog.json

refresh respects PINAX_CATALOG_URL. See Catalog.

pinax config claude

Print a ready-to-paste Claude config snippet:

pinax config claude [--project] [--split] [--force]
FlagWhat it does
--projectscope the snippet to the current project’s .mcp.json instead of the global config
--splitwrite one entry per manifest instead of a single unified server
--forceoverwrite an existing entry of the same name
Pinax