MCPAsk Claude, ChatGPT or Cursor about any client:Setup guideSetup →

CLI Guide

@foxcite/cli

Sync your local workspace, pull remediation playbooks, monitor keywords, and export SEO data directly from the terminal.

Installation

Install the official CLI utility globally to access the command-line helper:

npm install -g @foxcite/cli

Command Reference

foxcite link

Authenticates and links your current working directory to a specific Foxcite Brand Workspace. Prompts you to select from your brands interactively.

Value: Establishes a local context config without manual copy-pasting of IDs.
foxcite pull

Downloads all active remediation playbooks for the linked brand and saves them to local markdown files under .foxcite/playbooks/*.md.

Value: Populates workspace context for development and developer AI agent reference.
foxcite keywords

Queries and displays the list of tracked search queries, volumes, CPC, and intent classes in a clean terminal table.

Value: Quick overview of keyword performance metrics directly in your workspace.
foxcite export

Exports current brand visibility and keyword intelligence data to a CSV file in your current folder.

Value: Simplifies custom dashboard importing, reporting, or client sharing.

Omni-Channel Architecture (AI Agents & Humans)

The CLI implements a dual-mode architecture designed to serve both humans (interactive prompts, pretty-printed tables) and developer AI agents or CI/CD pipelines (structured, predictable, and non-interactive data).

Global Flags

  • --json: Disables all prompts and terminal formatting, returning raw JSON output. Ideal for scripting, pipelines, and AI agent parsing.
  • --apiKey <key>: Explicitly pass a Foxcite API Key to run a single command without linking or reading local configuration.
Standard CLI Output (Human Mode)
$ foxcite keywords
┌──────────────────────┬─────────┬────────┬──────────┐
│ Keyword              │ Volume  │ CPC    │ Intent   │
├──────────────────────┼─────────┼────────┼──────────┤
│ best cloud db        │ 1200    │ $4.50  │ commercial│
│ foxcite api          │ 450     │ $0.00  │ nav      │
└──────────────────────┴─────────┴────────┴──────────┘
JSON Flag Output (Agent Mode)
$ foxcite keywords --json
[
  {
    "keyword": "best cloud db",
    "volume": 1200,
    "cpc": 4.5,
    "intent": "commercial"
  },
  {
    "keyword": "foxcite api",
    "volume": 450,
    "cpc": 0.0,
    "intent": "nav"
  }
]