Analyze post content is a WordPress ability from SEOPress — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Analyze post content

Read-only
SEOPress SEO seopress/analyze-post-content

Run the SEOPress content analysis on a published post and return the SEO score, checks and recommendations.

Requires the SEOPress plugin on WordPress 6.9+ for the Abilities API — abilities are registered only when wp_register_ability() exists, gated by the plugin's own seopress_abilities_api_available() check. Each per-post ability additionally requires the current user to hold the WordPress 'edit_post' capability for the target post (and the post must exist); the global title settings ability instead requires the SEOPress capability for managing title settings, which defaults to manage_options and is filterable via seopress_capability().

What it does

This ability wraps SEOPress's ContentAnalysis REST controller (get) to run the same content-analysis checks shown in SEOPress's post-editor 'Content Analysis' tab — scoring the post and returning the individual pass/fail checks, link counts and keyword data. By default it evaluates against the target keyword(s) already saved on the post, but you can pass target_keywords to override them for a one-off analysis (for example, to see how the post scores against a keyword it wasn't originally written for). This lets an AI assistant instantly surface what's dragging a post's SEO score down instead of the user reading through the checklist manually.

See it in action

You ask your AI assistant

"Run the SEOPress content analysis on post 128 using the target keyword 'best espresso machine' and tell me what's failing."

Inputs

Name Type Required Description
post_id integer Yes The ID of the post to analyze.
target_keywords string No Optional comma-separated target keywords to analyze against (overrides the saved ones).

Returns

An object with the content analysis payload — the SEO score, individual pass/fail checks, internal/external link counts, and the keywords analyzed.

Permission

The current user must be able to edit the target post (the WordPress 'edit_post' capability for that post ID); the ability also verifies the post exists and returns a WP_Error otherwise.

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.