The xSeek CLI gives you AI visibility data from your terminal. Track crawlers, find content gaps, analyze pages, and monitor citations — all without opening a browser. It's the fastest way to get GEO data into your workflow.
Most AI visibility tools are web dashboards. You log in, click around, export a CSV. The xSeek CLI skips all of that. You run a command, get JSON or formatted output, and pipe it wherever you need — scripts, Claude Code skills, CI/CD pipelines, Slack bots.
It's built for developers and technical marketers who prefer the terminal. But it's also the backbone of xSeek's Claude Code integration — every skill calls the CLI under the hood.
Installation and Setup
Three commands to get running. Install the binary, authenticate with your API key, and verify.
{# Install
curl -fsSL https://cli.xseek.io/install.sh | sh
Authenticate
xseek login YOUR_API_KEY
Verify
xseek version
xseek websites}</pre>
Every xSeek CLI Command Explained
Each command follows the same pattern: xseek <command> <website> [options]. The website argument accepts domain names (mysite.com) or IDs. Add --format json for machine-readable output.
xseek websites — List Your Tracked Websites
{xseek websites --format json}</pre>
xseek opportunities <website> — Find Content Gaps
{xseek opportunities mysite.com --format json}</pre>
xseek web-searches <website> — See What LLMs Search For
{xseek web-searches mysite.com --pageSize 100 --format json}</pre>
xseek search-queries <website> — GSC Search Queries
{xseek search-queries mysite.com --pageSize 100 --sortBy impressions --format json}</pre>
xseek sources <website> — What AI Models Cite
{xseek sources mysite.com --format json}</pre>
xseek ai-visits <website> — AI Bot Traffic
{xseek ai-visits mysite.com --pageSize 20 --format json}</pre>
xseek analyze <website> <url> — AEO Copilot Analysis
{xseek analyze mysite.com https://mysite.com/blog/article --format json}</pre>
xseek prompts <website> — Monitored Prompts
{xseek prompts mysite.com --format json}</pre>
xseek leaderboard <website> — Brand Mention Rankings
{xseek leaderboard mysite.com --format json}</pre>
xseek sitemap-pages <website> — All Pages with AI + GSC Data
{xseek sitemap-pages mysite.com --format json}</pre>
xseek search-metrics <website> — Page-Level GSC Metrics
{xseek search-metrics mysite.com --format json}</pre>
Common Workflows
Find What to Write Next
Pull critical content opportunities and filter for the highest-frequency queries your brand doesn't own yet.
{xseek opportunities mysite.com --format json | python3 -c "
import json, sys
for o in json.load(sys.stdin)['data']['opportunities']:
if o['businessValue'] == 'critical':
print(f\"{o['frequency']:3d}x {o['query']}\")
"}</pre>
Check If a Page Is Being Crawled by AI Bots
<p> Before optimizing a page for AI citations, verify that bots are actually reading it.{xseek ai-visits mysite.com --search "/blog/my-article" --format json}</pre>
See Which Competitor Pages AI Cites for Your Queries
<p> Sources data tells you exactly which URLs AI models reference — yours and your competitors'.{xseek sources mysite.com --format json}</pre>
Run a Full Page Analysis
<p> Get structural recommendations, schema suggestions, and a rewrite verdict for any page.{xseek analyze mysite.com https://mysite.com/blog/article --format json}</pre>
Using the CLI with Claude Code
<p> The CLI is designed to work with Claude Code skills. Each skill calls CLI commands to gather data, then Claude processes the results. Here's the typical flow:-
You type
/generate-articlein Claude Code -
The skill runs
xseek opportunitiesto find content gaps -
Runs
xseek web-searchesto get LLM query data -
Runs
xseek search-queriesfor GSC keywords -
Claude analyzes the data and writes the article
Every skill in the{' '} xSeek Claude Code skills repo{' '} follows this pattern. The CLI handles data retrieval. Claude handles reasoning and writing. You get a production-ready article without leaving your editor.
Tips
-
Always use
--format jsonfor machine-readable output -
The website argument accepts domain names (
mysite.com) or IDs -
Credentials are stored in
~/.xseek/config— don't export as an env var -
Pipe JSON output to
python3orjqfor filtering -
Use
--pageSizeto control how many results you get back -
Combine commands in shell scripts for repeatable audit workflows
Frequently Asked Questions
How do I install the xSeek CLI?
Run curl -fsSL https://cli.xseek.io/install.sh | sh then xseek login YOUR_API_KEY. Get your API key from the{' '}
xSeek dashboard.
Does the CLI work without a web dashboard?
Yes. Every feature available in the dashboard is accessible via the CLI. You can run your entire GEO workflow from the terminal.
Can I use the CLI in CI/CD pipelines?
Yes. The CLI outputs JSON with --format json, making it easy to integrate into automated workflows, monitoring scripts, or Slack bots.
What's the difference between the CLI and the API?
The CLI wraps the API in a developer-friendly interface. You can use either — the CLI for quick queries, the API for custom integrations.
Is the CLI free?
The CLI itself is free to install. It requires an xSeek account to access data. Plans start at $99.99/month.
Key Takeaways
-
• The xSeek CLI gives you every dashboard feature from the terminal — opportunities, sources, ai-visits, analyze, and more
-
• Install in one command, authenticate with your API key, and start querying immediately
-
• Use
--format jsonto pipe output into scripts, Claude Code skills, CI/CD pipelines, or Slack bots -
• The CLI is the backbone of xSeek's Claude Code integration — every skill calls CLI commands under the hood
-
• Combine
xseek opportunitieswithxseek web-searchesandxseek search-queriesfor a complete content strategy workflow
About the Author
Marc-Olivier Bouchard is an LLM AI Ranking Strategy Consultant specializing in Generative Engine Optimization. He builds the CLI tools, Claude Code skills, and measurement systems that help brands compete in AI-first search — from terminal workflows and automation scripts to multi-engine citation tracking and content strategy.