wp_count_posts is one of 214 MCP tools included in Easy MCP AI — the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_count_posts

Read-only

Description

Get an instant snapshot of your editorial pipeline — how many posts are published, in draft, scheduled, pending, or sitting in the trash — without opening the WordPress dashboard. Easy MCP AI returns the full count breakdown for any post type in a single conversational turn, making it perfect for content-team standups, quick health checks, or spotting a backlog before it piles up. Ask Claude or ChatGPT 'how many posts do I have published vs. in draft?' and get the answer in plain English, no SQL and no clicking through wp-admin.

See it in action

Claude Desktop — MCP Connection
👤
How many posts do I have in each status — published, draft, pending, scheduled?
🤖
Tool called wp_count_posts
{"status": "success"}

Done! I've used wp_count_posts to complete that for you.

Example Use Cases & Sample Prompts

  1. Editorial pipeline snapshot
    • Prompt: “How many posts do I have in each status — published, draft, pending, scheduled?”
  2. Custom post type health check
    • Prompt: “Give me the count of every status for the ‘product’ post type.”
  3. Trash audit
    • Prompt: “How many posts are currently in the trash on my site?”
  4. Scheduled content review
    • Prompt: “How many future-scheduled posts do I have right now?”
  5. Quick dashboard summary
    • Prompt: “Give me a one-line summary: total published vs. total drafts.”

Frequently Asked Questions

What does wp_count_posts do?

Get an instant snapshot of your editorial pipeline — how many posts are published, in draft, scheduled, pending, or sitting in the trash — without opening the WordPress dashboard. Easy MCP AI returns the full count breakdown for any post type in a single conversational turn, making it perfect for content-team standups, quick health checks, or spotting a backlog before it piles up. Ask Claude or ChatGPT 'how many posts do I have published vs. in draft?' and get the answer in plain English, no SQL and no clicking through wp-admin.

How do I use wp_count_posts with my AI assistant?

Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language — for example: "How many posts do I have in each status — published, draft, pending, scheduled?"

Do I need Easy MCP AI to use wp_count_posts?

Yes. wp_count_posts is one of 214 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately — no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_count_posts and all 96 core tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides →

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.