# Skip Trace PRO MCP Server — B2B Lead Gen & OSINT (`intelscrape/b2b-lead-generation-mcp`) Actor

The official Skip Trace PRO MCP Server. Connect Claude, Cursor, and custom AI agents to live business data. Instantly pull B2B leads, reverse phone lookups, email skip tracing, and UCC filings directly into your LLM's context window. The ultimate OSINT intelligence tool for AI.

- **URL**: https://apify.com/intelscrape/b2b-lead-generation-mcp.md
- **Developed by:** [IntelScrape](https://apify.com/intelscrape) (community)
- **Categories:** Agents, Lead generation, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![Skip Trace PRO MCP Server](https://files.catbox.moe/lyqvzz.png)

## Skip Trace PRO MCP Server — B2B Lead Gen & OSINT

The official **Model Context Protocol (MCP)** server by IntelScrape.

This Actor is not designed to be run manually through the Apify UI. Instead, it is a native tool integration that allows you to connect your AI Agents (like **Claude Desktop**, **Cursor**, **ChatGPT**, or custom RAG applications) directly to our most powerful enterprise data scrapers. 

By installing this MCP Server, your AI gains the ability to autonomously look up contact information, perform skip tracing, and pull commercial lead data in real-time while you chat with it.

---

### 🛠️ Available AI Tools

When you connect this server, your AI agent automatically gains the following capabilities:

1. **`run_skip_trace`**
Empowers your AI to perform Reverse Phone Lookups, Email Discovery, and People Search. 

2. **`run_google_maps_scraper`**
Empowers your AI to pull local business leads, websites, and phone numbers directly from Google Maps.

3. **`run_ucc_lead_scraper`**
Empowers your AI to pull MCA, B2B Equipment Finance, & Commercial Loan Leads from state registries.

4. **`run_business_license_scraper`**
Empowers your AI to extract newly registered business licenses for fresh, high-intent B2B leads.

5. **`run_building_permit_scraper`**
Empowers your AI to find newly issued construction permits and contractor contact information.

6. **`run_contact_info_scraper`**
Empowers your AI to deep-scan any website URL to extract employee emails and phone numbers.

---

### 🤖 How to Use With Your AI (Claude, ChatGPT, Grok, Cursor)

Because this server uses the open **Model Context Protocol**, it can be plugged into almost any modern AI system:

- **Claude Desktop:** The easiest way to start. Install the server in your `claude_desktop_config.json` (see instructions below), and Claude will get a "Tools" icon. You can simply chat with Claude and say *"Claude, find plumbers in Miami and get their emails"*, and Claude will autonomously run the tool and show you the results in the chat!
- **Cursor / Windsurf:** Add this MCP server in your Cursor settings to give your AI coding assistant the ability to scrape live data while writing scripts for you.
- **ChatGPT & Grok:** You can use platforms like [Smithery.ai](https://smithery.ai) or [Glama](https://glama.ai) to bridge this MCP server into a Custom GPT, or use agent frameworks like LangChain, CrewAI, or AutoGen to build custom multi-agent swarms that talk to each other and execute tasks.

#### 💰 How to Make Money With This

By giving your AI access to these tools, you can essentially build a **fully autonomous, hands-free marketing agency**.
1. **Automated B2B Outreach:** Have your AI search for businesses on Google Maps, extract their emails, and automatically draft personalized cold outreach emails offering your services (web design, SEO, marketing, etc).
2. **Lead Flipping:** Ask your AI to pull the newest UCC filings or Building Permits in your state, format them into a neat CSV, and sell that data directly to local contractors or lenders.
3. **Data Enrichment:** Use the `run_skip_trace` tool to take incomplete customer lists and magically find their real phone numbers and emails, providing a high-value data-enrichment service to real estate agents and investors.

#### ⚡ The All-In-One Setup & Agency Prompt (Copy & Paste)
If you use an AI coding assistant (like **Cursor**, **Windsurf**, or **Cline**), you don't have to do any manual setup! Just copy and paste this exact prompt into your AI. It will automatically walk you through getting your API key, configure the connection for you, and then start generating leads!

**Short Install Prompt (Just Setup):**
> **"Install the `intelscrape/b2b-lead-generation-mcp` MCP server into my Claude Desktop config using Apify CLI. Ask me for my API Token to put in the env."**

**Mega-Prompt (Setup + Run as Marketing Agency):**
> **"I want you to install the Skip Trace PRO MCP Server so you can extract business data for me. First, guide me step-by-step on where to find my Apify API Token inside the Apify Console. Once I provide you with my token, automatically locate my local MCP configuration file (like `claude_desktop_config.json`) and configure the new server named `intelscrape-b2b`. The command is `npx` and the args are `[\"-y\", \"apify-cli\", \"run\", \"intelscrape/b2b-lead-generation-mcp\"]`. Inject my token into the `env` object under `APIFY_TOKEN`. Once the installation is complete and I have restarted you, you will act as my elite autonomous marketing agency. You must ask me what specific industry and city I want to target (e.g., 'Roofers in Dallas'). Once I reply, autonomously use the `run_google_maps_scraper` tool to find 10 businesses, then use the `run_contact_info_scraper` tool to extract their emails, and finally draft highly personalized cold outreach emails offering my services."**

#### 🔧 Manual Setup (Claude Desktop)

If you prefer to install it manually:

1. You must have [Node.js](https://nodejs.org) installed on your computer.
2. You need your **Apify API Token** (Found in Apify Console -> Settings -> Integrations).

**Configuration:**
1. Open your Claude Desktop configuration file:
   - **Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`
   - **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
2. Add the `intelscrape-b2b` server configuration:

```json
{
  "mcpServers": {
    "intelscrape-b2b": {
      "command": "npx",
      "args": [
        "-y",
        "apify-cli",
        "run",
        "intelscrape/b2b-lead-generation-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN_HERE"
      }
    }
  }
}
````

3. Restart Claude Desktop. You should now see the tools loaded and ready to use!

***

### 🌟 Featured IntelScrape Bots

Looking for direct data extraction without an AI Agent? Check out our top-performing standalone scrapers on the Apify Store:

- 🕵️ **[Skip Trace PRO](https://apify.com/intelscrape/skip-trace-pro)**: The ultimate people search, email discovery, and reverse phone lookup tool.
- 🗺️ **[Google Maps Lead Generator](https://apify.com/intelscrape/google-maps-lead-generator)**: Extract local business leads, websites, and phone numbers directly from Google Maps.
- 🏦 **[UCC Financing Scraper](https://apify.com/intelscrape/ucc-financing-scraper)**: Pull commercial real estate, MCA, and equipment finance leads directly from state registries.
- 🏗️ **[Building Permit Scraper](https://apify.com/intelscrape/building-permit-scraper)**: Extract newly issued construction permits for high-intent contractor leads.
- 📧 **[Contact Info Scraper](https://apify.com/intelscrape/contact-info-scraper)**: Deep-scan company websites to extract employee emails and phone numbers.
- 🏢 **[Business License Scraper](https://apify.com/intelscrape/business-license-scraper)**: Pull newly registered business licenses for fresh B2B outreach.

***

### 🔒 Security & Usage

- **Bring Your Own Token:** This MCP server executes the scrapes on your behalf. You provide your own Apify Token, and you only pay standard Apify compute unit costs for the underlying runs.
- **Data Privacy:** Your data flows securely from Apify's enterprise infrastructure directly into your local agent's context window.

***

### ⭐ Support & Reviews

**Is this MCP Server saving you time or helping you close deals?**
If your AI agent successfully pulls data that helps your business, we would be incredibly grateful if you left us a **5-star review** on the Apify Store! ⭐⭐⭐⭐⭐

Your reviews help us keep these enterprise scrapers maintained, updated, and running smoothly.

*Built by IntelScrape — Enterprise Data Extraction & Automation.*

# Actor input Schema

## `apifyToken` (type: `string`):

Your Apify API Token to authenticate requests to the underlying actors. If left blank, it falls back to the environment variable.

## Actor input object example

```json
{}
```

# Actor output Schema

## `log` (type: `string`):

Log message from the MCP server

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("intelscrape/b2b-lead-generation-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("intelscrape/b2b-lead-generation-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call intelscrape/b2b-lead-generation-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=intelscrape/b2b-lead-generation-mcp",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Skip Trace PRO MCP Server — B2B Lead Gen & OSINT",
        "description": "The official Skip Trace PRO MCP Server. Connect Claude, Cursor, and custom AI agents to live business data. Instantly pull B2B leads, reverse phone lookups, email skip tracing, and UCC filings directly into your LLM's context window. The ultimate OSINT intelligence tool for AI.",
        "version": "1.0",
        "x-build-id": "0A4Cu3HecL5EvBhHX"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/intelscrape~b2b-lead-generation-mcp/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-intelscrape-b2b-lead-generation-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/intelscrape~b2b-lead-generation-mcp/runs": {
            "post": {
                "operationId": "runs-sync-intelscrape-b2b-lead-generation-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/intelscrape~b2b-lead-generation-mcp/run-sync": {
            "post": {
                "operationId": "run-sync-intelscrape-b2b-lead-generation-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "apifyToken": {
                        "title": "Apify API Token",
                        "type": "string",
                        "description": "Your Apify API Token to authenticate requests to the underlying actors. If left blank, it falls back to the environment variable."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
