wp_yoast_get_head is an MCP tool for Yoast SEO — available inside Easy MCP AI, the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_yoast_get_head

Read-only

Get the full rendered SEO head HTML and JSON-LD for any URL

Requires Yoast SEO plugin. wp_yoast_get_head requires Headless CMS Support feature enabled in Yoast SEO → General → Features.

Description

The rendered <head> HTML is exactly what Google and social crawlers parse — and wp_yoast_get_head surfaces that output for any URL, including every meta tag, link element, and JSON-LD schema block Yoast SEO generates. Through Easy MCP AI, AI clients like Claude Desktop or Cursor can request this snapshot directly from your WordPress site without touching the admin panel. Use Easy MCP AI to validate canonical tags, audit social preview markup, or confirm that schema is rendering as expected — all in a single tool call across any MCP-compatible AI client.

See it in action

Claude Desktop — MCP Connection
👤
Fetch the full rendered Yoast SEO head HTML for https://example.com/best-running-shoes/.
🤖
Tool called wp_yoast_get_head

Done. I've used wp_yoast_get_head to complete that for you.

Example Use Cases & Sample Prompts

  1. Verify the live SEO head for a URL before a launch
  2. Extract and review structured data JSON-LD
    • Prompt: “Get the rendered head for my homepage and show me just the JSON-LD schema blocks.”
  3. Audit social preview tags for a campaign page

Frequently Asked Questions

What does wp_yoast_get_head do?

The rendered <head> HTML is exactly what Google and social crawlers parse — and wp_yoast_get_head surfaces that output for any URL, including every meta tag, link element, and JSON-LD schema block Yoast SEO generates. Through Easy MCP AI, AI clients like Claude Desktop or Cursor can request this snapshot directly from your WordPress site without touching the admin panel. Use Easy MCP AI to validate canonical tags, audit social preview markup, or confirm that schema is rendering as expected — all in a single tool call across any MCP-compatible AI client.

How do I use wp_yoast_get_head with my AI assistant?

Install Easy MCP AI and the Yoast SEO plugin, generate an API token in your dashboard, and connect your AI client. Then describe what you want in natural language — for example: "Fetch the full rendered Yoast SEO head HTML for https://example.com/best-running-shoes/."

Do I need Easy MCP AI to use wp_yoast_get_head?

Yes. wp_yoast_get_head is bundled inside Easy MCP AI as part of the Yoast SEO integration. Install the free plugin, add Yoast SEO, connect your AI, and this tool is available immediately.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_yoast_get_head and all Yoast SEO tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.

View Setup Guides →

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.