LeadDirect-MCP
Decodes Cloudflare-obfuscated email addresses found on websites, including data-cfemail and /cdn-cgi/l/email-protection patterns.
Searches DuckDuckGo to discover B2B companies matching a query and scrapes their websites for contact information such as emails and phone numbers.
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., "@LeadDirect-MCPFind 10 distributors for solar panel installers in Florida"
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.
LeadDirect-MCP
A local Model Context Protocol (MCP) tool, for Agentic Workflow that generates verified, direct B2B contacts while minimizing LLM token spend. Built specifically for Small Companies and Startups to run completely locally and privately.
LeadDirect connects your AI assistant directly to the web. It autonomously discovers company contacts, scrapes homepages, and decodes hidden data to extract direct employee email addresses (going beyond generic info@ or sales@ inboxes). Additionally, it captures key social media and communication linksโincluding LinkedIn, WhatsApp, Facebook, and Instagramโand verifies that the emails are active, all without expensive API subscriptions.
๐ ๏ธ Prerequisites
Before installing, you need a few basic tools installed on your computer:
Python (3.10+) โ The programming language this runs on.
Git for Windows/Mac โ Used to download this repository.
An MCP-Compatible AI Client โ You need an AI to command the scraper. Choose one:
Claude Desktop (Recommended for ease of use)
Cursor IDE (For developers)
Antigravity CLI (For local terminal users)
Related MCP server: @bingeljell/lead-gen-mcp
๐ Quick Start Guide
Open your terminal (Command Prompt or PowerShell on Windows, or Terminal on Mac/Linux) and run these commands:
git clone https://github.com/netizen4-bit/leaddirect-mcp
cd leaddirect-mcp
pip install -r requirements.txt๐ Connecting to your AI (MCP Client Configuration)
To let your AI use this scraper, you must tell it where this folder is located on your computer.
Add LeadDirect to your MCP client configuration file (e.g., claude_desktop_config.json):
โ ๏ธ IMPORTANT: You MUST replace the
argspath below with the exact location where you downloaded this folder on your computer.
{
"mcpServers": {
"leaddirect": {
"command": "python",
"args": ["C:\\YOUR\\EXACT\\PATH\\HERE\\leaddirect-mcp\\server.py"]
}
}
}(Example for Windows:
"C:\\Users\\YOUR_NAME\\Documents\\leaddirect-mcp\\server.py")(Example for Mac/Linux:
"/Users/YOUR_NAME/Documents/leaddirect-mcp/server.py")
๐ Project Structure
leaddirect-mcp/
โโโ server.py # The core Bridge. Connects the tools to your AI client.
โโโ agent.py # The Agent. Designed for Local LLM. Connects directly to local Ollama setups.
โโโ lead_hunter.py # The scraping engine (the tool) that executes web searches.
โโโ run_search.py # A manual terminal runner for testing outside of an AI environment.
โโโ requirements.txt # Python dependencies
โโโ README.md # Project documentation๐งฐ Tools Reference & Prompting
๐ง How to Structure High-Converting Prompts
Because LeadDirect operates autonomously, the quality of your leads depends on strict filtering instructions:
Target & Geography: The niche and specific country/region.
Local Language Keywords: Use local native terms for foreign markets (e.g.,
semi-remorque surbaissรฉefor France).Negative Constraints (Crucial): Explicitly list large global brands and aggregator portals to skip.
Qualification Rules: Specify that the site must sell physical products directly.
โ ๏ธ Pro-Tip: How to Get DIRECT Emails (Not just info@)
Because of spam, modern companies rarely put employee emails directly on their public websites.
Tool #1 (find_distributors) gathers public domain data. To get direct contacts, instruct your AI client to chain both tools in a two-step process:
The Chained Prompt Formula:
"I need 5 B2B contacts for [Niche Product] dealers in [Target Country].
Step 1: Use your search tool to find the companies. Skip big brands like [Giant Brand 1].
Step 2: Once you have the domains, use your
enrich_and_verify_contacttool on each domain to generate and test direct employee email permutations (e.g., first.last@domain.com, director@domain.com) so I get direct contacts, not just the generic info@ emails.Put the final results in a table, including their social media links."
๐ License
Distributed under the MIT License. See LICENSE for more information.
This server cannot be deployed
Maintenance
Related MCP Connectors
B2B lead generation, email verification, company enrichment, and agentic GTM Ops.
Find B2B leads with verified work emails, find and verify emails, and run cold email outreach.
Find B2B decision makers and verify work emails.
Lead enrichment plus AI-written cold emails in one run.
Related MCP Servers
- AlicenseAqualityDmaintenanceFinds and verifies business email addresses using DNS/SMTP verification and web scraping, with no external API costs.518 npm11MIT
- AlicenseBqualityDmaintenanceEnables AI-assisted B2B lead generation by discovering, extracting, scoring, and exporting company leads from any MCP-compatible agent.313 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables autonomous B2B lead enrichment through a waterfall cascade and technographic stack verification, producing structured output dossiers for AI agents and enterprise pipelines.8-
- AlicenseNot gradedqualityCmaintenanceEnables targeted B2B lead discovery, DNS MX deliverability verification, and extraction of web content into clean Markdown for AI agents.MIT