Skip to content
LocalICPDocs
ProductDataPricingDevelopers
Sign inStart free
Guides
OverviewErrors and limits
Endpoints
Campaigns6Results and leads5Bulk runs6Account6
Integrations
MCP serverWebhooks

MCP server

Let an AI assistant plan, run and read campaigns over the Model Context Protocol. It uses the same API key, plan limits and credits as the REST API.

Connect

Server URL
https://mcp.localicp.com/mcp
Authentication

Send an API key as a bearer token. Clients that sign in instead use OAuth: dynamic client registration and the authorization code flow with PKCE (S256), with refresh-token rotation and revocation.

Authorization: Bearer YOUR_API_KEY

Plans
API keys are part of the Growth and Agency plans. Create a key in Settings

Add it to a CLI

One command each. Every one was run against the server and showed it connected. Replace YOUR_API_KEY with your key.

Claude Code
claude mcp add --transport http --scope user \
  localicp https://mcp.localicp.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
Codex CLI
export LOCALICP_API_KEY=YOUR_API_KEY
codex mcp add localicp \
  --url https://mcp.localicp.com/mcp \
  --bearer-token-env-var LOCALICP_API_KEY
Gemini CLI
gemini mcp add --transport http --scope user \
  localicp https://mcp.localicp.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Tools

18 tools in three groups. An assistant is told to show the estimate and ask before it runs anything that spends credits.

ToolWhat it doesCredits
Campaigns
plan_campaignTurn a plain-language request into a campaign draft with its fields, qualifier, target and cost.No credits
estimate_campaignQuote a saved campaign, optionally at a new target count.No credits
run_campaignStart a drafted campaign. It runs in the background.Spends credits
get_campaignA campaign's status, live progress, lead count, usage and any shortfall.
list_campaignsThe account's campaigns, newest first, with filters and paging.
get_campaign_leadsOne page of a campaign's results, with where each field came from.
cancel_campaignStop a running campaign. Leads found so far are kept.
rename_campaignGive a campaign a new name.
Bulk runs
create_bulk_runCreate a draft bulk run from a list of Google Maps searches, with its budget and estimate.No credits
run_bulk_runStart a draft bulk run. It runs in the background.Spends credits
get_bulk_runA bulk run's status, queries done, results so far and budget.
list_bulk_runsThe account's bulk runs, newest first.
cancel_bulk_runStop a running bulk run. Results found so far are kept.
rename_bulk_runGive a bulk run a new name; its leads are relabelled too.
Leads and account
search_leadsSearch every lead across campaigns and bulk runs, deduplicated, with filters and paging.
get_leadEverything about one lead: contacts, verified emails, decision makers, signals, pitches and photos.
get_lead_reviewsSaved Google reviews for one lead, when the campaign collected them.
get_accountThe account's email, plan and credit balance.
© 2026 LocalICPDevelopersOpenAPIPrivacyTerms