wp_list_categories is one of 162 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_list_categories

Read-only

Description

A complete picture of your taxonomy — IDs, slugs, post counts, and parent relationships — is what lets an AI client make smart decisions about where a new post belongs. Easy MCP AI returns the full category list in one call, and clients like Claude Desktop, Cursor, or ChatGPT can reason over it immediately. Whether you're assigning content during vibe blogging or auditing an overgrown taxonomy, Easy MCP AI gives your AI the map it needs to act without guesswork.

See it in action

Claude Desktop — MCP Connection
👤
List all categories on my site along with their post counts.
🤖
Tool called wp_list_categories
{
  "total": 6,
  "categories": [
    { "id": 1, "name": "Uncategorized", "count": 3 },
    { "id": 9, "name": "Marketing", "count": 7 },
    { "id": 11, "name": "Tutorials", "count": 4 }
  ]
}

Found 6 categories on your site.

Example Use Cases & Sample Prompts

  1. Taxonomy audit
    • Prompt: “List all my categories so I can see the full taxonomy structure.”
  2. Finding empty categories
    • Prompt: “List all categories and show me any that have zero posts.”
  3. Organizing before publishing
    • Prompt: “Before I write this new post, can you list all available categories so I can decide which one to use?”
  4. Category count review
    • Prompt: “How many total categories do I have, and which ones have the most posts?”
  5. Finding a category
    • Prompt: “List all categories and find the one related to SEO so I can assign it to a post.”

Frequently Asked Questions

What does wp_list_categories do?

A complete picture of your taxonomy — IDs, slugs, post counts, and parent relationships — is what lets an AI client make smart decisions about where a new post belongs. Easy MCP AI returns the full category list in one call, and clients like Claude Desktop, Cursor, or ChatGPT can reason over it immediately. Whether you're assigning content during vibe blogging or auditing an overgrown taxonomy, Easy MCP AI gives your AI the map it needs to act without guesswork.

How do I use wp_list_categories 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: "List all categories on my site along with their post counts."

Do I need Easy MCP AI to use wp_list_categories?

Yes. wp_list_categories is one of 162 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_list_categories and all 74 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.