wp_wc_list_product_categories is an MCP tool for WooCommerce — available inside Easy MCP AI, the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

wp_wc_list_product_categories

Read-only

List product categories with id, name, slug, parent, count

Requires WooCommerce plugin.

Description

Category IDs are required inputs for creating or filtering products, yet they're buried in the WooCommerce admin term list. Easy MCP AI surfaces the full category tree — IDs, names, slugs, parent relationships, and product counts — through a single AI prompt, making it the natural setup call before you create or sort products. It's one of 37 WooCommerce tools in Easy MCP AI, and equally useful for spotting empty categories that can be cleaned up.

See it in action

Claude Desktop — MCP Connection
👤
List all product categories with their IDs, slugs, and product counts.
🤖
Tool called wp_wc_list_product_categories

Done. I've used wp_wc_list_product_categories to complete that for you.

Example Use Cases & Sample Prompts

  1. Get category IDs for use in other queries
    • Prompt: “List all product categories and their IDs so I can use them when creating a new product.”
  2. Find empty categories
    • Prompt: “Show me all product categories with a product count of zero.”
  3. Browse the category hierarchy
    • Prompt: “List all product categories so I can see which ones are subcategories and who their parents are.”

Frequently Asked Questions

What does wp_wc_list_product_categories do?

Category IDs are required inputs for creating or filtering products, yet they're buried in the WooCommerce admin term list. Easy MCP AI surfaces the full category tree — IDs, names, slugs, parent relationships, and product counts — through a single AI prompt, making it the natural setup call before you create or sort products. It's one of 37 WooCommerce tools in Easy MCP AI, and equally useful for spotting empty categories that can be cleaned up.

How do I use wp_wc_list_product_categories with my AI assistant?

Install Easy MCP AI and the WooCommerce plugin, generate an API token in your dashboard, and connect your AI client. Then describe what you want in natural language — for example: "List all product categories with their IDs, slugs, and product counts."

Do I need Easy MCP AI to use wp_wc_list_product_categories?

Yes. wp_wc_list_product_categories is bundled inside Easy MCP AI as part of the WooCommerce integration. Install the free plugin, add WooCommerce, connect your AI, and this tool is available immediately.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_wc_list_product_categories and all WooCommerce tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, 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.