- Home
- MCP servers
- LeadMagic
LeadMagic
- typescript
5
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"leadmagic-leadmagic-mcp": {
"command": "npx",
"args": [
"leadmagic-mcp-server"
],
"env": {
"LEADMAGIC_API_KEY": "YOUR_API_KEY"
}
}
}
}You harness LeadMagic’s MCP Server to access 19 powerful B2B data-enrichment tools through the Model Context Protocol. It provides zero-configuration setup, secure access to LeadMagic endpoints, and seamless integration with Claude, Cursor, Windsurf, and other MCP-compatible AI tools. This guide shows you how to install, run, and use the MCP server with your preferred MCP client.
How to use
You run the MCP server locally or in your environment and connect your MCP client to it. The server exposes the LeadMagic data sources and actions as MCP-compatible endpoints, allowing you to perform profile searches, funding insights, email discovery, job intelligence, advertising intelligence, and more from your AI toolchain. Use natural-language prompts in your client to trigger the available tools, for example to find emails, search company profiles, validate emails, or retrieve funding data.
How to install
Prerequisites: Node.js 18+ and an active LeadMagic API key.
# Interactive installer (recommended)
npx leadmagic-mcp-server install
If you prefer manual setup, you can run the MCP server directly with your API key.
LEADMAGIC_API_KEY=your-api-key npx leadmagic-mcp-server
Additional notes
Optionally, you can run the installer with an explicit manual setup path during the interactive flow to copy configuration snippets for your client settings.
Before first use, obtain your API key from your LeadMagic dashboard and paste it when prompted during installation or run.
Security and best practices
Keep API keys in environment variables. Do not hard-code keys in code. Use type-safe requests with validation and handle errors gracefully. Respect rate limits and use secure defaults for production deployments.
Development and testing
If you develop locally, clone the project, install dependencies, provide your API key in a .env file, and run the development server. Use the MCP inspector to test all tools and verify end-to-end behavior.
Available tools
get_credits
Check your remaining API credits.
validate_email
Validate email deliverability and retrieve related company information.
find_email
Find verified emails by name and company.
search_profile
Retrieve full B2B profile details with high-rate support.
search_company
Query companies by domain, name, or profile URL.
find_mobile
Find mobile numbers from profiles or emails.
email_to_profile
Obtain B2B profile URLs from work emails.
get_company_funding
Get funding information, financials, and competitors.
find_personal_email
Search for personal emails associated with B2B profiles.
social_to_work_email
Find work emails from social profiles.
find_jobs
Search job postings with advanced filters.
find_role
Find specific roles within companies.
find_employees
Identify employees at specified companies.
get_job_countries
List available job search countries.
get_job_types
List available job types for filtering.
search_google_ads
Search Google Ads by company.
search_meta_ads
Search Meta Ads (Facebook/Instagram) by company.
search_b2b_ads
Search B2B advertising campaigns.
get_b2b_ad_details
Retrieve detailed B2B ad information.