Skip to content

Connect Gemini CLIto winning ads

Gemini CLI can search 92,128+ winning Facebook and Instagram ads through the Ad Swipe File MCP server. Pull real Facebook and Instagram ads into briefs, research files and copy, from your terminal.

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

Run in your terminal

Then run /mcp auth adswipefile in Gemini CLI and sign in.

Ask in plain words,
get real ads back

Name a product, a niche, a format or a brand. Gemini CLI searches, reads the ads it finds and writes from them, with a link to each one.

Example: Gemini CLI asks Ad Swipe File which ads ran longest and gets real ads back.

Gemini CLI · adswipefile connected

Find three long-running ads in my niche and write their hooks into briefs/research.md.

  • CUUP: 1,538 days running, live
  • Tooletries: 1,277 days running, live
  • smol: 1,237 days running, live

How Gemini CLI connects

Three steps, from Gemini CLI's own documentation. Nothing to install on our side.

  1. Run one command

    It registers https://adswipefile.com/api/mcp as an MCP server in Gemini CLI. Or paste the setup prompt and Gemini CLI runs it itself.

  2. Sign in once

    Gemini CLI opens Ad Swipe File in your browser. Sign in with your account (Pro, Agency or their trial) and approve: Gemini CLI can then read the library, and your saved ads, follows and boards.

  3. Ask in plain words

    Give Gemini CLI a task that needs ads: it searches the library and writes them into briefs, research files or copy, with links.

What Gemini CLI can do with real ads

It searches 92,128+ Facebook and Instagram ads and links every one it cites.

Find ads, then read them in full

  • Search by product, brand, niche or format
  • Read any ad in full: its copy, hook and format
  • See the ads a brand runs, newest or longest-running first
A woman with curly blonde hair is shown from the chest up, wearing a white bra and matching underwear. She is leaning against a window with sunlight streaming in, casting a warm glow. White text overlaid on the image reads "Bras Made to Fit, D-H Cups." The overall image conveys a sense of comfort and style, highlighting the product's availability in a range of sizes.
Live since Aug 24, 2022
1,538 days
CUUP
Three black crew socks are arranged in a staggered formation against a plain grey background. The socks are ribbed and have the white text 'AYBL' printed vertically on the cuff of each sock. The text overlay on the image reads 'AYBL 🤝 Menswear. Premium fits and fabrics, be the first to shop AYBL Men.' The creative showcases the product and announces the launch of a new menswear line.
Live since Oct 5, 2023
1,131 days
AYBL

Keep what you find

Save ads and note why they are worth keeping. Put ads on boards and share a board by link.

A studio-lit portrait of a male model wearing a black hooded sweatshirt with quilted side panels. The model is centered against a plain, light-colored background, looking directly at the camera. The image focuses on the design and texture of the garment.
Live since Nov 1, 2024
745 days
SSENSE

Watch competitors

Follow brands and see their new ads every week. List the newest ads of every brand you follow.

46 tools behind every answer

Your agent picks the right one for the question. They read the library, and change only your own saves, boards and follows, when you ask.

Building on it? Every tool, with its arguments

Read the library · 23

  • search_librarySearch the library
  • list_adsList ads
  • get_brandGet a brand's profile
  • list_brand_activityGet what a brand changed each week
  • get_nicheGet a niche in brief
  • get_hookGet a hook tactic in brief
  • get_adGet an ad
  • get_adsGet several ads
  • list_brandsList brands
  • list_nichesList niches
  • list_formatsList formats
  • list_visual_formatsList visual formats
  • get_formatGet a visual format's guide
  • list_hooksList hook tactics
  • get_trendsGet a niche's trends
  • get_brand_by_domainFind a brand by its website
  • find_similar_adsFind similar ads
  • list_briefsList my briefs
  • get_briefRead a brief
  • get_my_brandRead my own brand
  • list_workspacesList my workspaces
  • switch_workspaceSwitch workspace
  • list_brief_versionsList a brief's versions

Read your account · 6

  • list_saved_adsList my saved ads
  • list_followed_adsList new ads from brands I follow
  • list_boardsList my boards
  • list_followed_brandsList the brands I follow
  • get_usageCheck my remaining calls
  • submit_feedbackSend feedback to the team

