Cyndra API
The Cyndra CLI.
Script Cyndra from a terminal or an agent's shell tool, without building an HTTP integration first.
Install
One command, no dependencies.
# try it without installing
npx @cyndra/cli onboarding
npx @cyndra/cli search "ai employees for law firms"
# or install it
npm install -g @cyndra/cli
cyndra --helpNode 18 or newer. The source lives in the cli/ directory of the cyndra-website repository.
Commands
What it can do.
| Command | What it does |
|---|---|
search | Search every Cyndra page |
page | Print one page as markdown |
pages | List every indexed page |
pricing | Print pricing as JSON |
changelog | Print recent releases |
case-studies | List published case studies |
blog | List blog posts |
onboarding | Print how to get started, as data |
openapi | Print the OpenAPI document |
register | Register an API client and print its credentials |
token | Exchange client credentials for an access token |
whoami | Show what the current token can do |
lead | Submit a contact request |
mcp-config | Print MCP client configuration for the Cyndra server |
Credentials
Mint your own.
cyndra register --name my-agent --scope "content.read leads.write"
cyndra token --client-id "$CLIENT_ID" --client-secret "$CLIENT_SECRET"
export CYNDRA_TOKEN="<access_token>"
cyndra whoami
cyndra lead --email you@example.com --sandboxFlags: --base <url> to target another origin, --token <jwt> for a one-off token, --json for raw output, --verbose to print the remaining rate-limit budget. Exit codes: 0 success, 1 API error, 2 usage error, 3 rate limited.
FAQ
CLI questions.
Does Cyndra have a CLI?
Yes. @cyndra/cli wraps the public Cyndra API: search, read any page as markdown, list case studies and blog posts, fetch pricing, register API credentials, and print MCP client configuration. Zero dependencies, Node 18 or newer.
How do I install the Cyndra CLI?
Run it with npx @cyndra/cli <command>, or install it globally with npm install -g @cyndra/cli. The source lives in the cli/ directory of the cyndra-website repository.
Does the Cyndra CLI need credentials?
Not for the read commands. Only whoami and lead need a token, which you can mint yourself with cyndra register followed by cyndra token.
Can the Cyndra CLI point at a different environment?
Yes: pass --base <url>, or set CYNDRA_API_BASE_URL. Useful for testing against a preview deployment.