LeadMagic

by leadmagic

Not rated
GitHub

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

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:
- 🌐 Visit
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

🏒 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 from
leadmagic.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

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.