← Back to Tools Reference

wp_list_tags

Read-only

Description

Use this tool to retrieve all existing tags on your site, along with their IDs, slugs, and post counts. Your AI uses this list to find the correct tag ID before assigning tags to posts, updating tag details, or removing unused ones.

See it in action

Claude Desktop — MCP Connection
👤
List all tags on my site along with the number of posts each one has.
🤖
Calling Tool: wp_list_tags
Done! I've used wp_list_tags to complete that for you.
{"status": "success"}

Example Use Cases & Sample Prompts

  1. Tag taxonomy audit
    • Prompt: “List all my tags so I can see how many I have and identify any duplicates.”
  2. Finding unused tags
    • Prompt: “List all tags and tell me which ones have zero posts associated.”
  3. Pre-publish lookup
    • Prompt: “Before tagging my new post, show me all available tags so I can pick the relevant ones.”
  4. Naming convention review
    • Prompt: “List all tags and flag any that don’t follow the lowercase-hyphenated naming convention.”
  5. Popular tags overview
    • Prompt: “Which tags have the most posts? Rank the top 10.”

Access this tool today

Install the Easy MCP AI plugin to securely expose wp_list_tags to Claude, ChatGPT, and more.

Download Plugin