Skip to main content
Glama
outreach-prospector-mcp

outreach-prospector-mcp

README.md
# `outreach-prospector-mcp` — Zero-Cost Waterfall Enrichment, 6-ATS Scanner & Pre-Send Gate MCP Server

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Python 3.9+](https://img.shields.io/badge/Python-3.9%2B-3776AB.svg)](https://www.python.org/)
[![MCP: Stdio JSON-RPC 2.0](https://img.shields.io/badge/MCP-Stdio%20JSON--RPC%202.0-8A2BE2)](https://modelcontextprotocol.io)
[![andrew4522-cr/outreach-prospector-mcp MCP server](https://glama.ai/mcp/servers/andrew4522-cr/outreach-prospector-mcp/badges/score.svg)](https://glama.ai/mcp/servers/andrew4522-cr/outreach-prospector-mcp)

> **Enterprise B2B & Executive Prospecting without the $500/mo SaaS bloat.** A zero-dependency Model Context Protocol (MCP) server combining clean Markdown web scraping, live 6-ATS job board discovery, 4-stage executive waterfall enrichment, and hard pre-send quality gates.

Built by **Andrew Anderson** ([BridgingTheAIGap.com](https://www.bridgingtheaigap.com)).

---

## Architecture Overview

```mermaid
flowchart TD
    A["MCP Client (Claude Desktop / Cursor / Antigravity)"] -->|JSON-RPC 2.0 Stdio| B["outreach-prospector-mcp v1.3.0"]
    B --> C["1. scrape_clean_markdown"]
    B --> D["2. scan_live_ats_career_ops"]
    B --> E["3. find_decision_maker"]
    B --> F["4. draft_outreach_email"]
    B --> G["5. prepare_linkedin_outreach_for_approval"]
    B --> H["6. validate_outreach_payload"]
    C --> C1["Firecrawl API -> Free Jina Reader -> HTML Fallback"]
    D --> D1["Greenhouse + Ashby + Lever + Workable + SmartRecruiters + Recruitee"]
    E --> E1["Stage 1: Apollo -> Stage 2: Snov -> Stage 3: Web/LinkedIn Exec -> Stage 4: Hunter"]
    F --> F1["Single-Angle X -> Y -> Z Email Drafts (Zero Em-Dashes / Placeholders)"]
    G --> G1["Approval-Gated LinkedIn Outreach Queue"]
    H --> H1["Blocks 75+ Generic Aliases, Unreplaced {braces}, & Headline Mismatches"]
```

---

## Key Features (6-Tool End-to-End Pipeline)

### 1. Clean Markdown Web & ATS Scraper (`scrape_clean_markdown`)
- Renders JS-heavy Next.js/React career pages, company `/about` pages, and ATS postings into clean, LLM-ready Markdown.
- Automatic 3-tier waterfall: **Firecrawl API** (if `FIRECRAWL_API_KEY` set) $\rightarrow$ **100% Free Jina Reader (`r.jina.ai`)** $\rightarrow$ **Direct HTML-to-Markdown fallback**.

### 2. Live 6-ATS Public API Scanner (`scan_live_ats_career_ops`)
- Directly queries the public JSON posting APIs of **6 major Applicant Tracking Systems** with zero paid API keys required:
  - **Greenhouse** (`boards-api.greenhouse.io`)
  - **Ashby** (`api.ashbyhq.com`)
  - **Lever** (`api.lever.co`)
  - **Workable** (`apply.workable.com/api/v3`)
  - **SmartRecruiters** (`api.smartrecruiters.com`)
  - **Recruitee** (`*.recruitee.com/api/offers`)
- Includes live search discovery to find newly posted roles outside static company slug lists and automatically classifies roles into single-angle tracks (`AI`, `MARKETING`, `OPERATIONS`).

### 3. 4-Stage Executive Waterfall Enrichment (`find_decision_maker`)
- **Stage 1:** Apollo.io People Search & Match API (`APOLLO_API_KEY`).
- **Stage 2:** Snov.io Domain Prospect Search (`SNOV_CLIENT_ID` / `SNOV_CLIENT_SECRET`), automatically rejecting `invalid` and `not_verified` guesses.
- **Stage 3:** Web & LinkedIn Named Executive Discovery (`discover_executives_from_web`) across `/about`, `/team`, and search indexes, chained into Hunter.io / Snov Name-to-Email resolution.
- **Strict Role Hygiene:** Automatically excludes board chairmen, non-executive directors, podcast hosts, career coaches, legal counsel, and former employees (`ex-`, `former`).

### 4. Single-Angle Email Outreach Composer (`draft_outreach_email`)
- Generates tailored single-angle (`AI`, `MARKETING`, or `OPERATIONS`) B2B and executive outreach email subjects and bodies using the `X -> Y -> Z` impact framework.
- Automatically enforces `extract_safe_first_name`, `clean_company_name`, zero em-dashes, and pre-validates the generated draft through `validate_outreach_payload`.

### 5. Approval-Gated LinkedIn Outreach Stager (`prepare_linkedin_outreach_for_approval`)
- Stages tailored single-angle LinkedIn outreach drafts in `PENDING_APPROVAL` state with verified `linkedin.com/in/` URLs and headline-to-company token alignment before any message is dispatched.

### 6. Hard Pre-Send Quality Gates (`validate_outreach_payload`)
- **75+ Generic Inbox Blocklist:** Blocks `info@`, `careers@`, `talent@`, `support@`, `dataprotection@`, `press@`, `tellmemore@`, and leading HTML unicode escape artifacts (`u003e`).
- **Zero Unreplaced Placeholders:** Blocks any outbound payload containing raw `{first_name}` or `{{company}}` braces.
- **Headline-to-Company Verification:** Verifies extracted company tokens across all headline separators (`at`, `@`, `-`, `–`, `|`) before sending any LinkedIn DM.

---

## Installation

```bash
pip install git+https://github.com/andrew4522-cr/outreach-prospector-mcp.git
```

Or clone locally:
```bash
git clone https://github.com/andrew4522-cr/outreach-prospector-mcp.git
cd outreach-prospector-mcp
pip install -e .
```

---

## MCP Client Configuration (Claude Desktop / Cursor / Antigravity)

Add to your `mcp_config.json` or `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "outreach_prospector": {
      "command": "outreach-prospector-mcp",
      "env": {
        "APOLLO_API_KEY": "optional_apollo_key",
        "SNOV_CLIENT_ID": "optional_snov_id",
        "SNOV_CLIENT_SECRET": "optional_snov_secret",
        "FIRECRAWL_API_KEY": "optional_firecrawl_key"
      }
    }
  }
}
```

---

## Standalone CLI Usage

```bash
# 1. Scrape any URL into clean Markdown (zero API keys required)
outreach-prospector-mcp --scrape "https://stripe.com/jobs"

# 2. Scan live Greenhouse, Ashby, Lever, Workable, SmartRecruiters & Recruitee boards
outreach-prospector-mcp --scan-ats

# 3. Run 4-stage waterfall decision-maker discovery for a target company
outreach-prospector-mcp --waterfall "ElevenLabs" "elevenlabs.io"
```

---

## Running Tests

```bash
python -m unittest discover -s tests -v
```

---

## License

MIT License © 2026 [Andrew Anderson](https://www.bridgingtheaigap.com)

TDQS

A4.5/5.0

Scored across 6 tools

Disambiguation5/5

Each tool occupies a distinct pipeline stage: multi-board ATS discovery, single-URL scraping, contact enrichment, email drafting, LinkedIn staging, and payload validation. Descriptions explicitly state use/don't-use boundaries and cross-reference the correct alternative tool, leaving little room for misselection. The only near-overlap (draft_outreach_email vs validate_outreach_payload) is explicitly addressed by telling the caller to use the draft tool when generation+validation in one step is desired.

Naming Consistency4/5

All names are snake_case with a leading verb (scan_, scrape_, find_, draft_, prepare_, validate_) followed by a resource, so the pattern is predictable. Minor deviations: names vary wildly in length and specificity (scan_live_ats_career_ops vs validate_outreach_payload), and some verbs are near-synonyms (scan/scrape, find/prepare).

Tool Count5/5

Six tools map cleanly onto a logical workflow: discover (2), enrich (1), generate (2), gate (1). Every tool earns its place with no redundant or filler operations, and the count stays well within the comfortable 3–15 range.

Completeness4/5

The surface covers the full read-only prospecting lifecycle—job discovery, page scraping, contact resolution, email/LinkedIn copy generation, and a pre-send quality gate—with no obvious dead ends. Gaps are minor and largely deliberate: there is no sending, no persistence/CRM tracking of prospects, and no bulk/batch validation of multiple payloads at once.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues