Use AdSwipeFile from your AI assistant

Connect AdSwipeFile to Claude, ChatGPT, Claude Code, Cursor, Codex, Hermes or any MCP client to search the library, read an ad's copy (and, on Starter and Growth, its breakdown) and pull your saved ads straight into a conversation. Read-only, and you sign in with your AdSwipeFile account.

1. Server URL

https://adswipefile.com/api/mcp

2. Add it to your assistant

Claude

  1. Open Settings → Connectors → Add custom connector.
  2. Name it AdSwipeFile, paste the server URL and click Add.
  3. Click Connect, sign in with your account and approve.

AdSwipeFile for Claude: example prompts and FAQ

ChatGPT

  1. Open Settings → Apps & Connectors → Advanced settings and turn on Developer mode.
  2. Back in Apps & Connectors, click Create, paste the server URL and choose OAuth.
  3. Sign in with your account and approve.

AdSwipeFile for ChatGPT: example prompts and FAQ

Claude Code

Run in your terminal:

claude mcp add --transport http adswipefile https://adswipefile.com/api/mcp

Then run /mcp in Claude Code and sign in.

AdSwipeFile for Claude Code: example prompts and FAQ

Cursor

Add to ~/.cursor/mcp.json (or your client's MCP config):

{
  "mcpServers": {
    "adswipefile": {
      "url": "https://adswipefile.com/api/mcp"
    }
  }
}

Then sign in when Cursor prompts you.

AdSwipeFile for Cursor: example prompts and FAQ

Codex

Run in your terminal:

codex mcp add adswipefile --url https://adswipefile.com/api/mcp

Then run codex mcp login adswipefile and sign in.

AdSwipeFile for Codex: example prompts and FAQ

Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "adswipefile": {
      "httpUrl": "https://adswipefile.com/api/mcp"
    }
  }
}

Then run /mcp auth adswipefile and sign in.

Hermes

Add to ~/.hermes/config.yaml:

mcp_servers:
  adswipefile:
    url: https://adswipefile.com/api/mcp
    auth: oauth

Then sign in in the browser window Hermes opens on first connect (or run hermes mcp login adswipefile).

AdSwipeFile for Hermes: example prompts and FAQ

OpenClaw

Add to ~/.openclaw/openclaw.json, so every channel gets the tools:

{
  "mcp": {
    "servers": {
      "adswipefile": {
        "url": "https://adswipefile.com/api/mcp",
        "transport": "streamable-http"
      }
    }
  }
}

AdSwipeFile signs in through OAuth in a browser and issues no API keys, so an OpenClaw gateway that runs without a browser cannot connect yet.

AdSwipeFile for OpenClaw: example prompts and FAQ

3. Try this prompt

Using AdSwipeFile, show me 5 winning UGC or testimonial ads from skincare brands. For each, give the brand, the hook, the angle and the link. Then write 3 hooks for my product in the same patterns: [describe your product].

Starter prompts

The server also offers ready-made prompts. In Claude, open the + menu in a chat and pick AdSwipeFile to see them.

  • Winning ads in my niche

    What's working in a niche right now: its newest ads, optionally in one format, with the hooks and angles they share.

  • What ads is this brand running?

    A competitor's ads in the library: the formats, hooks and angles it repeats, with links.

  • Hooks for my product from winning ads

    Hooks for your product, each learned from a real winning ad in the library.

  • Compare my competitors' ads

    Several competitors' ads side by side: formats, offers, hooks and angles, and the angles nobody runs yet.

Allowance

Each tool call counts against your plan's calls (UTC), shared with the JSON API: 50 a day on Free, 10,000 a month on Starter, 50,000 a month on Growth. When they run out, your assistant tells you when they reset and how to get more. Every plan reads each ad's copy; brand patterns and ad breakdowns come in full on Starter and Growth. See pricing.

