Run LinkedIn Ads from Claude Code
Manage LinkedIn Ads campaigns inside Claude Code (CLI) — 28 tools, OAuth setup in about 60 seconds, no dashboard switching.
15 tool calls / month free · No credit card · Setup in ~2 minutes
Adspirer is the MCP server that connects Claude Code (CLI) to your LinkedIn Ads ad accounts, turning campaign management into a chat conversation. Anthropic Claude Code in your terminal — perfect for engineering teams that script ad ops. On the platform side, 28 tools cover sponsored Content, Lead Gen Forms, Conversation & Message Ads. Adspirer reads and writes — pull performance reports, audit launch sponsored content campaigns, launch new campaigns, pause underperformers, and reallocate budget — all from chat. New campaigns are always created paused so you can review before they go live, Adspirer cannot delete existing campaigns by design, and the free tier (15 tool calls / month, no credit card) is enough to run a full audit before you pay. Setup takes about 60 seconds via one CLI command.
What you can do
28 tools across LinkedIn Ads. The eight you'll use most:
Launch Sponsored Content campaigns
Build LinkedIn image and carousel campaigns from a brief — Adspirer pulls your company page, validates creatives, and creates the campaign **paused** so you review before going live.
Target by job title & seniority
`search_linkedin_targeting` covers all 19 LinkedIn facets: job titles, functions, seniority, industries, company size, skills, groups, schools, and more. Target decision-makers, not students.
Research B2B audiences from a competitor
Feed `research_business_for_linkedin_targeting` a competitor name (e.g., HubSpot) and Adspirer suggests the job titles, industries, and seniority levels that match their customer base.
Pull cost-per-lead by campaign
`get_linkedin_campaign_performance` returns spend, clicks, conversions, and CPL by campaign or campaign group — perfect for the "which campaigns are below my $75 CPL target?" prompt.
Refresh creative on live ads
`add_linkedin_creative`, `add_linkedin_carousel_creative`, and `update_linkedin_creative` let you rotate copy and imagery on running campaigns without recreating them.
Pause & resume campaigns
Pause campaigns or ad groups by name from chat, resume them later. Adspirer **cannot delete** existing campaigns — and if a creation fails mid-flow, it auto-archives the orphan to prevent duplicates on retry.
Reallocate budget by CPL
`optimize_linkedin_budget` recommends shifts toward your lowest-CPL campaigns. You confirm before any budget update — Adspirer never raises spend without an explicit "yes".
Track conversions & lead events
`manage_linkedin_conversions` sets up and tracks conversion events — form fills, downloads, demo requests — so optimization runs against real lead signal, not just clicks.
Campaign types you can launch
Every LinkedIn Ads format Adspirer supports — request one in chat and Claude Code builds the campaign paused for review.
Sponsored Content (Image)
Single-image sponsored posts in the LinkedIn feed. The most common B2B format — strong for thought leadership and demo CTAs.
Sponsored Content (Carousel)
Multi-card carousel posts in feed. Great for breaking down a multi-step product story or showcasing case studies.
Lead Gen Forms
On-platform forms pre-filled with LinkedIn profile data. Higher completion rates than off-platform landing pages.
ABM (Account-Based)
Target specific company names — perfect for account-based marketing programs against a named-account list.
Campaign Groups
Organize multiple campaigns under one group with shared budget and naming. `add_linkedin_campaign_to_group` adds new audiences without recreating the structure.
Sample prompts
Claude Code shines on multi-step agent tasks — drop a brief, walk away, get a report.
LinkedIn performance audit — CPL-focused audit that surfaces underperforming campaigns against your B2B target.
B2B targeting research — Builds a tight B2B targeting spec with audience-size sanity check.
Competitor-based targeting — Reverse-engineers a competitor's ICP into a ready-to-use targeting spec.
Launch a sponsored content campaign — End-to-end Sponsored Content campaign with B2B targeting and validation.
Optimize budget across campaign group — CPL-driven budget reallocation within a single campaign group.
Diagnose a CPL spike — Anomaly diagnosis on a single campaign with a clear before/after CPL.
Who this is for
Real workflows from people running LinkedIn Ads through Claude Code.
In-house growth marketer running LinkedIn Ads solo
Each Monday, ask Claude Code to pull last week's LinkedIn Ads performance, surface campaigns running below your ROAS threshold, and recommend creative refreshes for fatigued ads.
Outcome: Replaces a 60–90 minute manual review with a 5-minute chat, and surfaces problems before they tank ad-set performance.
Agency account manager handling 5+ LinkedIn Ads accounts
Switch context between client accounts in chat. Run the same audit prompt across each, paste the chat into your weekly client report. Multi-account is built in — no extra seats per account.
Outcome: Cuts cross-account reporting from a half-day per account to ~10 minutes total.
Founder launching their first LinkedIn Ads campaign
Brief Claude Code in plain English with budget, audience, and creative URL. Claude Code validates inputs against LinkedIn Ads's requirements, builds the campaign paused, and walks you through what to review before launching.
Outcome: No need to learn LinkedIn Ads's dashboard UI; campaign goes live correctly the first time.
Adspirer vs alternatives
For running LinkedIn Ads from Claude Code.
| Capability | Adspirer (this page) | DIY MCP server | Legacy SaaS dashboard |
|---|---|---|---|
| Setup time | ~60 seconds via one CLI command | 2–4 hours building MCP server | 30–60 min onboarding + sales call |
| Cost — entry tier | Free (15 calls / mo) | Hosting + maintenance | $200–500 / mo minimum |
| Works inside Claude Code | Yes — one CLI command | Yes (if you build it correctly) | No — external dashboard only |
| Multi-account | Yes — switch in chat | Manual per-account auth | Yes — but each account billed |
| Read + Write | Full read + write (create / pause / update) | Whatever you build | Mostly read-only or seat-gated writes |
| Safety: cannot delete | Hard-coded — no delete tool | Up to you | Varies |
| Pricing transparency | Public — $0 / $49 / $99 / $199 | Self-hosted | Often quote-only |
Pricing
Start free. Upgrade if you outgrow it.
How it works
From sign-up to your first launched campaign in three steps.
Connect
Paste the Adspirer MCP URL into Claude Code, complete OAuth in your browser, and link your LinkedIn Ads account. About 2 minutes.
Manage
Ask Claude Code for an audit, launch a new campaign, pause underperformers, or pull a report. Adspirer handles the 28 LinkedIn Ads tools behind the scenes.
Scale
Switch between accounts in chat, run the same audit across clients, and let agency SOPs live in your AI assistant — no extra dashboard logins.
Frequently asked questions
About running LinkedIn Ads from Claude Code.
Connect Claude Code to Adspirer
For technical readers — the exact steps. Most users finish this in about 2 minutes. Required: Claude API access (or Claude.ai Pro / Max).
Add Adspirer to Claude Code
Run in your terminal:
claude mcp add --transport http adspirer https://mcp.adspirer.com/mcp Authenticate
Claude Code launches your browser for OAuth. Sign in to Adspirer and link your ad accounts.
Verify
Run claude and ask: Check my connected ad platforms. Tools should now appear in the available-tools list.
Related integrations
Same Claude Code, different platform — or same LinkedIn Ads, different AI client.
Claude Code × other platforms
LinkedIn Ads × other AI clients
- ChatGPT × LinkedIn Ads →
- Claude × LinkedIn Ads →
- Cursor × LinkedIn Ads →
- Codex CLI × LinkedIn Ads →
- Windsurf × LinkedIn Ads →
- Gemini CLI × LinkedIn Ads →
- OpenClaw × LinkedIn Ads soon
- Manus × LinkedIn Ads soon
Go deeper
Ready to connect Claude Code to LinkedIn Ads?
Start free — 15 tool calls per month, no credit card. Setup takes about 2 minutes.
Try Adspirer freeLast updated April 28, 2026.