← Back to Tools Reference
Download Plugin
wp_list_categories
Read-onlyDescription
Use this tool to retrieve all categories on your site, including their IDs, names, slugs, post counts, and parent categories. Your AI uses this to identify the right category ID before assigning posts, updating category details, or building navigation.
See it in action
Claude Desktop — MCP Connection
👤
List all categories on my site along with their post counts.
🤖
Calling Tool: wp_list_categories
Done! I've used wp_list_categories to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Taxonomy audit
- Prompt: “List all my categories so I can see the full taxonomy structure.”
- Finding empty categories
- Prompt: “List all categories and show me any that have zero posts.”
- Organizing before publishing
- Prompt: “Before I write this new post, can you list all available categories so I can decide which one to use?”
- Category count review
- Prompt: “How many total categories do I have, and which ones have the most posts?”
- Finding a category
- Prompt: “List all categories and find the one related to SEO so I can assign it to a post.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_list_categories to Claude, ChatGPT, and more.