LeadMagic
About
Access LeadMagic's B2B data enrichment API suite for email finding, profile enrichment, and company intelligence.
Details
- Author
- leadmagic
- Categories
- Search, Knowledge Base, Other
- Tags
- #web-research
Jump to
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Fetch, convert, and search AWS documentation pages, with recommendations for related content.
Search campgrounds around the world on campertunity, check availability, and provide booking links.
The Ferryhopper MCP Server exposes ferry routes, schedules and booking redirects so an AI assistant can discover connections across Europe and the Mediterranean and send users to Ferryhopper to complete bookings.
All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.
MCP server that provides read-only access to HyperKitty, the web-based email archive component of Mailman 3.
At Sunrise Apps, we believe AI agents should be limitless, especially when it comes to visual data. We created ImageSorcery to bridge the critical gap in AI's ability to interact with and manipulate images directly, all while upholding the highest standards of privacy and security.
Just Domain is the domain registrar for businesses built with AI. Its remote MCP server checks availability and returns first-year and renewal pricing, plus a link to register on justdomain.ai, with DNS and WHOIS privacy in the same place. No account, no API key, read only. Endpoint: https://mcp.justdomain.ai/
Research tools, including a Sqlite-backed document stash
Semantic search over 9 free-license stock photo sources. Hosted remote server with OAuth β no API key to paste.
SerpApi MCP Server for Google and other search engine results](https://github.com/LeadMagic/leadmagic-openapi)
Option 1 Interactive Installer Recommended
The easiest way to get started - works onmacOS,Windows, andLinux. Our new interactive installer, built with React and Ink, makes setup a breeze.
# π₯ Using npx (no installation required) npx leadmagic-mcp-server install
- β
Validate your API keyin real-time and show your remaining credits.
- β
Automatically detect and configure your preferred AI tool (Claude, Cursor, VS Code, etc.).
- β
Create all necessary config files and a local.envfor development.
- β
Provide usage examples and helpful links.
If you prefer manual setup or are using a client likeAider, you can add the server configuration directly to your client's settings file. The interactive installer provides copy-pasteable snippets for this.
Run the installer and choose the "Other (Manual Setup)" option:
- π Visit](#-updates--changelog)[LeadMagic Dashboard
- π Sign up for free (if needed)
- π Generate your API key
- π Paste it into the interactive installer when prompted.
You can use the server without installing, which is great for quick tests or containerized environments:
# π Run directly with your API key LEADMAGIC_API_KEY=your-key npx leadmagic-mcp-server # π Run the interactive installer npx leadmagic-mcp-server install # β Check available commands npx leadmagic-mcp-server --help
- π³get_credits- Check API credit balance
- β
validate_email- Validate email deliverability and get company info
- π§find_email- Find verified email addresses by name and company
β‘ The Ultimate Model Context Protocol Server for B2B Data Enrichment
Seamlessly integrate LeadMagic's complete API suite with Claude, Cursor, Windsurf, and all MCP-compatible AI tools
π― 19 Powerful Tools β’ π₯ Zero Configuration β’ β‘ One-Line Setup β’ π‘οΈ Enterprise Security
- π Super Easy Installation
- π οΈ Available Tools
- π‘ Usage Examples
- π Supported MCP Clients
- π§ Development Setup
- ποΈ Architecture
- π API Reference
- π Security & Best Practices
- π― Installation Matrix
- π€ Support & Resources
- π License
- πββοΈ Contributing
- π Updates & Changelog
π―Access all 19 LeadMagic API endpoints through the Model Context Protocol for seamless integration with Claude, Cursor, Windsurf, Continue.dev, and other MCP-compatible AI tools.
β‘ Option 1: Interactive Installer (Recommended)
The easiest way to get started - works onmacOS,Windows, andLinux. Our new interactive installer, built with React and Ink, makes setup a breeze.
# π₯ Using npx (no installation required) npx leadmagic-mcp-server install
- β
Validate your API keyin real-time and show your remaining credits.
- β
Automatically detect and configure your preferred AI tool (Claude, Cursor, VS Code, etc.).
- β
Create all necessary config files and a local.envfor development.
- β
Provide usage examples and helpful links.
If you prefer manual setup or are using a client likeAider, you can add the server configuration directly to your client's settings file. The interactive installer provides copy-pasteable snippets for this.
Run the installer and choose the "Other (Manual Setup)" option:
- π VisitLeadMagic Dashboard
- π Sign up for free (if needed)
- π Generate your API key
- π Paste it into the interactive installer when prompted.
You can use the server without installing, which is great for quick tests or containerized environments:
# π Run directly with your API key LEADMAGIC_API_KEY=your-key npx leadmagic-mcp-server # π Run the interactive installer npx leadmagic-mcp-server install # β Check available commands npx leadmagic-mcp-server --help
- π³get_credits- Check API credit balance
- β
validate_email- Validate email deliverability and get company info
- π§find_email- Find verified email addresses by name and company
π’ Profile & Company Intelligence (5 tools)
- π€search_profile- Get full B2B profile details (300 req/min)
- πsearch_company- Search companies by domain, name, or profile URL
- π±find_mobile- Find mobile phone numbers from profiles/emails
- πemail_to_profile- Find B2B profile URLs from work emails
- π°get_company_funding- Get funding, financials, and competitor data
- π¨find_personal_email- Find personal emails from B2B profiles
- πsocial_to_work_email- Find work emails from social profiles
πΌ Job & Employee Intelligence (5 tools)
- πfind_jobs- Search job postings with advanced filters
- πfind_role- Find specific roles within companies
- π₯find_employees- Find employees of specific companies
- πget_job_countries- Get available job search countries
- πget_job_types- Get available job types for filtering
- πsearch_google_ads- Search Google Ads by company
- πsearch_meta_ads- Search Meta (Facebook/Instagram) Ads
- πsearch_b2b_ads- Search B2B advertising campaigns
- πget_b2b_ad_details- Get detailed B2B ad information
Once installed, you can use natural language commands in your AI tool:
"Find the email for John Doe at Microsoft" "Validate the email john@acme.com" "Find personal email for B2B profile https://linkedin.com/in/johndoe"
"Search for Tesla company information" "Get funding information for Stripe" "Find employees at OpenAI who work in engineering"
"Find software engineer jobs at tech companies" "Search for product manager roles in San Francisco" "Find mobile number for this B2B profile"
"Search for Google Ads from competitor.com" "Find Meta ads for company XYZ" "Get B2B advertising campaigns for stripe.com"
- π¦ Node.js 18.0.0 or higher
- π LeadMagic API key fromleadmagic.io
# π₯ Clone the repository git clone https://github.com/LeadMagic/leadmagic-mcp.git cd leadmagic-mcp # π¦ Install dependencies npm install # π Create environment file echo "LEADMAGIC_API_KEY=your-api-key-here" > .env # π Start development server npm run dev # ποΈ Build for production npm run build # β
Run validation npm run validate
# π Start the MCP inspector npm run inspector # π Open the provided URL in your browser to test all tools
- β‘Runtime: Node.js 18+
- πLanguage: TypeScript with strict type checking
- πMCP SDK: @modelcontextprotocol/sdk v1.0.0+
- πHTTP Client: Axios with comprehensive error handling
- β
Validation: Zod schemas for all API inputs/outputs
- π§Development: ESLint, Prettier, Jest for testing
βββ src/ β βββ index.ts # π Main entry point and CLI command handling β βββ server.ts # π MCP server implementation with all 19 tools β βββ client.ts # π LeadMagic API client wrapper β βββ types.ts # π TypeScript types and Zod schemas β βββ install.tsx # π¨ The new interactive installer (React/Ink) βββ dist/ # π¦ Compiled JavaScript output βββ .env.example # π Environment configuration example βββ README.md # π This file
All fields use snake_case(matching LeadMagic API):
{ "first_name": "John", "company_name": "Acme Corp", "email_status": "valid" }
- π€Profile Search: 300 requests/minute
- πOther endpoints: Standard rate limits apply
Consistent error format across all endpoints:
{ "error": "Bad Request", "message": "API key is missing or invalid." }
β
No API keys in code- Always use environment variables
β
Type-safe requests- Full TypeScript coverage with Zod validation
β
Error handling- Comprehensive error catching and user-friendly messages
β
Rate limiting- Respects LeadMagic API rate limits
β
Secure defaults- Production-ready configuration out of the box
β
Interactive installer- No manual config file editing required
Choose your installation method based on your setup:
- πAPI Documentation:docs.leadmagic.io
- πOfficial Website:leadmagic.io
- πDashboard:app.leadmagic.io
- πSupport:support@leadmagic.io
- πIssues:GitHub Issues
- π¬Community:Join our Discord
- πSource Code:GitHub Repository
MIT License - see theLICENSEfile for details.
We welcome contributions! Here's how to get started:
- π΄ Fork the repository
- πΏ Create a feature branch:git checkout -b feature/new-feature
- β¨ Make your changes and add tests
- β
Run validation:npm run validate
- πΎ Commit your changes:git commit -am 'Add new feature'
- π€ Push to the branch:git push origin feature/new-feature
- π Submit a pull request
- π Clear description of the issue
- π Steps to reproduce
- π» Your environment details
- π Expected vs actual behavior
- π Clear description of the feature
- π― Use case and benefits
- π Any implementation ideas
- π¨ Redesigned README with professional and impactful header
- π¦ Enhanced package.json with better description and keywords
- π― Improved branding and visual presentation
- π§ Documentation polish and terminology consistency
- π·οΈ Added enhanced badges with security verification
- π Overall professional presentation improvements
- β¨ Interactive installer for all major AI tools
- β
Support for Claude Desktop, Cursor, Windsurf, Continue.dev, VS Code, Zed
- π§ All 19 LeadMagic API endpoints implemented
- π― Zero-config npx usage
- π Enhanced security and error handling
- π Comprehensive documentation
π Built with theofficial LeadMagic OpenAPI specificationfor 100% API accuracy
π Star us on GitHub β’ π Report Issues β’ π‘ Request Features
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Fetch, convert, and search AWS documentation pages, with recommendations for related content.
Search campgrounds around the world on campertunity, check availability, and provide booking links.
The Ferryhopper MCP Server exposes ferry routes, schedules and booking redirects so an AI assistant can discover connections across Europe and the Mediterranean and send users to Ferryhopper to complete bookings.
All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.
MCP server that provides read-only access to HyperKitty, the web-based email archive component of Mailman 3.
At Sunrise Apps, we believe AI agents should be limitless, especially when it comes to visual data. We created ImageSorcery to bridge the critical gap in AI's ability to interact with and manipulate images directly, all while upholding the highest standards of privacy and security.
Just Domain is the domain registrar for businesses built with AI. Its remote MCP server checks availability and returns first-year and renewal pricing, plus a link to register on justdomain.ai, with DNS and WHOIS privacy in the same place. No account, no API key, read only. Endpoint: https://mcp.justdomain.ai/
Research tools, including a Sqlite-backed document stash
Semantic search over 9 free-license stock photo sources. Hosted remote server with OAuth β no API key to paste.
SerpApi MCP Server for Google and other search engine results
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




