Semrush research.
From your terminal.

Keywords, rankings, backlinks, AI visibility and projects. 62 research and project operations for the command line and MCP clients.

npm install -g semrush-cli
Get started
$ semrush-cli setup
$ semrush-cli auth login

$ semrush-cli domain-overview \
  --domain openai.com --json

$ semrush-cli keyword-magic \
  --keyword "email marketing" \
  --page-size 20 --json

$ semrush-cli mcp

One account. Two interfaces.

Research
Keyword Magic, SERPs, organic rankings, competitors, keyword gaps, backlink prospects, historical and mobile research, AI citations.
CLI + MCP
The same report definitions and input schemas. JSON output for scripts. Read tools and confirmed project writes for agents.
Your session
Sign in once. Galleton encrypts stored cookies. Chromium executes the authenticated web reports. No developer API key.
TypeScript + Effect
Typed errors, scoped browser cleanup and serialized requests. Provider totals and account restrictions stay visible.