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 --help

Node 18 or newer. The source lives in the cli/ directory of the cyndra-website repository.

Commands

What it can do.

CommandWhat it does
searchSearch every Cyndra page
pagePrint one page as markdown
pagesList every indexed page
pricingPrint pricing as JSON
changelogPrint recent releases
case-studiesList published case studies
blogList blog posts
onboardingPrint how to get started, as data
openapiPrint the OpenAPI document
registerRegister an API client and print its credentials
tokenExchange client credentials for an access token
whoamiShow what the current token can do
leadSubmit a contact request
mcp-configPrint 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 --sandbox

Flags: --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.