Ad Creative Research MCP
by openanysi
README.md
# Ad Creative Research MCP
Research public Meta Ad Library and Google Ads Transparency ads, inspect creative details, and retrieve Meta video ad transcripts. Powered by [OpenAny](https://openany.si/).
[](https://www.npmjs.com/package/@openanysi/ad-creative-research-mcp)
[](LICENSE)
[](https://nodejs.org/)
## Quick Start
### Prerequisites
- Node.js 22 or later.
- An MCP client that runs local stdio commands (e.g., Claude Desktop, Cursor, Windsurf, or Claude Code).
- An OpenAny API key for data requests. Create one in [API Keys](https://openany.si/dashboard/?page=api-keys), follow the [setup guide](https://openany.si/setup.md), and review [usage and costs](https://openany.si/dashboard/?page=usage).
### Configure your client
This example uses the `mcpServers` configuration format. Add it to your client's private settings and replace the key placeholder there.
```json
{
"mcpServers": {
"ad-creative-research-mcp": {
"command": "npx",
"args": ["-y", "@openanysi/ad-creative-research-mcp"],
"env": {
"OPENANY_API_KEY": "YOUR_OPENANY_API_KEY"
}
}
}
}
```
A client secret manager or inherited environment can also supply the key. For utility-only use, omit `env`. Keep real keys out of chat and repositories.
Restart or refresh the client, then try:
- **Without an API key:** “Inspect `search_meta_ads` with `get_tool_info`, then load `competitor_ad_research` using `get_workflow` with `language: "en"`. Do not fetch ads.”
- **With an API key:** “Research public ads for my supplied competitor domain and product category in the US. Read the current prices first, agree a sampling budget, and collect one page per relevant platform before proposing further calls.”
## Features / Use Cases
| Task | What the MCP provides | What your agent can deliver |
| --- | --- | --- |
| Find ad references | Meta keyword search and Google advertiser ad lists | A sourced reference table grouped by advertiser, platform and message |
| Study a selected Meta ad | Creative details and available video speech transcripts | Hook, offer, proof and CTA observations with source references |
| Develop a creative brief | On-demand research and brief guides | Original angles and script outlines based on supplied product facts |
Your client selects the calls and pages, interprets the results, writes drafts, and saves Markdown or CSV when it has file-writing tools.
## Example Prompts
- “Compare the ad messages in a small sample for these two competitor domains. Keep the platform and date scope beside every observation.”
- “Inspect these Meta ad IDs and request transcripts only for the video ads relevant to my brief. Separate spoken claims from visual observations.”
- “Using only the ad references and product facts I pasted, draft three original creative angles. Do not request new data.”
## Tools
The server exposes **7 tools**: four data tools and three free utility tools. Each data-tool invocation makes at most one business request.
### Data tools
| Tool | Required inputs | Optional inputs | Purpose |
| --- | --- | --- | --- |
| `search_meta_ads` | `query` | `country`, `cursor`, `status`, `media_type`, `search_type`, `sort_by`, `start_date`, `end_date`, `ad_type` | Search public Meta ads by keyword |
| `get_meta_ad` | `ad_id` | — | Retrieve a selected Meta ad's creative details |
| `get_meta_ad_transcript` | At least one of `ad_id`, `ad_url` | The other identifier | Retrieve available speech transcription for a Meta video ad |
| `list_google_ads` | At least one of `domain`, `advertiser_id` | `cursor`, `region`, `format`, `platform`, `start_date`, `end_date`, `topic` | List public Google ads for a known advertiser |
All four data tools also accept optional `max_cost_usd`, a decimal USD string limiting the price of that single request.
- **Meta filters:** `status`: `ALL`, `ACTIVE`, `INACTIVE`; `media_type`: `ALL`, `IMAGE`, `VIDEO`, `MEME`, `IMAGE_AND_MEME`, `NONE`; `search_type`: `keyword_unordered`, `keyword_exact_phrase`; `sort_by`: `impressions`, `recent`; `ad_type`: `all`, `political_and_issue_ads`.
- **Google filters:** `format`: `text`, `image`, `video`; `platform`: `google_maps`, `google_play`, `google_search`, `google_shopping`, `youtube`; `topic`: `all`, `political`. Political searches require `region`.
- **Dates and countries:** Dates use `YYYY-MM-DD`; `country` and `region` use uppercase two-letter codes. Meta dates filter when ads had impressions; Google dates filter when ads were first shown.
- **Paging:** Pass a returned cursor unchanged with the same research context. There is no business `limit` input; the agent decides whether another page is needed.
### Utility tools — no API key required
| Tool | Inputs | Purpose |
| --- | --- | --- |
| `get_tool_info` | Required `tool_name` | Inspect current inputs, pricing and known limits before a data call |
| `get_workflow` | Required `workflow`; optional `language` | Load a task guide and output templates |
| `search_openany_capabilities` | Required `query`; optional `limit` | Find related OpenAny capabilities without executing them |
`get_workflow` supports `zh` and `en`, defaults to `zh`, and needs `language: "en"` for English. Capability queries accept 1–256 characters; the utility's `limit` is 1–10, default 5.
## Workflow Guides
| Guide ID | Use it for |
| --- | --- |
| `competitor_ad_research` | Scope a sample, identify advertisers, collect references, and compare supported observations |
| `creative_brief` | Inspect selected references and turn grounded observations into an original creative brief |
Guides are available in English and Chinese. They return instructions for your agent to follow; they do not start a server-side research job.
## Example Workflow
1. Supply the product category, competitor domains, market, period and sampling budget.
2. Load `competitor_ad_research` with `language: "en"` and inspect each selected tool's current pricing.
3. Search Meta by relevant terms and list Google ads for known domains; review one page at a time.
4. Check advertiser identity before attributing a keyword match to a competitor. Keep source links and retrieval dates.
5. Inspect selected Meta ad IDs, requesting video transcripts only when useful and within budget.
6. Load `creative_brief` with `language: "en"`; draft original hooks and concepts using the supplied product facts, and export locally if requested.
## Limitations & Billing
- **Scope:** Public ad research only. The package does not manage campaigns, publish ads, download assets, perform visual OCR, or establish rights to reuse creative.
- **Coverage:** Keyword matches are samples, not a complete advertiser inventory. Fields, media links and transcripts may be missing. Ad presence, longevity and sort order do not establish spend, conversions or ROAS.
- **Pricing:** Data requests use current OpenAny pricing. Inspect `get_tool_info` first; empty results may incur a charge when the billing rule applies. Analysis and writing use your client's model. A per-request cap does not cap an entire research session.
- **Request recovery:** If an outcome is unclear, keep the request ID and check the original request before deciding on another call.
- **Privacy:** The server runs locally; catalog queries and data-tool inputs are sent to OpenAny.
- **More capabilities:** Use `search_openany_capabilities` or connect the [OpenAny MCP](https://mcp.openany.si/) with the [setup guide](https://openany.si/setup.md).
## FAQ
### Which MCP clients are supported?
Any MCP client that runs local `stdio` servers, including Claude Desktop, Cursor, Windsurf, and Claude Code.
### Which ad platforms are supported?
Public Meta Ad Library (keyword ad search, creative details, and Meta video ad speech transcripts) and Google Ads Transparency (advertiser ad lists across Google Search, YouTube, Shopping, Play, and Maps).
### Do I need a Meta or Google Ads account?
No. Data requests authenticate with `OPENANY_API_KEY` only—no Meta/Google ad account login or browser cookies are required.
### Can I cap per-request spend or try it without an API key?
Yes. All four data tools accept an optional `max_cost_usd` cap per request, and utility tools work keyless to inspect live pricing and load bilingual competitor ad research guides.
## Development
```sh
npm ci --ignore-scripts
npm test
npm run check
```
See [CONTRIBUTING.md](CONTRIBUTING.md) for runtime changes, guide maintenance and packaging checks.
## About OpenAny
[OpenAny](https://openany.si/) provides APIs and models for agents and developers. This package focuses on public ad creative research and gives your client atomic data tools and task guides.
## License
[Apache-2.0](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues