Skip to content
Surfacedd

Every surfacedd command, its options and the MCP tool behind it

Read commands are free and read-only and return exactly what the matching MCP tool returns. Actions say what they need and what they cost before they start.

By the Surfacedd teamUpdated 6 min readMarkdown

On this page

Short answer

The surfacedd command reads brands, visibility, prompts, answers, competitors, sources, fan-outs, products, tasks, runs, Search Console, GA4, crawler visits, audit issues, agent readiness, Humans and cost estimates for free. Its four actions are audit run, agent-readiness check, export and report run, the only paid one. It also has mcp, doctor and version.

Run surfacedd help <command> for the same options in your terminal. Every command also takes the global options: --json, --human, --db <path>, --brand <id|name>, --range and --quiet (see getting started). Examples come from Surfacedd's sample workspace, a fictional brand.

Read commands

Each read command calls the same code as an MCP tool, so a script and an assistant see the same numbers. In JSON, data is that tool's result, unchanged.

Command and optionsWhat you get
brands --kind brand|personBrands and people with their latest visibility. MCP tool: list_brands
visibility --engine <id> --market <id> --category <id>Visibility, share of voice, rank among brands, top-3, recommended and cited rates with 95% ranges, by engine and category; * marks a significant change. MCP tool: visibility_summary
prompts --status active|paused|archivedTracked prompts with visibility, average position, intent and ids. MCP tool: list_prompts
answers search <query> --limit 1-100Full-text search over stored answers. MCP tool: search_answers
answer <id>One answer in full: text, who was named (rank, recommended, sentiment), sources, fan-out searches. MCP tool: get_answer
competitors --types direct,indirect,ai_platform,publisher,otherShare of voice per competitor, change, and answers they won without you. MCP tool: competitor_share
sources --kind domain|pageCited domains or pages with citations, share and trend. MCP tool: top_sources
fanoutsSearches the engines ran while answering. MCP tool: fanouts
products --category <name>Product-level visibility, yours and rivals'. MCP tool: product_share
product <id>One product by engine, with the products named alongside it. MCP tool: product_results
tasks --status todo|in_progress|done|dismissedRecommended tasks with their evidence count. MCP tool: list_tasks
runs --limit 1-100Recent runs (all brands unless --brand) with status and cost. MCP tool: list_runs
gsc summary --compare previous|year|noneSearch Console totals, devices, Google update notes. MCP tool: gsc_summary
gsc top --dim query|page --sort clicks|impressions|change --limit 1-200 --search <text>Top queries or pages over whole weeks. MCP tool: gsc_top
gsc opportunities --kind almost_page_one|low_ctr --limit 1-200Queries almost on page one, or seen but rarely clicked. MCP tool: gsc_opportunities
gsc drop --compare previous|yearA click change split into causes that sum to the total. MCP tool: gsc_drop_diagnosis
traffic --by channel|source|landing_page --compareGA4 sessions by channel, source or landing page. MCP tool: ga4_traffic
traffic --aiVisits from AI assistants in GA4. MCP tool: ai_traffic
crawlersAI crawler visits from imported server logs. MCP tool: crawler_stats
audit issuesIssues from the latest site audit. MCP tool: site_audit_issues
agent-readinessThe latest stored agent readiness check. MCP tool: agent_readiness
humans <id or name>How AI answers describe a person. MCP tool: humans_summary
report estimate <report>What a run would cost; never starts one. MCP tool: estimate_run_cost

Google commands accept 7d, 28d (default), 30d, 90d, 180d, 365d, 16m or <from>..<to> and need Google connected in the app.

A Search Console drop, explained:

$ surfacedd gsc drop
Tallyfox

Clicks fell by 771 (19760 → 18989) for 2026-10-19 – 2026-11-15 compared with 2026-09-21 – 2026-10-18. Largest factor: position changes (−1038). A Google update overlaps this period.

CAUSE                                           CLICKS
Queries that stopped getting clicks                  0
New queries                                          0
Fewer or more impressions                          +71
Position changes                                -1,038
Click-through rate at the same position           +251
Anonymized queries and rows past the API limit     -55

The latest agent readiness check, from the last site audit:

$ surfacedd agent-readiness
Tallyfox

https://example-tallyfox.com/ · checked 2026-11-19 07:13 · 7 pages

