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-onlyGet 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
wp_yoast_get_head Done. I've used wp_yoast_get_head to complete that for you.
Example Use Cases & Sample Prompts
- Verify the live SEO head for a URL before a launch
- Prompt: “Fetch the Yoast SEO head for https://example.com/product/running-shoes/ and check that the canonical and OG tags are correct.”
- Extract and review structured data JSON-LD
- Prompt: “Get the rendered head for my homepage and show me just the JSON-LD schema blocks.”
- Audit social preview tags for a campaign page
- Prompt: “Pull the SEO head for https://example.com/campaign/ and confirm the og:title and og:image are set correctly.”
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.
More Yoast SEO Tools
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.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.