Ahrefs from the command line
Backlinks, keywords, rankings and site audits.
One price for one person, for every application you connect. Cancel any time.
Ahrefs from the command line
Backlinks, keywords, rankings and site audits.
gbrain.io
Backlinks, keywords, rankings and site audits.
One price for one person, for every application you connect. Cancel any time.
Ahrefs is SEO research: who links to a site, what it ranks for, and what’s broken on it. Connected to a workspace, GBrain can answer “which pages lost rankings this month?” or compare a competitor’s backlinks against the team’s own.
Ahrefs’ connection only reads.
Ahrefs is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.
# Install the CLI curl -sSL https://gbrainio.terminalwire.sh | bash # Set the terminal up and connect it gbrainio terminal connect # What Ahrefs is, and each of its commands once it is connected gbrainio tool help ahrefs
The installer is a shell script for macOS and Linux. Read it before you run it.
Ahrefs's commands come from Ahrefs's own server once it is connected, so none are listed here.
Claude Code, Cursor and Codex reach the same Ahrefs through MCP, on the same permission and the same record.
One level per application, one daily limit, one record, across every AI and terminal that asks.
Tools is $19 a month for one person. Get Tools, connect Ahrefs in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.