Overall     80/100
Reach       95/100
Understand  60/100
Act         85/100

WEIGHT  AREA        RULE                       FINDING
     4  reach       reach.bot-wall             1 of 7 agents hit a bot wall: Perplexity-User.
     3  reach       reach.js-only-content      1 of 7 pages show their content only after JavaScript runs.
     3  understand  understand.product-schema  1 of 1 product pages have missing or incomplete Product mar…

Actions

CommandWhat happens
audit run [<url>]$0; needs an active licence. A site audit plus an agent readiness check, stored for the brand like one started in the app. --max-pages 1-500 (default: the last audit's, else 100), --no-wait
agent-readiness check [<url>]$0; needs nothing when given a URL. Crawls now (50 pages by default, robots.txt respected), stores nothing. --fail-under 0-100 exits 5 under the threshold. Without a URL it checks --brand's website
export <kind> --format json|csv|ndjson$0; needs an activated computer. Writes an export to --out <file>, or to stdout. Kinds: responses, prompts, competitors, they_win, sources_pages, sources_domains, opportunities, fanouts, products, product_mentions, report (JSON only, with --report)
report run <report> --max-usd XPaid, on your keys; needs an active licence. Shows the estimate, refuses above --max-usd or a hard budget cap, then asks. In a script it needs --yes. --max-usd is also a hard limit on what the run spends. --no-wait returns once the run starts

The CI check refuses private and local addresses, so point it at a public URL; the CI recipe has complete jobs. A check that fails its threshold still prints the full result, with data.passed: false.

If Surfacedd is open, report run and audit run hand the job to the app and follow its progress, so there is only ever one writer. If it's closed, the command runs the job itself with the same code and holds the app's lock until it ends; opening the app meanwhile does nothing. Ctrl-C cancels a run started from the terminal, and answers already paid for are kept.

A run in a script without --yes stops before spending:

$ surfacedd report run "Weekly visibility" --max-usd 5
Run “Weekly visibility” for Tallyfox: about $4.18 (likely $3.46 to $4.50), at most $5.00.
surfacedd: This command spends money. Pass --yes to confirm (needed when not run in a terminal). Nothing was spent.

That exits with code 4.

--max-usd is a hard limit on actual spend, not only a check on the estimate. Before every paid call the run adds what it has spent, the calls in flight and the next call, each counted at its high estimate. If that would pass the limit, it starts nothing new: the answers so far are kept, the run ends partial, and the command exits 4. Calls already under way can finish a few cents over what was reserved for them. Set the limit at or above the high estimate (the "likely … to" figure) to let a run finish; below it, the command warns that the run may stop early. Monthly hard budget caps in Settings › Spend & budgets apply too. The sample workspace refuses every paid command.

$ surfacedd report run "Weekly visibility" --max-usd 4 --yes
Run “Weekly visibility” for Tallyfox: about $4.18 (likely $3.46 to $4.50), at most $4.50.
Surfacedd is open: asking the app to start it…
Asking engines: 420/432 answers · $2.67 so far
Run finished with some answers missing: 420/432 answers, $2.67 spent. Run id 01a1f315-509c-7206-b061-f0104f4376d8.
surfacedd: Stopped at --max-usd $4.50: 420 of 432 answers collected, $2.67 spent; 12 not asked. Nothing new was started after the limit; the answers so far are kept (run is partial).

That stop was simulated for the docs against the sample workspace's latest run, so the dollar figure is the sample's. In JSON, data.limit says whether the run stopped at --max-usd or a monthly cap and how many answers it skipped.

Other commands

CommandWhat it does
mcp [--db <path>]Runs the read-only MCP server on stdin and stdout: the same server and tools as surfacedd-mcp. Point any MCP client at {"command": "surfacedd", "args": ["mcp"]}
doctorChecks the licence, database, saved key names, whether the app is running, PATH and MCP. Exits 1 if a check fails
versionThe version, the JSON output schema and the database schema
help [<command>]Usage, or one command's options
$ surfacedd version
surfacedd 0.1.0 (output surfacedd.cli/v1, database schema v9)

Keys and secrets

Provider keys come from your system keychain, as in the app. The command never prints or logs them and refuses them as flags: passing a key as an option is a usage error (exit 2).

Next: what the JSON looks like, and every exit code.

Keep reading

How we research, write and correct pages: read our editorial policy.

All docs