What WPGraphQL for Rank Math SEO does
The plugin adds WPGraphQL support for Rank Math SEO. It extends the GraphQL schema with data that Rank Math stores, including the rendered head markup and the SEO score, so a decoupled front end can fetch SEO values with the rest of its content instead of parsing the WordPress theme output. The repository labels itself prerelease software and warns that the schema can still change.
It is written in PHP, released under a GPL licence, and maintained by AxePress Development. The readme lists minimum versions for PHP, WordPress, WPGraphQL and Rank Math, and states that all four must be met. Installation is either a release archive uploaded through the WordPress admin or a Composer require for the package axepress/wp-graphql-rank-math. Documentation in the repository covers the available queries.
Key features
- Full head output
- Returns the complete rendered head markup that Rank Math produces for a post, so a headless front end can reuse it.
- Rank Math SEO score
- Exposes the SEO score Rank Math calculates for content, letting decoupled editors read the value through a query.
- Titles and meta settings
- Surfaces the plugin's titles and meta configuration in the GraphQL schema, as listed among the supported feature groups.
- General settings access
- Makes Rank Math general settings readable through WPGraphQL rather than only inside the WordPress admin screens.
- Composer install path
- Ships as a Composer package named axepress/wp-graphql-rank-math, so dependency managers can pull and update it.
- Zip release install
- Publishes a downloadable release archive that can be uploaded to a WordPress install and activated like any other plugin.
- Query reference docs
- The repository includes documentation pages covering GraphQL queries and the WordPress side of the integration.
- Grouped breaking changes
- Before the stable release, major versions may break the PHP API or GraphQL schema, grouped together to limit upgrade churn.
How it works
- Install and activate the WPGraphQL plugin on the WordPress site.
- Install and activate the Rank Math SEO plugin on the same site.
- Add this plugin from a release archive or with Composer.
- Activate the plugin so SEO fields join the GraphQL schema.
- Query the exposed SEO data from a headless front end.
Plans and pricing
The repository distributes the plugin free of charge under a GPL licence and lists no paid tier.
Integrations and platforms
Works with
- WPGraphQL
- Rank Math SEO
- Composer
- WordPress
Available as
- WordPress
- Web
- API
Repository facts
- RepositoryAxeWP/wp-graphql-rank-math
- LanguagePHP
- Stars76
- Forks13
- LicenceGPL-3.0
- Created2022-05-08
- Last commit2025-06-07
- Open issues10
- graphql
- hacktoberfest
- hacktoberfest2023
- headless-wordpress
- php
- rank-math
- rankmath
- seo
- wordpress
- wordpress-plugins
Services and details
Does SEO work itself
YesFree plan or free tools
YesAPI or MCP server
YesWordPress plugin
Yes
No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, browser extension, built for agencies. The website did not say; check with the vendor.
About the company
- Company AxeWP
- Website: github.com/AxeWP/wp-graphql-rank-math
Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.