Keep what you find · 17

  • follow_brandFollow a brand
  • unfollow_brandStop following a brand
  • create_boardCreate a board
  • delete_boardDelete a board
  • share_boardShare a board by link
  • unshare_boardTurn off a board's share link
  • add_ad_to_boardAdd an ad to a board
  • save_adSave an ad
  • unsave_adUnsave an ad
  • set_ad_noteWrite a note on a saved ad
  • rename_boardRename a board
  • remove_ad_from_boardRemove an ad from a board
  • write_briefWrite a brief
  • set_brief_statusSet a brief's status
  • set_brief_propertiesSet a brief's properties
  • restore_brief_versionRestore a brief's version
  • update_my_brandUpdate my own brand
7-day trial
200 calls a day
Pro · $39 a month
10,000 a month
Agency · $99 a month
50,000 a month

One allowance for MCP and the API, shared by your team. Without a plan, a 20-call preview with the first 10 ads of each list.

See plans

Prompts to try

Once it's connected, paste one into Gemini CLI.

Using Ad Swipe File, pull 10 recent Healthcare ads and write research/healthcare-ads.md: one row per ad with brand, format, hook and link.
Search Ad Swipe File for "buy one get one" offers and draft three versions of our checkout banner copy, each citing the ad it learns from.
List the ads I saved on Ad Swipe File and export them to saved-ads.json with brand, hook and URL.

On Pro, Agency or their 7-day free trial, your agent reads every ad of every list, taken apart layer by layer.

Written for the agent itself

Setup steps your agent can follow. Agents can also read llms.txt and skill.md.

If you are an AI agent setting up Ad Swipe File for your user:

1. Add the MCP server https://adswipefile.com/api/mcp (streamable HTTP, OAuth).
   Run in your terminal:
     gemini mcp add --transport http adswipefile https://adswipefile.com/api/mcp
   Then run /mcp auth adswipefile in Gemini CLI and sign in.
2. When the browser opens, ask your user to sign in to Ad Swipe File (Pro, Agency or their 7-day free trial) and approve.
3. Check the connection: call list_niches.
4. For an idea or a product, start with search_library. For a niche, brand or format, use list_ads with its slug. Read one ad with get_ad, or several with get_ads (one round trip).
5. Link each ad's page URL when you cite it. The library holds no spend or results data.

Before you connect

Setup, the trial and what your agent can change, answered.

Can Gemini CLI search Facebook and Instagram ads?

Yes, through the Ad Swipe File MCP server (adswipefile.com/api/mcp). Connected, Gemini CLI searches 92,128+ winning Facebook and Instagram ads by brand, niche, format and hook, reads each ad's copy and how it is built, and links every ad it cites. It searches this library, not Meta's live Ad Library. It comes with Pro, Agency and their 7-day free trial.

How do I add Ad Swipe File to Gemini CLI?

Run in your terminal: gemini mcp add --transport http adswipefile https://adswipefile.com/api/mcp. Then run /mcp auth adswipefile in Gemini CLI and sign in. Or paste the setup prompt into Gemini CLI and it adds the server itself.

Is Gemini CLI still around?

Google replaced Gemini CLI with Antigravity CLI on June 18, 2026 for free and Google One accounts. On those, follow the Antigravity steps.

Where do these steps come from?

From Gemini CLI's own documentation (geminicli.com/docs/tools/mcp-server), checked November 2026. If Gemini CLI has moved a menu since, any setting that adds a remote MCP server by URL works: the server URL is adswipefile.com/api/mcp.

Is it free?

For 7 days. Pro and Agency each start with a 7-day free trial that includes the MCP server, every ad and 200 calls a day. A card is required, nothing is charged until day 8, and the trial is once per team. After it, Pro includes 10,000 MCP/API calls a month and Agency 50,000 MCP/API calls a month.

Can my agent change anything?

Only your own saved ads, follows and boards, and only when you ask: it can save an ad and note why, follow or unfollow a brand, create, rename or delete a board, share it by link and put ads on it. Everything else it reads. It cannot post, buy or touch an ad account.

Where do the ads come from?

Ad Swipe File is a curated collection of 92,128+ real Facebook and Instagram ads, filed by brand, niche and format. It is not a live feed of Meta's Ad Library, and it holds no spend or performance data.

Which other ad libraries have an MCP server?

Add Ad Swipe File to Gemini CLI

7-day free trial, 200 calls a day. Then 10,000 a month on Pro.

Start for free

7-day free trial. Cancel anytime.