How to Use Rank Math MCP Tools

Rank Math provides AI-ready SEO abilities that let you optimize content, perform SEO tasks, and access Rank Math data directly from your AI assistant. These abilities can be accessed through compatible AI integrations, including the WordPress MCP adapter.

In this knowledgebase article, we will show you how to complete SEO tasks using the tools available in Rank Math MCP.

1 Available Rank Math MCP Tools

An MCP tool is a command that lets your AI assistant communicate with specific features in Rank Math. The available MCP tools include:

  • rank-math/audit-site-seo: Lets you run an SEO audit for your URL, site, or a competitor’s site
  • rank-math/fix-site-seo: Lets you fix the tests that failed the SEO audit
Overview of the Rank Math MCP tools

2 How to Complete SEO Tasks With Rank Math MCP

Here are the SEO tasks you can complete using Rank Math MCP.

  • Run an SEO Audit of Your Site
  • Fix Failed SEO Tests From the Audit
  • Run an SEO Audit of a Competitor’s Site

2.1 Run an SEO Audit of Your Site

The Run SEO Audit MCP tool (rank-math/audit-site-seo) instructs Rank Math to run a detailed SEO audit on your site. Once complete, Rank Math passes the result to your AI assistant, which uses it to generate a detailed report for you.

To run an SEO test, prompt your AI assistant to run an SEO audit.

Prompt your AI assistant to run an SEO audit

Rank Math will run your SEO tests and return its results to your AI assistant, which generates a report for you.

Overview of your SEO audit result

2.2 Fix Failed SEO Tests From the Audit

The Fix SEO Test MCP tool (rank-math/fix-site-seo) instructs Rank Math to fix the failed SEO tests. This tool comes in handy after you’ve run an SEO audit. The SEO tests that can be fixed include:

  • Blog public: This sets your blog’s visibility to public
  • Permalink structure: This sets the permalink structure to /%postname%/
  • Site tagline: This updates the site’s tagline to that provided by the user or AI assistant
  • Sitemaps: This enables the Sitemap module
  • Schema: This enables the Schema module
  • Noindex meta: This sets the robots_global value in the Titles & Meta settings to index
  • Robots.txt: This adds the default Disallow rules to the robots.txt file
  • Missing focus keywords: This sets the post title as the focus keyword of posts without one

To get started, enter a relevant prompt into your AI assistant and instruct it to fix the failed SEO tests.

Prompt your AI assistant to fix your SEO tests

Your AI assistant will fix the supported SEO tests using MCP.

Overview of the fixed SEO test result

Some tests, such as adding a site tagline, require input from your end. In this instance, you can prompt your AI assistant to suggest a relevant site tagline, then instruct it to add it to your site. It will do so and return a success message, as shown below.

Sample of the site tagline fixed using Rank Math MCP

2.3 Run an SEO Audit of a Competitor’s Site PRO

The Run SEO Audit MCP tool also lets Rank Math to run a detailed SEO test on your competitor’s site. This is helpful when you want to understand how well a competitor’s site is faring or how your site compares against theirs.

To get started, instruct your AI assistant to analyze a competitor’s site or even compare yours against theirs. For example, let us prompt our AI assistant to compare our site with another site.

Prompt your AI assistant to audit your competitor

Once done, your AI assistant will return a comparison of your site and your competitor’s site.

Overview of your competitor's audit result

That is how to use the available Rank Math MCP tools to complete SEO tasks directly from your AI assistant. If you have any questions, you’re always more than welcome to contact our dedicated support team, who are available 24/7, 365 days a year.

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles