What WPGraphQL Yoast SEO does
WPGraphQL Yoast SEO is a WordPress plugin that extends the WPGraphQL plugin so Yoast SEO data becomes available through GraphQL queries. It returns SEO fields for pages, posts, custom post types, WooCommerce products, categories, custom taxonomies and users. The plugin also exposes Yoast configuration data, including webmaster verification, social profiles, schemas and breadcrumbs, so a front end can read those values without rendering the WordPress theme.
Queries can address a single node by database identifier or by URI, and the seo object can be added to lists of posts, pages, categories and users, including edge and page info fields. Developers install it from the WordPress Plugin Directory, from a clone of the repository, or through Composer. Local development for contributors runs in Docker, and GraphQL testing is documented in the repository readme.
Key features
- Yoast fields on content types
- Adds the seo object to GraphQL queries for pages, posts and custom post types so per content SEO values are returned.
- WooCommerce product SEO data
- Returns Yoast SEO fields for WooCommerce products alongside the same fields for standard posts and pages.
- Category and taxonomy SEO
- Exposes Yoast data for categories and custom taxonomies so archive level SEO values can be read by a front end.
- Yoast configuration query
- A seo config query returns site level values instead of per content fields, letting a front end read global settings.
- Schemas and breadcrumbs
- Returns schema markup data and breadcrumb data generated by Yoast so a decoupled front end can reproduce them.
- Social profiles and verification
- Site level query returns social profile links and webmaster verification values stored in the Yoast settings.
- Single node lookup
- contentNode and nodeByUri fields accept a database identifier or a URI and return the seo object for that node.
- Edge and page info
- Queries for lists of posts return seo data per node together with edge and page info fields.
- Composer install path
- The package is installed with the composer require command and lands in the add-wpgraphql-seo plugin directory.
- Docker contributor environment
- Contributors clone the repository and run the plugin locally in Docker, with coding standards and GraphQL testing steps documented.
- Plugin Directory install
- The plugin installs directly from the WordPress Plugin Directory and is activated without a Composer step.
- Yoast version compatibility note
- The readme states which plugin version to use when a site still runs an older Yoast release.
How it works
- Install and activate the WPGraphQL plugin on the WordPress site.
- Add this plugin from the WordPress Plugin Directory, by cloning the repository, or through Composer.
- Activate the plugin so Yoast fields are registered on the GraphQL schema.
- Query pages, posts, products, categories or users and include the seo object in the selection.
- Read site level settings such as social profiles, schemas and breadcrumbs from the seo config query.
- Fetch one node by database identifier or URI with the contentNode and nodeByUri fields.
Plans and pricing
Released under an open source licence with no paid tiers, installable from the WordPress Plugin Directory or through Composer.
Integrations and platforms
Works with
- WPGraphQL
- Yoast SEO
- WooCommerce
- Gatsby
- Composer
- Docker
Available as
- WordPress
- API
Repository facts
- Repositoryashhitch/wp-graphql-yoast-seo
- LanguagePHP
- Stars231
- Forks49
- LicenceGPL-3.0
- Created2019-01-20
- Last commit2026-11-04
- Open issues22
- graphql
- wordpress
- wordpress-plugin
- wpgraphql-plugin
- yoast-seo
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 ashhitch
- Website: github.com/ashhitch/wp-graphql-yoast-seo
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.