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-onlyList 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
wp_wc_list_product_categories Done. I've used wp_wc_list_product_categories to complete that for you.
Example Use Cases & Sample Prompts
- 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.”
- Find empty categories
- Prompt: “Show me all product categories with a product count of zero.”
- 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.
More WooCommerce Tools
Update the status of many orders, or clear test orders, in one go
Change prices, stock, or status across many products in one go
Update prices or stock across all of a product's options at once
Create a coupon (percent, fixed_cart, or fixed_product)
Create a new customer account
Create an order programmatically
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.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, and 10+ more.