Ask Claude Code to read a competitor's past Meta ads through an MCP tool and turn the offer timeline into a test brief
The maker of an ad-data API asked Claude Code, Cursor and Codex to read Gymshark's UK Black Friday 2025 Meta ads through his MCP tool. Claude read 30 of 991 ads in 31.5 seconds and traced how discounts and messages changed by date.
Evidence: The source shows its work: steps, screenshots, code or data you can inspect.
The business problem
Before planning a sale or promotion, a founder wants to know how a competitor sequenced offers and messages last season, without scrolling the Meta Ad Library by hand, and without overstating what public ads prove.
What was tried
1. Connect an ad-library data tool (here vexqo) to Claude Code, Cursor or Codex through MCP. 2. Ask a specific question naming the brand, country and period, for example what the brand ran on Meta in the UK for Black Friday last year, and which offers and angles. 3. The agent first searches the brand to find its advertiser page, then requests that page's active and stopped ads for the date range. 4. It groups the observed offers and messages by start date (here: up to 50% off throughout, extra codes added at different points, gifting from 22 November, payday from 28 November, 'ends soon' from 30 November). 5. Give the agent a stopping point or coverage target, because each agent chose a very different amount of work. 6. Ask it to report how many ads it read against total matches, cite ad IDs, separate observations from interpretations, and not infer spend, sales or profit. 7. Keep the sample size and links to the original ads with the summary, verify counts in code or a spreadsheet, and turn the pattern into one hypothesis to test in your own account. 8. Optionally repeat weekly with comparable samples of the same competitors.
What was reported (not reported)
In the recorded run of 20 November 2026, Claude Code made 2 searches, read 30 of 991 matching ads and answered in 31.5 seconds using 4 vexqo credits. Cursor made 2 searches and read 5 full ads in 202 seconds; Codex made 17 searches and read 9 full ads in 571 seconds. All three found the changing-discount pattern. No business result is reported: the author stresses that the ads cannot show whether any offer improved conversion or made money.
Limitations
Written by the maker of vexqo, the API used, with a trial offer, so this is labelled vendor. One recorded run on one brand; the timings do not show which agent is better. The 30 ads favoured high-impression ads and were not a random or complete sample. The example is a large physical-goods retailer, so a solo founder would use it on smaller competitors. Agent usage costs are not reported, only the tool's credits.
What you need
An AI coding agent that supports MCP, an account with an ad-library data tool, and a competitor that runs Meta ads in the country you sell in.
A prompt to try
Find [brand]'s Meta ads in [country] for [date range]. Read up to 30 ads first. Report how many you inspected and the total matches. Group the offers and messages you observed by date and cite the ad IDs. Keep observations apart from interpretations, and do not infer spend, sales or profit. Before making more calls, tell me which extra searches would most improve the answer.
Sources
- DEV Community (dev.to/mdias, Kieran Ross, vexqo) ↗ Vendor case study, published November 20, 2026
Source published: November 20, 2026. Last reviewed here: November 21, 2026. Spot a mistake? Tell us.
Tools in this workflow
- vexqo: Ad Library data API exposed to the agent over MCP (author's product)Try vexqo
- Meta Ad Library: Public source of the adsTry Meta Ad Library
Get new workflows like this by email
A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.
Related workflows
Run a four-move 'talk me out of it' conversation with Claude before building any product, course or tool
Before building anything non-trivial, ask Claude to argue against it, write a pre-mortem, name the bottleneck the build avoids, and cross-examine the spec. Three idea tests come first. A free Claude skill runs the whole check.
Test a product concept or price on simulated customers with an open-source agent skill that scores their written answers instead of asking for a number
An open-source agent skill for Claude Code, Codex and others creates personas for your market, asks each one separately how likely they are to buy, and turns their free-text answers into 1 to 5 ratings with a published embedding method, plus the main objections.
Install a free product-management skill kit with on-disk product memory and a weekly tune-up that turns repeated tasks into new skills
A free, MIT-licensed Claude Code plugin (also for Codex, Cursor and Gemini CLI) with 53 skills for discovery, positioning, pricing, specs and launches, a plain-markdown memory of your product and decisions, and a weekly review of a task log that proposes new or tuned skills.
Set a first price and work out how many customers you need with a free Claude Code pricing skill
An open-source Claude Code skill for solo founders that sets one simple price before 10 paying customers, does the customer-count maths against an income goal, and only builds tiers from how real customers differ once there are 10 or more.