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

Install Free Plugin →

wp_rm_get_head

Read-only

Get rendered SEO head HTML for any URL

Requires Rank Math SEO plugin. wp_rm_get_head requires Headless CMS Support enabled in Rank Math → General Settings → Others.

Description

Rank Math's rendered head output — including all meta tags, link elements, and structured data — is what search engines and social crawlers actually process, and wp_rm_get_head lets your AI client read it for any URL. Easy MCP AI bridges AI clients like Gemini CLI or n8n directly to your WordPress site over a pure-PHP connection, with no Node.js or proxy in the stack. Note that this tool requires Headless CMS Support to be enabled in Rank Math's General Settings; once active, Easy MCP AI makes it straightforward to validate canonical tags, inspect schema output, or audit OG metadata without admin panel access.

See it in action

Claude Desktop — MCP Connection
👤
Fetch the rendered Rank Math SEO head HTML for https://example.com/hiking-boots/.
🤖
Tool called wp_rm_get_head

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

Example Use Cases & Sample Prompts

  1. Validate live SEO tags before a page goes public
  2. Extract structured data from the head
    • Prompt: “Get the rendered Rank Math SEO head for my category page and show me any JSON-LD schema it includes.”
  3. Confirm headless front-end is receiving correct meta output
    • Prompt: “Pull the Rank Math head for https://example.com/blog/ and check that og:title and og:description are populated.”

Frequently Asked Questions

What does wp_rm_get_head do?

Rank Math's rendered head output — including all meta tags, link elements, and structured data — is what search engines and social crawlers actually process, and wp_rm_get_head lets your AI client read it for any URL. Easy MCP AI bridges AI clients like Gemini CLI or n8n directly to your WordPress site over a pure-PHP connection, with no Node.js or proxy in the stack. Note that this tool requires Headless CMS Support to be enabled in Rank Math's General Settings; once active, Easy MCP AI makes it straightforward to validate canonical tags, inspect schema output, or audit OG metadata without admin panel access.

How do I use wp_rm_get_head with my AI assistant?

Install Easy MCP AI and the Rank Math 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 rendered Rank Math SEO head HTML for https://example.com/hiking-boots/."

Do I need Easy MCP AI to use wp_rm_get_head?

Yes. wp_rm_get_head is bundled inside Easy MCP AI as part of the Rank Math SEO integration. Install the free plugin, add Rank Math 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_rm_get_head and all Rank Math 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.