[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Upspring Meta ad search](https://spiral.ai/integrations/claude-code/upspring-meta-ad-search)

# How to Use Upspring Meta ad search in Claude Code

Upspring Meta ad search finds ads matching a product idea or benefit, with hooks and creative labels. Use it to find examples for a brief such as prebiotic soda, then inspect the most relevant ads.

|  |  |
| --- | --- |
| Model | Upspring Meta ad search |
| Available through | Alexandria |
| Category | SEO |
| Price | Up to $0.087295 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Upspring Meta ad search in Claude Code

- Use Upspring Meta ad search for 'prebiotic soda gut health' and add the returned ad references and hooks to this project's research dataset.
- Use Upspring Meta ad search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Upspring Meta ad search and tell me what changed since last week.
- Check Upspring Meta ad search and summarize what you find in three bullet points.
- Pull the newest data from Upspring Meta ad search and give me the result as a table.

## How to set up Upspring Meta ad search in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Upspring Meta ad search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "upspring/ads/search",
    "input": {
      "q": "<q>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Upspring Meta ad search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Upspring Meta ad search tools and prices

- [Upspring · Search ads](https://spiral.ai/tools/alexandria/upspring/ads/search) (Alexandria): Up to $0.087295 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 100 | — | Ads per page, 1 to 100 (1 to 50 with include=descriptors). Default 25. |
| cursor |  | — | meta.next_cursor from the previous page, verbatim. Send the same filters with it; a cursor replayed with changed filters is refused. |
| funnel |  | — | Only ads with this funnel id (OR across values). Ids from taxonomy/vertical's dimensions. |
| include |  | — | Comma-separated: descriptors adds synopsis and long_form narration per ad (token-heavy); media adds durable {video_url, image_url, thumbnail_url, width, height}. |
| persona |  | — | Only ads with this persona id (OR across values). Ids from taxonomy/vertical's dimensions. |
| category |  | — | One category id within a vertical, from taxonomy/verticals. |

## What can you do with Upspring Meta ad search in Claude Code?

Build a creative research view that puts Meta ad hooks, offers, and category patterns beside your project's campaign briefs. A coding agent can turn Upspring results into tables and attach detailed ad references to proposed tests.

### Research a category before launch

For a prebiotic soda launch, compare category hook shares, collect current ads, search for gut-health messaging, inspect selected offers, and find related creative executions. Turn the references into a list of concepts to test.

### Build a hook reference library

Compare hook shares in skincare, collect examples for the most common patterns, search for specific benefits, and inspect related ads. Attach the opening line, persona, offer, and source ad to each reference.

### Prepare replacement creative concepts

Start with a MUD/WTR reference ad, inspect its promise, and find other executions of the angle. Add benefit searches and category hook comparisons to produce replacement concepts with specific ad references.

### Compare competitor positioning

Compare Poppi and OLIPOP through their current ads, category creative shares, benefit searches, detailed offers, and related executions. Identify messaging overlaps and propose distinct angles for testing.

### Check ad promises against landing pages

Collect ads for a product category or advertiser, shortlist those making a specific promise, and inspect the offer and landing page analysis. Use the findings to prepare a page review with an ad reference for each issue.

### Prepare a weekly creative review

Repeat category breakdowns, review current competitor ads, search recurring benefits, and inspect related executions. Compare the retrieved results with earlier reports to flag changes in messaging and creative mix.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Upspring Meta ad search in other agents

- [Amp](https://spiral.ai/integrations/amp/upspring-meta-ad-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/upspring-meta-ad-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/upspring-meta-ad-search)
- [Cline](https://spiral.ai/integrations/cline/upspring-meta-ad-search)
- [Codex](https://spiral.ai/integrations/codex/upspring-meta-ad-search)
- [Cursor](https://spiral.ai/integrations/cursor/upspring-meta-ad-search)
- [Devin](https://spiral.ai/integrations/devin/upspring-meta-ad-search)
- [dots](https://spiral.ai/integrations/dots/upspring-meta-ad-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/upspring-meta-ad-search)
- [Gemini](https://spiral.ai/integrations/gemini/upspring-meta-ad-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/upspring-meta-ad-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/upspring-meta-ad-search)
- [goose](https://spiral.ai/integrations/goose/upspring-meta-ad-search)
- [Grok](https://spiral.ai/integrations/grok/upspring-meta-ad-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/upspring-meta-ad-search)
- [Hermes](https://spiral.ai/integrations/hermes/upspring-meta-ad-search)
- [Instinct](https://spiral.ai/integrations/instinct/upspring-meta-ad-search)
- [Manus](https://spiral.ai/integrations/manus/upspring-meta-ad-search)
- [Muse](https://spiral.ai/integrations/muse/upspring-meta-ad-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/upspring-meta-ad-search)
- [n8n](https://spiral.ai/integrations/n8n/upspring-meta-ad-search)
- [Notion](https://spiral.ai/integrations/notion/upspring-meta-ad-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/upspring-meta-ad-search)
- [opencode](https://spiral.ai/integrations/opencode/upspring-meta-ad-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/upspring-meta-ad-search)
- [Raycast](https://spiral.ai/integrations/raycast/upspring-meta-ad-search)
- [VS Code](https://spiral.ai/integrations/vscode/upspring-meta-ad-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/upspring-meta-ad-search)
- [Zapier](https://spiral.ai/integrations/zapier/upspring-meta-ad-search)

## More Claude Code guides

- [Upspring Meta ad listings](https://spiral.ai/integrations/claude-code/upspring-meta-ad-listings)
- [Upspring ad classification vocabulary](https://spiral.ai/integrations/claude-code/upspring-ad-classification-vocabulary)
- [Upspring Meta ad details](https://spiral.ai/integrations/claude-code/upspring-meta-ad-details)
- [Upspring ad creative breakdown](https://spiral.ai/integrations/claude-code/upspring-ad-creative-breakdown)
- [TikTok company ads](https://spiral.ai/integrations/claude-code/tiktok-company-ads)
- [Upspring advertiser lookup by website](https://spiral.ai/integrations/claude-code/upspring-advertiser-lookup-by-website)

## Questions about Upspring Meta ad search in Claude Code

**Can Claude Code use Upspring Meta ad search?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Upspring Meta ad search like any built-in tool.

**How much does Upspring Meta ad search cost in Claude Code?**

Up to $0.087295 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use Upspring Meta ad search in Claude Code?**

No. Spiral runs Upspring Meta ad search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Upspring Meta ad search in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Upspring Meta ad search runs?**

Upspring Meta ad search runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Which advertising platform do these Upspring tools cover?**

These tools cover Meta ads, including labels for hooks, personas, and offers. Their documented scope supports Meta creative research.

**Does Upspring return current advertising data?**

Upspring describes its API as returning live data about what is running now. That statement does not specify a refresh interval for each advertiser.

**Does Upspring analyze the creative or just return ad metadata?**

Upspring transcribes audio, reads on-screen overlays, and parses copy and headlines into claims, offers, and formats. This provides text an agent can compare across ads.

**How does Upspring rank ads?**

Upspring says its ranking combines an internal model trained on millions of ads with third-party enrichment. Treat that ranking as a research signal when choosing ads to inspect.

**How many ads can I retrieve in a page?**

Search and browse return up to 100 ads per page, or up to 50 when descriptive analysis is included. The default page contains 25 ads.

