What Claude Code does for SEO
- A daily report from Search Console and your analytics: impressions, clicks, the queries and pages behind them, and the gap to your goal.
- New pages for queries that are starting to work, written in your site's repository with titles, meta descriptions and internal links.
- Technical checks on every page it touches: titles, canonical tags, hreflang, structured data, sitemap entries and broken links.
- Translations of pages that already get traffic, and an indexing request when a page ships.
Claude Code features for SEO
| Feature | What it does | How to start |
|---|---|---|
| Skills | Reusable SEO steps (keyword research, writing a page, getting it indexed) in .claude/skills/<name>/SKILL.md | Claude loads one when it's relevant, or you run /<skill-name> |
| MCP servers | Search Console, analytics and a real browser from inside the session | claude mcp add, then /mcp to check |
| Subagents | Audit many pages in parallel without filling the main conversation | Ask for it, or define one in .claude/agents/ |
| Scheduled tasks | Run the routine in the cloud every day | /schedule daily SEO report at 18:30 |
How to set up Claude Code for SEO
Connect the tools
Give it read-only access to the numbers and a browser to check pages as visitors see them. For Search Console, use the API with a read-only service account or an MCP server; for analytics, your tool's CLI or MCP server.
# A browser for checking rendered pages, titles and links claude mcp add playwright npx @playwright/mcp@latest # See what's connected claude mcp listWrite the rules in CLAUDE.md
Claude Code reads CLAUDE.md at the start of every session,
claude -pruns included. Put the job's rules there, or in a skill under.claude/skills/if they're long. See the CLAUDE.md guide.## SEO rules Goal: 10,000 impressions, 500 clicks and 2,000 visitors a week. Every day 1. Read the last 7 days in Search Console and analytics. 2. Pick one query or page that is starting to work and do one thing for it: a related page, an FAQ, internal links or a translation. 3. Run the build and check the page's title, description, canonical and structured data before you commit. 4. Post the report and what you changed. Ask before anything that can't be undone. Never - Buy links, stuff keywords or publish a page you haven't built. - Change robots.txt or redirects without asking.Run it without the interactive interface
claude -pruns one task and exits, so cron, CI or another tool can start it. Choose what it may do without asking with--allowedToolsor--permission-mode;--output-format jsonreturns the result with its cost.# Today's routine without the interactive interface claude -p "Do today's SEO routine from CLAUDE.md and list what you changed" \ --permission-mode acceptEdits --allowedTools "Bash(npm run build)" \ --output-format jsonPut it on a schedule
Make it a cloud scheduled task with
/schedule(Pro, Max, Ultra, Team and Enterprise), a desktop scheduled task, or/loopwhile a session stays open. See how to make Claude Code proactive.
Limits and safety
- It can't see Search Console or analytics until you connect them. Give it read-only access.
- Rankings take weeks. Judge it on pages shipped and impressions, not on yesterday's clicks.
- A person approves anything public: deploys, redirects, robots.txt and removals.
- Since Claude Code v2.1.302,
claude -pstarts in Manual mode: an action that needs approval is denied unless a rule allows it. Allow only the tools the job needs.
Claude Code or Codex for SEO?
The rules carry over. Write them once in AGENTS.md and put @AGENTS.md in CLAUDE.md, and both agents read the same file.
Step by step for the other agent: SEO with Codex.
| Claude Code | Codex | |
|---|---|---|
| Rules file | CLAUDE.md | AGENTS.md |
| Connect tools | claude mcp add | codex mcp add or config.toml |
| Run without you | claude -p | codex exec |
| Schedule | /schedule, desktop scheduled tasks, /loop | Scheduled tasks in the ChatGPT app, cron |
| Built in for SEO | Skills, subagents, /schedule | AGENTS.md, skills, scheduled tasks |
Make SEO someone's job
Commands run when someone remembers to run them. Crewmark turns your own Claude Code into an AI employee with a role, a goal in numbers, working hours and a heartbeat, so the work happens on schedule and shows up on a board.
Start from the role
The AI SEO specialist, with these rules in its brief.
Put the work on its board
Add the job as a recurring issue. The employee wakes on its heartbeat, does it and reports in a comment.
Related
The daily SEO report has the full report brief, and the SEO skills cover keywords, writing and indexing.
FAQ
Can Claude Code do SEO?
Yes. It writes and fixes pages in your site's repository, checks titles, canonicals, hreflang and structured data, and, once you connect Search Console and analytics, reports on the numbers and picks what to work on next. A person should still approve deploys and anything public.
How do I connect Claude Code to Google Search Console?
Use the Search Console API with a read-only service account, an MCP server for Search Console added with claude mcp add, or a browser it drives while you're signed in. Read-only access is enough for reporting.
Are there SEO skills for Claude Code?
Yes. Skills are SKILL.md files in .claude/skills/. Crewmark's open-source Marketing Team Skills include keyword research, writing, indexing and a daily report; see the best Claude skills for SEO.
How do I get a daily SEO report from Claude Code?
Create a cloud scheduled task with /schedule, use a desktop scheduled task, or make it a recurring issue for a Crewmark employee. The daily SEO report page has the brief.
Checked against Claude Code's and OpenAI's Codex documentation on November 13, 2026.