Opus Growth

Search WordPress Content

Finds the WordPress posts/pages that contain an EXACT string (or regex) in their content or title — the precise search wordpress_list_posts(search=...) cannot do, because WordPress' own search is fuzzy and…

Type
Reads only
Credits
1
Platform
WordPress
Approval
Not needed, nothing changes

What it does

Finds the WordPress posts/pages that contain an EXACT string (or regex) in their content or title — the precise search wordpress_list_posts(search=...) cannot do, because WordPress' own search is fuzzy and word-tokenised (it matches a shortcode like [vc_column_text] on every WPBakery page, and misses bracketed or punctuated tokens). It locates text such as a stale phone number, an outdated claim or a broken shortcode across a whole site and returns the matching ids, which wordpress_bulk_replace accepts. search_in = "content" (default) | "title" | "both". regex=true treats query as a Python regular expression; otherwise it is a literal, case-sensitive substring. type filters post types ("page", "post" or "page,post"; empty scans both). status defaults to "publish". It scans up to max_scan posts per call (no upper bound), newest-first; when the time budget or max_scan ends the scan, the reply carries next_offset to continue. Every post is fetched one by one (~1 s each on a typical host), so one call stops after about 110 seconds and returns what it found so far with partial=true and next_offset; call again with offset=next_offset (same other arguments) to continue where it stopped. Each hit returns id, slug, title, type, match_count and a short snippet around the first match; the hit list is capped so the result stays small. Read-only.

MCP: wordpress_search_content

How to use it

You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.

Parameters

NameTypeRequiredDefault
querystringRequired·Search or report query used to filter or select results.
search_instringOptionalcontentcontent · title · both · Exact search in value for wordpress search content. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation; matching the schema pattern.
regexbooleanOptionalfalseWhether to enable regex for this operation.
typestringOptional·Resource or content type accepted by this operation. Use one of the provider-supported values.
statusstringOptionalpublishDesired provider status for this resource; choose an allowed value from this schema.
max_scanintegerOptional150Numeric max scan value for wordpress search content. Use the provider's expected unit, range, and precision.
offsetintegerOptional0Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present.
site_urlstringOptional·Exact URL of the connected WordPress site to target when more than one site is available.
page_tokenstringOptional·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.