Get Sitemap Status is a WordPress ability from SiteSEO – SEO Simplified — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get Sitemap Status
Read-onlyCheck whether the SiteSEO XML sitemap is enabled and get its index URL.
Requires the SiteSEO plugin on WordPress 6.9+ for the Abilities API (abilities are registered only when the wp_register_ability() function exists). Each ability is additionally gated by the caller holding the matching WordPress capability — edit_posts for the post abilities, or manage_options for settings, audit, and sitemap abilities.
What it does
This ability returns the SiteSEO sitemap state: whether the XML sitemap is currently enabled, and the sitemap index URL when it is. It takes no input. This lets an AI assistant quickly confirm sitemap availability before, for example, recommending it be submitted to Google Search Console, without the user needing to check the SiteSEO admin screen.
See it in action
You ask your AI assistant
"Is the XML sitemap enabled on this site, and what's the sitemap index URL?"
Returns
An object with enabled (boolean) and index_url (string or null, the sitemap index URL when enabled).
Permission
The current user must have the WordPress 'manage_options' capability.
More SiteSEO – SEO Simplified abilities
Get Homepage SEO Audit
Get an SEO snapshot of the homepage, including title, meta description, robots flags, social meta and cached score.
Get Post SEO Data
Retrieve the SEO snapshot for a single post: title, meta description, focus keyphrase, robots flags, canonical URL and social meta.
Get Site SEO Audit
Get a site-wide SEO health snapshot covering the homepage, sitemap status, custom robots rules, and public post types.
Get SiteSEO Settings
Read the full SiteSEO settings tree.
List Posts by SEO Score
List posts with their cached SEO content-analysis score.
List Posts Missing SEO Data
Find posts where the title, meta description, or focus keyphrase hasn't been set.