wp_search 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_search

Read-only

Description

When you don't know whether the content you're looking for is a post, page, category, tag, or custom post type item, this is the right starting point. Easy MCP AI queries the WordPress search API across all content types simultaneously and returns mixed results you can filter by type or subtype. It's broader than the post-specific search tool, making it ideal for site-wide content audits or pre-redirect checks before a migration.

See it in action

Claude Desktop — MCP Connection
👤
Search my entire site for anything related to 'membership pricing'.
🤖
Tool called wp_search
{
  "query": "membership pricing",
  "total": 8,
  "results": [
    { "id": 55, "title": "Membership Pricing Guide", "type": "post", "subtype": "post" },
    { "id": 12, "title": "Pricing", "type": "post", "subtype": "page" },
    { "id": 9, "title": "Membership Plans", "type": "term", "subtype": "category" }
  ]
}

Found 8 results across all content types for 'membership pricing'.

Example Use Cases & Sample Prompts

  1. Global site search
    • Prompt: “Search my entire site for anything related to ‘membership pricing’.”
  2. Finding content across types
    • Prompt: “Search for ‘contact’ across all content types — I want to find every page, post, and category that mentions it.”
  3. Locating a specific item
    • Prompt: “Search for ‘Annual Report 2024’ — it could be a page, post, or media item.”
  4. Pre-redirect check
    • Prompt: “Search for any content related to our old product name before I remove it.”
  5. Content discovery
    • Prompt: “Search across all content types for ‘security’ so I can see everything we’ve published on the topic.”

Frequently Asked Questions

What does wp_search do?

When you don't know whether the content you're looking for is a post, page, category, tag, or custom post type item, this is the right starting point. Easy MCP AI queries the WordPress search API across all content types simultaneously and returns mixed results you can filter by type or subtype. It's broader than the post-specific search tool, making it ideal for site-wide content audits or pre-redirect checks before a migration.

How do I use wp_search 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: "Search my entire site for anything related to 'membership pricing'."

Do I need Easy MCP AI to use wp_search?

Yes. wp_search 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_search 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.