Semrush research.
From your terminal.

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

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

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

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

$ semrush 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.