Margo
Open menu

AI agent integrations

Bring prospect research into the agent you already use

Research prospects from your AI agent with Margo MCP. Connect your account, choose a source and territory, review credit costs, and inspect the evidence.

One Margo connection, useful prospect evidence

Margo gives your agent structured prospect research so you can decide which prospects deserve your selling time. Search local businesses, professionals, or Shopify stores where your account has access. Review observable fit, available contact details, source evidence and limitations before choosing a next step.

Use the remote MCP endpoint https://www.margoleads.io/mcp with an eligible Business account and verified email. Sign in to Margo in your browser and approve the requested permissions. You can disconnect the agent from Margo at any time. Research searches use your existing credits; connecting does not buy credits.

Claude Code

  1. 1Add the Margo HTTP server with the command below.
  2. 2Open /mcp in Claude Code, select Margo, and complete the browser sign-in and consent flow.
  3. 3Ask Claude to check Margo capabilities and your credits before requesting a prospect search.
claude mcp add --transport http margo https://www.margoleads.io/mcp

Codex

  1. 1Add the remote server, then start OAuth login with the commands below.
  2. 2Sign in to Margo and review the permissions in your browser.
  3. 3Use Margo tools in your Codex session to research prospects and inspect results.
codex mcp add margo --url https://www.margoleads.io/mcp
codex mcp login margo

ChatGPT

Custom app availability and administrator permissions depend on your ChatGPT account and workspace. This setup uses a custom connection; an app-directory listing is a separate distribution option.

  1. 1Where your ChatGPT account or workspace allows custom MCP apps, create a connection using https://www.margoleads.io/mcp.
  2. 2Choose OAuth authentication and dynamic client registration. Margo publishes the discovery endpoints automatically.
  3. 3Complete Margo sign-in and consent, then enable the connection in a conversation.

Start with a precise research question

The agent checks capabilities and quota, then starts a search with a stable request ID and an agreed maximum credit amount. It polls the same job until Margo returns a terminal result. Retrying that search keeps the same request ID.

Maps supports city research. LinkedIn and Shopify searches use country targeting; the agent must disclose any broader geography. Shopify availability depends on your account. Contact fields and source evidence can be missing, and results can be partial or empty.

Use Margo to check my capabilities and credits.
I want 10 dentists in London, GB, with no website.
Tell me the maximum credit cost before starting.
After I agree, research them and show the evidence and limitations.
Which prospects deserve my selling time, and what should I verify next?

Tools your agent can use

get_margo_capabilities

Read sources, availability, targeting limits, credit tariffs and research caveats.

get_usage_and_quota

Check current plan allowance and purchased credits.

search_leads

Create a durable research job with a stable requestId and maxCredits.

get_search_status

Retrieve results, terminal status, limitations and constraint coverage.

cancel_search

Stop a queued or running job. Already delivered research may remain billable.

Developer API keys and workflow automation

Clients that support bearer authentication can use an existing Margo API key in their secure credential settings. Keep keys out of prompts, source files and shared configuration. OAuth avoids copying a key for supported interactive clients.

n8n remains useful for scheduled workflows and downstream routing through its HTTP Request nodes. Use the REST API and polling example when the workflow calls for that automation.

Configure n8n HTTP requestsRead the API manifest

Frequently asked questions

Does connecting an agent cost credits?

Connecting, checking capabilities and reading job status do not start paid research. A search uses credits under your current Margo policy, with the maximum cost checked before execution.

Will Margo send messages to prospects?

These MCP tools research prospects. They do not send outreach or establish confirmed buying intent, budget, authority or timing.

Can I disconnect an agent?

Yes. Open Connected AI agents in Margo and disconnect its OAuth grant. API keys are managed separately in your account settings.

Illustration of prospect evidence connected to an AI workflow

Try now

Get verified leads without the manual work.

Try now
Connect Margo to Claude Code, ChatGPT and Codex