LeadMagic MCP Server
Enables searching Facebook Ads as part of Meta's advertising platform for competitive analysis and ad intelligence.
Enables searching and analyzing Google Ads campaigns by company, providing access to advertising intelligence data.
Enables searching Instagram Ads as part of Meta's advertising platform for competitive analysis and ad intelligence.
Enables searching and analyzing Meta (Facebook/Instagram) Ads and B2B advertising campaigns, providing detailed ad information and competitive intelligence.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LeadMagic MCP Server find email addresses for sales managers at Salesforce"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LeadMagic MCP Server: Local B2B Data Enrichment Tools
A TypeScript stdio MCP server that connects AI clients to a subset of the LeadMagic B2B enrichment API. It provides 19 tools for email discovery and validation, people and company enrichment, job research, advertising data, and credits.
LeadMagic B2B enrichment · MCP setup guide · Pricing and credits
For the current hosted experience, use LeadMagic hosted MCP at https://mcp.leadmagic.io/mcp with OAuth. The Cursor plugin and Claude Code plugin configure that service.
Local installation
Use this package when your client needs a local stdio process and you intend to manage a REST API key. It does not provide the hosted server's complete search, bulk, or OAuth feature set.
npm ci --ignore-scripts
npm run build
# Set LEADMAGIC_API_KEY securely in your shell or secret manager first.
node dist/index.jsConfigure your MCP client to launch node with the absolute path to dist/index.js and provide LEADMAGIC_API_KEY through the client's secret or environment mechanism. Do not commit literal keys. Source changes here do not update already published npm packages.
Related MCP server: Enrich Layer MCP Server
API behavior
REST calls use
https://api.leadmagic.io, documented/v1/routes, andX-API-Key.Credits use
GET /v1/creditsand consume no credits.HTTP failures are returned as errors; redirects are rejected to avoid forwarding credentials.
Diagnostics go to stderr and omit API-key fragments and upstream error payloads.
Requests time out after 30 seconds by default. Paid requests are not automatically retried.
Email Finder returns validated work emails. Validate externally sourced emails separately.
See API documentation and credit costs. Tool and package changes should be tested with a small, authorized sample before production use.
Development
npm ci --ignore-scripts
npm run validate
npm testTests use a mocked HTTP adapter and do not consume credits.
Security and support
Report vulnerabilities privately to security@leadmagic.io. Use GitHub issues for sanitized bug reports. Never include keys, request headers, or customer data.
MIT licensed.
Public examples and publication
Examples are fictional unless an explicit public source is cited. See PUBLICATION.md for data, claims, attribution, and disclosure requirements.
Related LeadMagic projects
License and contributions
MIT license · Third-party materials and contribution policy. Reuse is allowed under the license; changes to this repository require maintainer review.
Available Tools
19 toolsemail_to_profileEmail to B2B ProfileB
Find B2B profile URL using work email address. Reverse lookup functionality to discover professional profiles from email addresses.
Inputs: work_email (required).
find_emailEmail FinderB
Find verified email address based on a person's name and company. Combines multiple data sources to locate professional email addresses with high accuracy.
Inputs: last_name (required), first_name (required), domain, company_name.
find_employeesEmployee FinderC
Find employees of a specific company. Discover team members, their roles, and contact information within target organizations. Supports pagination for large companies.
Inputs: company_name (required), limit.
find_jobsJobs FinderC
Search for job postings based on various criteria including company, title, location, and experience level. Supports pagination and advanced filtering for comprehensive job market research.
Inputs: page, location, per_page, job_title, +5 more.
find_mobileMobile FinderC
Find mobile phone numbers using profile URL, work email, or personal email. Discover direct contact numbers for better outreach and communication.
Inputs: work_email, profile_url, personal_email.
find_personal_emailPersonal Email FinderA
Find personal email addresses from B2B profile URLs. Useful for reaching contacts through their personal channels when professional emails are not available.
Inputs: profile_url (required).
find_roleRole FinderC
Find specific roles/positions within a company. Targeted search for particular job titles or functions within organizations.
Inputs: job_title (required), company_name, company_domain, company_profile_url.
get_b2b_ad_detailsB2B Ad DetailsB
Get detailed information about a specific B2B ad including campaign information, creative details, and performance insights.
Inputs: ad_url (required).
get_company_fundingCompany FundingC
Get comprehensive funding information, financials, competitors, and company insights. Essential for investment research, competitive analysis, and business intelligence.
Inputs: company_name, company_domain.
get_creditsGet API CreditsA
Check the number of available API credits for your LeadMagic account. Essential for monitoring usage and planning API calls.
Inputs: no named parameters.
get_job_countriesGet Job CountriesA
Retrieve list of available countries for job filtering. Essential reference data for geographic job searches and market analysis.
Inputs: no named parameters.
get_job_typesGet Job TypesA
Retrieve list of available job types for filtering. Reference data for categorizing and filtering job searches by employment type.
Inputs: no named parameters.
search_b2b_adsB2B Ads SearchC
Search for B2B Ads based on company's domain or name. Analyze business-to-business advertising campaigns and professional marketing strategies.
Inputs: company_name, company_domain.
search_companyCompany SearchB
Search for detailed company information using domain, name, or profile URL. Provides comprehensive business intelligence including employee count, locations, industry details, and company metadata.
Inputs: profile_url, company_name, company_domain.
search_google_adsGoogle Ads SearchC
Search for Google Ads based on company's domain or name. Analyze competitor advertising strategies, creative content, and campaign insights.
Inputs: company_name, company_domain.
search_meta_adsMeta Ads SearchC
Search for Meta (Facebook/Instagram) Ads based on company's domain or name. Discover social media advertising strategies and creative campaigns.
Inputs: company_name, company_domain.
search_profileProfile SearchB
Get full profile details from B2B profile URL (e.g., LinkedIn). Extracts comprehensive professional information including work history, education, and company details. Rate limit: 300 requests/minute.
Inputs: profile_url (required).
validate_emailEmail ValidationB
Validate an email address for deliverability and retrieve associated company information. Provides detailed analysis of email validity, MX records, and catch-all detection.
Inputs: email (required), last_name, first_name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Tools have largely distinct purposes, with clear input/output differences between email lookup variants, profile lookups, company search, and ad searches. A few related tools (find_email vs. social_to_work_email, search_company vs. get_company_funding) could be confused at a glance, but descriptions provide enough separation.
Most names follow a predictable snake_case verb_noun pattern (find_email, search_company, get_credits). Minor deviations like social_to_work_email and email_to_profile are still descriptive and snake_case, but break the verb-first convention slightly.
With 19 tools spanning email enrichment, profiles, companies, jobs, and ads, the count is slightly heavy but reasonable for the platform's breadth. Each tool appears to own a distinct operation rather than duplicating another.
The surface covers core B2B lead generation workflows: validation, email finding, profile/company lookup, jobs, mobile numbers, and ad intelligence. Minor gaps exist, such as detail endpoints only for B2B ads rather than Google/Meta ads, but agents can still complete most workflows.
Maintenance
Related MCP Connectors
Research B2B accounts, enrich contacts, and clean and enrich your LeadMagic sheets through OAuth.
People, company, job and LinkedIn post data, plus email finding and verification.
Search and enrich B2B companies and people: verified work emails, US phone numbers, job postings.
B2B people search, AI lead scoring and work-email lookup. 15 tools.
Related MCP Servers
AlicenseAqualityCmaintenanceEnables AI tools to search and enrich B2B leads, including finding professional emails, company profiles, and filtering people and companies by various criteria.5482 npmMIT- AlicenseAqualityDmaintenanceProvides 25 tools to enrich company, person, contact, school, and job data via the Enrich Layer API, enabling lookups, profiles, and contact discovery.2518 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables B2B lead intelligence through seven tools for company lookup, domain enrichment, person search, email finding, and startup discovery, accessible via MCP for AI agents.-
- AlicenseNot gradedqualityCmaintenanceEnables agents to search and enrich B2B companies and people, find verified work emails and US phone numbers, search job postings, and consult live documentation, exposing one tool per API endpoint.1MIT
social_to_work_emailB2B Social to EmailB
Find work email addresses from B2B profile URLs. Converts social profile information into professional email contacts.
Inputs: profile_url (required).