LeadMagic MCP server for AI agents

Live

API KEY

DATA ENRICHMENT

Marketing

LeadMagic gives your agent B2B data enrichment: find and validate work emails, look up mobile numbers and profiles, research companies, funding, and tech stacks, search job postings and ads, and run bulk enrichment jobs.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
LeadMagic
agent · Acme Q3
Run
Find the work email for Priya Shah at Northwind Analytics.
S
leadmagic_find_email
212ms
Enrichment agent
Priya Shah's work email at Northwind Analytics is priya.shah@northwind.io. LeadMagic marks it valid.
Sources: 1 email lookup
leadmagic
1 email
18:29
Message Claude...

Tools your enrichment agent reaches for on LeadMagic, scoped per user.

CALL ANY TOOL
72 tools for data enrichment in LeadMagic: find and validate emails, find mobiles and profiles, research companies and competitors, search jobs and ads, and run bulk jobs.
leadmagic_add_suppression_emails
Add suppression emails
Add email addresses to an existing suppression list. Emails are stored as SHA-256 hashes. Returns a success response. Use this to grow a list. Use leadmagic_create_suppression_list to start a new one.
Parameters
Name
Type
Required
Description
emails
array
Required
Email addresses to add to the list, for example ["bounced1@example.com"].
list_id
string
Required
Identifier of the suppression list, for example bounced-2026-q3.
leadmagic_create_suppression_list
List create suppression
leadmagic_detect_job_change
Detect job change
leadmagic_find_email
Find email
leadmagic_find_lookalike_companies
Find lookalike companies
leadmagic_find_personal_email
Find personal email
leadmagic_find_role
Find role
leadmagic_get_account_summary
Get account summary
leadmagic_get_bulk_capabilities
Get bulk capabilities
leadmagic_get_bulk_job_events
Get bulk job events
leadmagic_get_campaign_metrics
Get campaign metrics
leadmagic_get_company_technographics
Get company technographics
leadmagic_get_daily_metrics
Get daily metrics
leadmagic_get_job_search_catalogs
Get job search catalogs
leadmagic_get_product_usage
Get product usage
leadmagic_get_suppression_list
List get suppression
leadmagic_list_bulk_jobs
List bulk jobs
leadmagic_list_job_countries
List job countries
leadmagic_list_job_regions
List job regions
leadmagic_lookup_job_search_companies
Lookup job search companies
leadmagic_lookup_job_search_occupations
Lookup job search occupations
leadmagic_lookup_job_search_tags
Lookup job search tags
leadmagic_preview_batch_cost
Preview batch cost
leadmagic_remove_suppression_emails
Remove suppression emails
leadmagic_review_bulk_job
Review bulk job
leadmagic_search_b2b_ads
Search b2b ads
leadmagic_search_google_ads
Search google ads
leadmagic_search_meta_ads
Search meta ads
leadmagic_set_bulk_job_priority
Set bulk job priority
leadmagic_submit_bulk_job
Submit bulk job

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// LeadMagic tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["leadmagic"], toolNames: [
    "leadmagic_find_email",
    "leadmagic_validate_email",
    "leadmagic_get_company"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find and verify the work email for Priya Shah at northwind.io" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["leadmagic"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find and verify the work email for Priya Shah at northwind.io" }],
  tools,
});

// Execute the tool call with the user's vaulted LeadMagic API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["leadmagic"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find and verify the work email for Priya Shah at northwind.io" }],
  tools,
});

// Tool call runs with the user's vaulted LeadMagic API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["leadmagic"] }, pageSize: 100,
});

const agent = new Agent({
  name: "enrichment_agent",
  model: "gemini-2.5-pro",
  instruction: "LeadMagic tools scoped to this user",
  tools,
});

await agent.run("Find and verify the work email for Priya Shah at northwind.io");
Try these prompts
Copy any prompt into your agent. Each maps directly to a LeadMagic tool. Click to copy, paste into your agent, done.
People
Copy the prompt
Copied
Find the work email for Priya Shah at northwind.io.
Copy the prompt
Copied
Check whether jordan@acme.com is deliverable.
Copy the prompt
Copied
Has Sam Lee left Globex? Check for a job change.
Companies
Copy the prompt
Copied
Get the funding history for ramp.com.
Copy the prompt
Copied
Which technologies does linear.app use?
Copy the prompt
Copied
Find 10 companies similar to notion.so.
Bulk jobs and credits
Copy the prompt
Copied
How many LeadMagic credits do we have left?
Copy the prompt
Copied
Show the progress of my latest bulk enrichment job.
Copy the prompt
Copied
Estimate the credit cost of enriching these 200 emails before running it.
SEE HOW AUTH WORKS
Each user connects their own LeadMagic API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
LeadMagic
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
LeadMagic
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
LeadMagic
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
LeadMagic
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other sales and marketing data connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other sales and marketing data connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared LeadMagic API key looks fine in a demo. In production every email lookup and bulk job looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
LeadMagic today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access LeadMagic as the user or through a shared key?
As the user. Each user connects their own LeadMagic API key once, and Scalekit sends it with every call. Audit logs attribute every lookup, bulk job, and credit spend to that user, not a shared service account.
Where is the LeadMagic API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in LeadMagic?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the lookup and search tools without leadmagic_submit_bulk_job, which spends credits for every processed row, or leadmagic_delete_suppression_list, which cannot be undone. Scalekit also enforces scope checks before every API call.
What happens when a user revokes LeadMagic access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Do LeadMagic tools spend credits?
Many do. Lookups such as leadmagic_find_employees charge per result, and leadmagic_submit_batch and leadmagic_submit_bulk_job spend credits for each processed row. leadmagic_preview_batch_cost and leadmagic_validate_bulk_job check a job without spending credits, and leadmagic_get_credit_balance returns what the workspace has left.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""leadmagic"": {
""url"": ""https://mcp.scalekit.com/leadmagic"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.leadmagic]
url = ""https://mcp.scalekit.com/leadmagic""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""leadmagic"": {
""url"": ""https://mcp.scalekit.com/leadmagic"",
""type"": ""http""
}
}
}