NEWOur agents now make the SEO fixes on your site and check what worked →
Claude Code logoWordPress logo

Fix WordPress SEO from Claude Code

Claude Code reads your real Google Search Console data through SEOmatic, finds what is holding your WordPress posts and pages back, stages the fix, and tells you whether it worked. In Approval mode nothing goes live on WordPress until you approve it.

  • Your real Search Console data
  • Fixes staged in WordPress, with your approval
  • Each change measured afterwards
Start Trial
SEOmatic astronaut working in Claude Code
Claude Code logo
Claude Code

Last Updated

November 2026

Connect Claude Code

One claude mcp add command, then claude mcp login seomatic to sign in. A plugin adds 21 SEO skills.

Cost

Free to connect and to read your Search Console. Staged fixes are part of paid plans, with a 14-Day Trial for $1, credited to your first payment. See pricing.

How to Fix WordPress SEO from Claude Code

Why Claude Code Needs SEOmatic on WordPress

Your WordPress content lives in WordPress, not in a repo, so Claude Code cannot change it with a file edit. Through SEOmatic it reads your Search Console, picks the posts and pages losing clicks and stages the change, which SEOmatic writes through the WordPress REST API once you approve. If you keep theme or template code in a repo, Claude Code can still fix that part directly.

What It Looks Like

You: Check /blog/drain-cleaning-cost/ in Search Console and fix its title.

Claude Code: From Sep 13 to Oct 10 (28 days), /blog/drain-cleaning-cost/ had 2,640 impressions and 21 clicks at position 8.7 for "drain cleaning cost". That is a low click rate for page one, so the title is the first thing to test: it reads "Drain Cleaning | Acme Plumbing". I staged a new title, "Drain Cleaning Cost: What You Will Pay | Acme Plumbing", to be written to the SEO title in your SEO plugin (Yoast, Rank Math, AIOSEO or SEOPress). Approve it here or in SEOmatic and it goes live on WordPress.

An example on a demo site; your numbers come from your own Search Console.

Step 1: Connect WordPress to SEOmatic

In SEOmatic, go to Connections and select WordPress. Enter your domain and click Connect. SEOmatic redirects you to WordPress where you approve the connection with one click. WordPress generates a secure Application Password automatically. Your post types, custom fields and taxonomies are synced instantly. The full walkthrough, with every screen, is on the WordPress integration page.

Step 2: Connect SEOmatic to Claude Code

Run this in your terminal, then run claude mcp login seomatic. Sign in to SEOmatic in the browser and pick your site. Add --scope user to the command to use SEOmatic in every project, not just this one.

Connect Claude Code
claude mcp add --transport http seomatic https://app.seomatic.ai/api/mcp

Other ways to connect are on the Claude Code page.

Step 3: Ask Claude Code, Then Approve

Paste any of these into Claude Code. It answers from your data and stages the fix; you approve it before it reaches WordPress.

  • “Stage new SEO titles in my SEO plugin for posts with high impressions and low CTR.”
  • “Find WordPress pages Google has not indexed and tell me what is blocking them.”
  • “Which of my WordPress posts lost the most clicks in the last 28 days, and why?”

More that work well in Claude Code:

  • “Audit my live site and find the code behind each issue”
  • “Which pages ship a noindex by mistake?”
  • “Check the preview deploy before I merge”

Did It Work?

After you approve, SEOmatic writes the change through the WordPress REST API and checks that it is live. Then it measures the result against the page's own baseline and your site's trend: 14 days after a title change, 28 after a content refresh, 90 after a new page. Each change is marked verified, ineffective or regressed (inconclusive when the data cannot tell yet), and a low-risk change that loses traffic is rolled back on its own. Ask Claude Code "Did my WordPress title changes work?" and it answers from those verdicts.

What Claude Code Can Change on WordPress

Fixes On Your Existing Pages

Titles, meta, body content, slugs and schema, edited in place on pages that are already live.

You Set The Pace

The agent arrives switched off. Once on, it ships undoable fixes by itself and waits for you on anything larger, unless you choose Approval mode, where every change waits.

Meta Tags and SEO Plugins

Meta is written to Yoast, Rank Math, All in One SEO or SEOPress, whichever you run, and checked. A field your SEO plugin blocks is written by the free [SEOmatic AI plugin](/wordpress-plugins/seomatic-ai) once it is on your site; until then it waits on the board and ships by itself after you add it.

WordPress opens more of itself to its API than any other platform we connect to, so agents can reach every SEO field we support: content, slugs, schema, canonicals and noindex.

Every field, limit and safeguard is on the WordPress integration page.

Requirements

WordPress

A self-hosted WordPress site (WordPress.org, not WordPress.com), running version 5.6 or later on HTTPS. You need an Administrator or Editor account. If you use security plugins (Wordfence, iThemes) or Cloudflare, ensure they don't block the REST API.

Claude Code

Claude Code and a free SEOmatic account. No API key and no Google Cloud project: the connection signs in through your browser.

Use Claude Code on Another Platform

Frequently Asked Questions

Can Claude Code fix SEO on my WordPress site?

Yes, through SEOmatic. Claude Code reads your Search Console data, finds the posts and pages losing clicks and stages the fix, which SEOmatic writes to WordPress once you approve. The three setup steps are on this page.

What can Claude Code change on WordPress?

SEOmatic works on your posts and pages through the WordPress REST API. Which fields it can write there, and every limit, are listed on the WordPress integration page.

How do I know if a WordPress fix worked?

SEOmatic measures every change it ships against the page's own baseline and your site's trend, 14 days after a title change, 28 after a content refresh and 90 after a new page, and marks it verified, ineffective or regressed, or inconclusive when the data cannot tell yet. Claude Code can read those verdicts for you.

What do I need on the Claude Code side?

Claude Code and a free SEOmatic account. No API key and no Google Cloud project: the connection signs in through your browser.

Will Claude Code publish to WordPress without asking?

No. Every fix your assistant stages waits for your approval before it touches your site, and your assistant is told never to approve on its own. Approved changes are stored with the page's previous state, so any edit to an existing page can be rolled back. SEOmatic's own scheduled agents can ship reversible work, including single new articles, without a click unless you pick Approval mode in your autonomy settings; changes to your URLs or indexing, and new page sets, always wait for you.

Is it free?

Connecting is free with no card. Search Console reports, page checks and 30-page site audits are free, as often as you like; live market data uses free questions, 5 a month plus a one-time 5 the first time you sign in from an assistant, and 10 more when you connect Search Console. Staging and publishing fixes is part of paid plans, which start with a 14-Day Trial for $1, credited to your first payment.

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.