Use the CLI when you want everything local, when you script reports, or when you need the two commands that fetch many pages from your machine.
Install and run setup
You need Node 22.23.4, 24.22.1, 26.12.1 or a later release of the same line.
npm i -g seo && seo start
The first part installs the package. seo start then runs setup.
Setup walks you through three things:
- Sign in. If you already have a seoskill.dev account, sign in to it, or create one: it holds your Google accounts, Bing and keys for both the CLI and the hosted MCP. You can also sign in with Google on this machine only. Either way, Search Console and Google Analytics access is read-only.
- Add an MCP server to the agents it finds on your machine. The free hosted server is the first choice; the local one runs on your machine with this sign-in. Claude Desktop takes the hosted server only from its Connectors settings, so setup gives it the local one.
- Install the skill, which teaches your agent the commands.
If you skip a step, you can do it later with seo mcp install or seo skill install. The Claude SEO skill page shows what the skill tells Claude Code. Setup saves nothing about your site, so each command names the site it works on. To see the sites your sign-in can read:
seo sites
Use your seoskill.dev account
If you use the hosted MCP, link the CLI to the same account. Your Google accounts, Bing and research keys then live in one place, and every machine you link uses them:
seo login
It opens a page on seoskill.dev where you approve this machine. The CLI then asks the account for short-lived tokens and makes the Google and Bing requests itself (Bing blocks the hosted server, so this is how Bing works with an account). Reports and rows it fetches don’t go back to seoskill.dev. The issues list and business context do: the account keeps them, so this machine and the hosted MCP work from the same ones. Your linked machines are listed on your account page, where you can remove them. seo logout unlinks this one.
Run the commands
| Command | What it does |
|---|---|
seo next | The next step in the SEO loop for a site, with its first jobs |
seo report | The main report: with --site, an overview first, then one section |
seo page | One URL: live page facts, Google index status and its queries |
seo compare | Before and after a date, with Google updates |
seo index | Google’s indexing reasons for your pages, checked live, and pages that lost their clicks |
seo submit | Ask search engines to crawl pages with IndexNow, or send them to Google with Index My Site |
seo research | Keyword and competitor data from your own key |
seo data | Raw rows from Search Console, Bing, Clicky or Simple Analytics |
seo crawl | Crawl your site and list technical issues |
seo internal-links | Internal links to add across a site or to one page |
seo lint | Lines in your copy that read as AI-written, each with a fix |
A few examples:
seo report --site example.com
seo report --site example.com --section quick-wins
seo page --url https://example.com/pricing
seo compare --site example.com --date 2026-09-15
Add --json to any of them for structured output, or --help to see every option.
Research needs a provider key. Keys saved on your account page work once you run seo login. To keep a key on this machine only instead:
seo providers dataforseo connect
Check a redirect map after a migration
Before and after a site move, check every old URL lands where you planned. Put one old_url,new_url pair per line in a CSV file (a header line is fine), up to 1,000 rows:
seo redirect-trace --map redirects.csv
Each row gets a verdict: it matches, it reaches the right page through a chain of redirects, it lands on the wrong page, it doesn’t redirect, it loops, or it didn’t answer. A line with only an old URL just shows where it ends up. Add --json for one row per line. To trace a few URLs in your browser instead, use the free redirect checker.
Coming from an older version
Saved projects are gone, so pass --site instead of --project. Commands that saved history between runs, such as seo change-log, seo technical-watch and seo crawl-reports, were removed (your agent keeps its own notes now). Removed commands and flags stop with a short message that names what to use instead.
The old report names, such as seo quick-wins, still run and print the new command to use. To stay on the old version, run npm i -g seo@0.2.41.
Your agent runs the same commands for you once setup has added the skill, so most days you just ask it a question.
Run it in a cloud agent
On a machine that is rebuilt each time, such as Amp, Codex cloud or CI, make a token on your account page and save it as the SEO_TOKEN secret. The CLI then uses your account with no login step. The cloud agents guide has the details.
Where your data lives
Your Google tokens, settings, keys and a short cache of responses stay on your machine. Reports and crawls are not saved, except the issues list you ask for and the business context seo next saves. Those stay on your machine too, unless you use your seoskill.dev account. Nothing else is sent to SEO Skill except the anonymous usage counts, which you can turn off:
seo telemetry disable
Open source
The CLI is Apache-2.0 licensed. The code, issues and releases are on GitHub, and the package is seo on npm.