Tools

  • Search the library search_library

    Find real Meta (Facebook and Instagram) ads for ad inspiration, hooks, angles, competitor research or a swipe file. Keyword search across ads, brands, niches and formats. Matches whole words in each ad's copy and in a description of its visual (so "screenshot" or "before after" work); only ads holding every word come back when there are any, else ads holding some (`match` says "all", "partial" or "none", with a `hint`). When no ad holds every word as written, a last word of 4+ letters is also read as a word start ("cust" finds customer; the `hint` says so). When nothing matches at all, misspelt words are corrected to the closest words the library's names and ads use and searched once more; `corrected_query` then says what was searched. Use 1–3 English product or format words; long phrases match little. Returns each hit's type, slug or id, and page URL. Start here when you have a product, brand or idea rather than an exact slug; when `match` is "none", follow the `hint`: it names a matching niche or format, or says the library has nothing on it.

  • List ads list_ads

    Browse real ads, newest first, optionally filtered by brand (a competitor's ads), niche and format slug, or by the standard tags: `visual_format` (list_visual_formats), `hook` (the hook tactic, list_hooks), `season` and `offer_type`, or by `status` (`running` or `ended` on Meta), or by `type` (`static`, `video` or `carousel`). Ads the library has not tagged yet never match a tag filter. Without a brand filter a page keeps a few ads per brand so one advertiser cannot fill it; filter by brand for all of one brand's ads. Filtered by brand, the first page also carries `brand_patterns`: per kind the brand has ads of (static, carousel, video), how many are read, the share of read ads with each trait, the most common structure, the top visual format and hook tactic (and for videos the median second the product is first seen and the commonest setting); below 5 read ads of a kind, only the counts and a note. When the account's plan does not include brand patterns, each kind has its counts, its brand page `url` and a `note` saying so. Ads tracked on Meta carry `run` (started, last_seen, running, days_running, landing_page; `running` holds as of `last_seen`, the last day a pull saw it); `sort: "longest_running"` lists those by the longest run, the usual proxy for an ad worth studying (it is not performance data). Paginate with the returned `nextCursor`; when the account's plan does not include every ad of a list, it stops at its first 20 ads, with no `nextCursor` and a `note` saying so. On a plan with every ad of a list, a page counts one call per 10 ads asked for against the allowance (`limit`: 50 counts 5), so ask for the page you need.

  • Get an ad get_ad

    One ad in full: copy, audiences, brand, niche, formats, its standard tags (visual formats, hook tactic, hook line, asset type, offer type, season, talent; null when not tagged yet), image URL, page URL, `run` (Meta start date, last day seen, running, days running, landing page) when the ad is tracked on Meta, `meta` beside it (platforms, button text, Meta format, variants, and `brand_median_run_days`, the median run of the brand's tracked ads, when it has at least 5; each only when the ad has it), and `why_it_works`: a short note on how the ad is built, the mechanism of its hook, format, offer and talent from its tags, plus its run when its brand kept it going a month or more (null when it has neither), never a claim about its results; and `breakdown` once the ad has been read (null before): `kind` (static, carousel or video), `units` (each layer, card or scene with its visual format, the first with the hook tactic, what it shows and the words on the creative, plus what is said in the first 3 seconds), `message` (problem, promise, ask, feel, tone), `traits`, `structure` and `structure_line`, `remix` (a fill-in script from the structure) and `provenance`. When the account's plan does not include ad breakdowns, the breakdown has `kind`, `message`, `traits` and `provenance`, with `units_omitted` (how many units) and a `note` naming the ad's page in place of the units, structure and remix. Lines said after the first 3 seconds come as `locked_lines` only on plans with transcripts; otherwise `locked_lines_omitted` says how many were left out. A breakdown says how the ad is built, never that it worked.

  • Get several ads get_ads

    Up to 10 ads in full in one call, each in the shape get_ad returns (copy, audiences, brand, niche, formats, standard tags, image URL, page URL, `run`, `meta`, `why_it_works`, `breakdown`). Use it instead of repeated get_ad calls when reading the ads a search or list returned: one round trip, though each ad counts as one call against the allowance. Ids the library lacks come back under `missing` (`malformed` for an item that is not an ad id at all), and the rest still return.

  • List brands list_brands

    Every brand in the library, optionally only one niche's. Each brand comes with updated: the day (YYYY-MM-DD) its Meta ads were last checked for new ones, or null when they have not been.

  • List niches list_niches

    Every niche (industry) ads are filed under.

  • List formats list_formats

    Every ad format (UGC, before/after, testimonial, …) ads are tagged with: the values of list_ads `format`. The standard visual formats are in list_visual_formats.

  • List visual formats list_visual_formats

    Every standard visual format (testimonial, screen recording, us vs them, …) that ads in the library carry, with a one-line description. An ad has up to three. Pass a slug to list_ads as `visual_format`.

  • List hook tactics list_hooks

    Every hook tactic (curiosity, social proof, myth busting, …) that ads in the library carry, with a one-line description: the device the first frame or the headline uses to earn attention. Pass a slug to list_ads as `hook`.

  • List my saved ads list_saved_ads

    The ads you saved on the site, newest first, then the competitor ads saved from brands you follow (`tracked_ads`). Each comes with your team's note on it and the boards it is on, with each board's note: the reader's own reasons for keeping it.

  • List new ads from brands I follow list_followed_ads

    The brands and Facebook pages you follow on the site, and their newest Meta ads, newest launch first: competitor ads as they go live. Each followed brand comes with its library slug when it has one (use it with list_ads for its filed ads) and its tracking page URL. Empty when the account follows nothing; the result then says where following is set up.