parse-gl CLI connects your AI coding tools in one command, calls any Parse tool from scripts or the shell, bridges stdio-only MCP clients, and runs standalone AI-readability checks in CI with zero account or API key required.
Command reference
Global flags:
--json forces structured JSON output (also enabled automatically whenever stdout is not a TTY); --key <key> overrides credentials for a single command.
Auto-configured editors (init)
npx parse-gl init auto-detects and configures supported AI coding environments. Pass --client with a comma-separated list (accepts claude as an alias for claude-code) to target specific tools:
--client identifiers: claude-code, cursor, codex, opencode, windsurf, gemini, and antigravity. Exact config paths and repo rule files are listed on Clients, skills & plugins.
Calling tools from scripts
Pass arguments either as repeatable--name value flags or as a single JSON object. Public tools run with no key:
Credentials and redaction
- Precedence:
--key <key>overridesPARSE_API_KEY, which overrides~/.config/parse/credentials.json. - File safety: Saved credentials live in
~/.config/parse/credentials.jsonwith mode0600inside a0700directory, guarded by a process lockfile during writes and OAuth refreshes. - Automatic redaction: API keys, OAuth tokens, and unclaimed workspace keys are automatically scrubbed from stdout and stderr before anything prints.
CI AI-readability gate (parse-gl ci)
npx parse-gl ci verifies that pages you ship are readable by AI crawlers before or after deploy, with zero API key, zero credits, and exit code 1 on any failed check.
Checks performed:
- HTTP status (
--url): fails on network error or status outside 2xx–3xx. - AI crawlers (robots.txt): evaluates
robots.txtrules against AI search crawlers (such asOAI-SearchBot,Googlebot,PerplexityBot,Claude-SearchBot) and fails if the target path is blocked. - Page indexing: fails if an
X-Robots-Tagheader or<meta>tag setsnoindexornonefor robots or AI search crawlers. - Non-JS readability: strips scripts, styles, comments, and HTML tags and fails when visible text is under 500 characters (catching blank client-rendered shells).
- JSON-LD: parses every
script type="application/ld+json"block; fails on invalid JSON or non-object payloads, reports detected@typevalues, and warns (or fails under--strict) when absent. - llms.txt: reports character length when present; fails if an explicit
--llms <file>is empty.
$GITHUB_STEP_SUMMARY is set in a CI workflow, parse-gl ci appends a Markdown check table directly to the job summary:
npx -y parse-gl ci --url "$STAGING_URL". See Workflows for pairing the CI gate with log_work and fetch_live_pages.