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: Prospector 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.
Autonomous LinkedIn SDR β voice-matched outreach, ICP generation, and campaign management.
- SalesQLOAuthcom.salesql
Find verified B2B emails and phone numbers; search and enrich people and companies for prospecting.
Autonomous B2B lead prospecting β 36 tools for campaigns, leads, and email outreach.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables scraping of emails, phone numbers, and social profile links from website domains. Supports batch processing of up to 20 domains and can find company websites by keyword/company name.2MIT
- AlicenseAqualityDmaintenanceFinds and verifies business email addresses using DNS/SMTP verification and web scraping, with no external API costs.51111MIT
- AlicenseBqualityDmaintenanceEnables AI-assisted B2B lead generation by discovering, extracting, scoring, and exporting company leads from any MCP-compatible agent.315MIT
- 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-