LeadBrew MCP Server
Enables AI assistants to search and retrieve B2B leads and company data from the LeadBrew database, including contact details and company information.
README
LeadBrew MCP Server
<p align="center"> <img src="https://leadbrew.co/assets/images/logo.png" alt="LeadBrew" width="200"> </p>
<p align="center"> <strong>Access millions of B2B leads directly from your AI coding assistant</strong> </p>
<p align="center"> <a href="#quick-start">Quick Start</a> • <a href="#supported-assistants">Supported Assistants</a> • <a href="#available-tools">Tools</a> • <a href="#examples">Examples</a> • <a href="#api-reference">API Reference</a> </p>
LeadBrew MCP Server is a Model Context Protocol server that gives AI coding assistants access to the LeadBrew B2B lead database. Search for leads, get contact information, and find companies—all through natural language.
Features
- Millions of B2B Leads - Access verified business contacts with emails and phone numbers
- Company Database - Search companies by industry, size, and location
- Real-time Search - Find leads by name, title, company, or industry
- Free Tier - 100 leads/day included with every account
- Works Everywhere - Compatible with Claude Code, Cursor, Windsurf, and more
Quick Start
1. Get Your API Credentials
- Sign up at leadbrew.co
- Go to Settings → API Access
- Click Generate API Key
- Save your
API KeyandAPI Secret
2. Install the MCP Server
# Clone the repository
git clone https://github.com/FlatNineOrg/leadbrew-mcp.git
cd leadbrew-mcp
# Install dependencies
npm install
# Build the server
npm run build
3. Configure Your AI Assistant
See configuration instructions for your specific assistant.
Supported Assistants
Claude Code (Anthropic)
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"leadbrew": {
"command": "node",
"args": ["/path/to/leadbrew-mcp/dist/index.js"],
"env": {
"LEADBREW_API_KEY": "lb_your_api_key_here",
"LEADBREW_API_SECRET": "your_api_secret_here"
}
}
}
}
Cursor
Add to your Cursor MCP settings (Settings → MCP Servers):
{
"leadbrew": {
"command": "node",
"args": ["/path/to/leadbrew-mcp/dist/index.js"],
"env": {
"LEADBREW_API_KEY": "lb_your_api_key_here",
"LEADBREW_API_SECRET": "your_api_secret_here"
}
}
}
Windsurf
Add to your Windsurf configuration:
{
"mcpServers": {
"leadbrew": {
"command": "node",
"args": ["/path/to/leadbrew-mcp/dist/index.js"],
"env": {
"LEADBREW_API_KEY": "lb_your_api_key_here",
"LEADBREW_API_SECRET": "your_api_secret_here"
}
}
}
}
Cline / Roo Code
Add to your VS Code settings:
{
"cline.mcpServers": {
"leadbrew": {
"command": "node",
"args": ["/path/to/leadbrew-mcp/dist/index.js"],
"env": {
"LEADBREW_API_KEY": "lb_your_api_key_here",
"LEADBREW_API_SECRET": "your_api_secret_here"
}
}
}
}
OpenAI Codex / ChatGPT
For OpenAI-based assistants, use the REST API directly. See REST API examples.
Available Tools
| Tool | Description |
|---|---|
leadbrew_search_leads |
Search for leads by name, company, industry, position, country |
leadbrew_get_lead |
Get full lead details including emails and phone numbers |
leadbrew_search_companies |
Search for companies by name, industry, size |
leadbrew_get_company |
Get company details with employee list |
leadbrew_usage |
Check your API quota and usage statistics |
Examples
Finding Decision Makers
You: Find CTOs at fintech companies in New York
AI: [Searches using leadbrew_search_leads]
Found 156 leads matching your criteria:
**John Smith**
Position: Chief Technology Officer
Company: PayFlow Inc (Fintech)
Country: US
LinkedIn: https://linkedin.com/in/johnsmith
Lead ID: TGVhZGJyZXdtaWtlXzEyMzQ1
**Sarah Johnson**
Position: CTO
Company: BlockPay Solutions (Fintech)
Country: US
LinkedIn: https://linkedin.com/in/sarahjohnson
Lead ID: TGVhZGJyZXdtaWtlXzY3ODkw
... and 154 more results
Getting Contact Information
You: Get the contact details for John Smith
AI: [Uses leadbrew_get_lead with the lead ID]
**John Smith**
Position: Chief Technology Officer
Company: PayFlow Inc (Fintech)
Country: US
LinkedIn: https://linkedin.com/in/johnsmith
Emails:
- john.smith@payflow.com
- jsmith@payflow.io
Phones:
- +1 (555) 123-4567
Building a Lead List
You: Find 10 marketing directors at SaaS companies with 50-200 employees
AI: [Searches with position="Marketing Director", industry="SaaS", min_size=50, max_size=200]
Found 89 leads. Here are the first 10:
1. **Emily Chen** - Marketing Director at CloudMetrics (Software/SaaS)
2. **Michael Brown** - Director of Marketing at DataSync Pro (SaaS)
3. **Jessica Williams** - Marketing Director at AppFlow Systems (SaaS)
...
Researching Companies
You: Tell me about Stripe's team
AI: [Uses leadbrew_get_company with include_employees=true]
**Stripe**
Website: stripe.com
Industry: Financial Technology
Size: 8,000+ employees
LinkedIn: https://linkedin.com/company/stripe
Employees in database: 234
Sample employees:
- Patrick Collison (CEO)
- John Collison (President)
- Claire Hughes Johnson (COO)
- David Singleton (CTO)
- Dhivya Suryadevara (CFO)
Checking Your Quota
You: How many leads do I have left today?
AI: [Uses leadbrew_usage]
**LeadBrew API Usage**
Today's Usage:
Leads used: 45/100
Leads remaining: 55
Requests made: 12
Last 7 Days:
Total leads: 312
Total requests: 89
Tool Reference
leadbrew_search_leads
Search for B2B leads with various filters.
Parameters:
| Parameter | Type | Description |
|---|---|---|
q |
string | Search query for lead name |
company |
string | Filter by company name |
industry |
string | Filter by industry |
position |
string | Filter by job title |
country |
string | Country code (US, UK, DE, etc.) |
limit |
number | Results per page (1-25) |
page |
number | Page number |
leadbrew_get_lead
Get detailed information about a specific lead.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Lead ID from search results |
Returns: Full lead profile including emails and phone numbers.
leadbrew_search_companies
Search for companies in the database.
Parameters:
| Parameter | Type | Description |
|---|---|---|
q |
string | Company name search |
industry |
string | Filter by industry |
country |
string | Country code |
min_size |
number | Minimum employee count |
max_size |
number | Maximum employee count |
limit |
number | Results per page (1-25) |
page |
number | Page number |
leadbrew_get_company
Get company details with optional employee list.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Company ID or LinkedIn handle |
include_employees |
boolean | No | Include employee list |
leadbrew_usage
Check your API usage and quota.
Parameters:
| Parameter | Type | Description |
|---|---|---|
days |
number | Days of history (1-90) |
Rate Limits
| Limit | Value |
|---|---|
| Daily lead quota | 100 leads |
| Max per request | 25 leads |
| Company searches | Unlimited |
| Rate limit reset | Midnight UTC |
REST API
You can also use the LeadBrew REST API directly:
curl -X GET "https://leadbrew.co/api/v1/leads?q=john&industry=Technology&limit=10" \
-H "X-API-Key: lb_your_api_key" \
-H "X-API-Secret: your_api_secret"
See examples/rest-api.md for more REST API examples.
Troubleshooting
"API credentials not configured"
Make sure your environment variables are set correctly:
LEADBREW_API_KEYshould start withlb_LEADBREW_API_SECRETshould be 64 characters
"Rate limit exceeded"
You've used your daily quota of 100 leads. The limit resets at midnight UTC.
"Invalid API credentials"
Check that:
- Your API key is active (not revoked)
- The key and secret match
- No extra spaces in your configuration
Support
- Documentation: leadbrew.co/api-docs
- Issues: GitHub Issues
- Email: support@leadbrew.co
License
MIT License - See LICENSE for details.
<p align="center"> Made with ❤️ by <a href="https://leadbrew.co">LeadBrew</a> </p>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。