Lead Leak Check
LocalAbout Lead Leak Check
Lead Leak Check is an offline MCP server that identifies where inbound leads may be lost in automation pipelines. It turns pipeline descriptions or run-history exports into ranked risks and concrete fixes for teams using Zapier, Make, or n8n.
Key features
- 01Score pipeline lead-loss risks
- 02Analyze plain-language pipeline descriptions
- 03Review CSV run histories
- 04Rank findings and suggest fixes
- 05List 15 checks in an MCP resource
Use cases
- 01Find unassigned leads in an automation flow
- 02Spot filters or inactive workflows that drop leads
- 03Review run history for failures and gaps
MCP support
Exposes tools to check pipeline configurations or descriptions and analyze run-history CSV files. The `leakcheck://rules` resource lists the checks and their explanations and fixes; analysis runs offline without data leaving the machine.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMElead-leak-check (MCP server)
Find where inbound leads are silently dropped between the first touch and the first human reply.
Your Zapier, Make or n8n runs say Success. The lead still never hears back: nobody owned the reply, a filter stopped on an empty field, the workflow was switched off for a day, or an AI draft sat unsent. lead-leak-check turns a description of your lead pipeline into a ranked list of those risks, each with a concrete fix.
Tools
| Tool | Input | Output |
|---|---|---|
check_pipeline | JSON config of your pipeline (sources, storage, routing, response, monitoring…) | Risk score 0–100 and findings ranked high / medium / low / verify |
check_pipeline_description | Plain English, e.g. "Typeform and WhatsApp go to Google Sheets via Zapier, nobody is assigned" | Same report, plus how the text was interpreted |
analyze_run_history | CSV export of run history (status column, optional timestamp) | Failed and filtered runs, long gaps with no runs, stale workflows |
Resource: leakcheck://rules lists all 15 rules with their explanation and fix.
Anything you don't describe is reported as verify, never as safe. No network calls, no data leaves your machine.
Install
git clone https://github.com/paopao-studio-ai/lead-leak-check-mcp && cd lead-leak-check-mcp
pip install . # Python 3.10+, works with mcp 1.x and 2.x
One-click bundle (MCPB)
Download lead-leak-check-mcp-0.1.0.mcpb from the latest release and open it in Claude Desktop (or any MCPB-aware client). Needs uv; dependencies install automatically.
Claude Desktop / Cursor / any MCP client
{
"mcpServers": {
"lead-leak-check": { "command": "lead-leak-check-mcp" }
}
}
Without installing: {"command": "python", "args": ["-m", "lead_leak_check.server"], "env": {"PYTHONPATH": "/path/to/lead-leak-check-mcp/src"}}
Command line
lead-leak-check check examples/pipeline.json
lead-leak-check describe "WhatsApp leads land in Google Sheets via Make.com. Nobody is assigned."
lead-leak-check history examples/run_history.csv --interval 30
lead-leak-check --json check examples/pipeline.json
Config shape (all keys optional)
{
"name": "Typeform -> Google Sheets -> Slack #sales",
"sources": [{ "type": "web_form", "required_contact_field": false }, { "type": "whatsapp", "logged_to_storage": false }],
"storage": { "type": "google_sheets", "dedupe": false },
"routing": { "owner_assignment": "none", "after_hours_coverage": false },
"response": { "sla_minutes": 30, "auto_ack": true, "ai_drafts": true, "human_send_step": false },
"monitoring": { "error_alerts": false, "unanswered_lead_alert": false, "run_history_review": "never" },
"automation": { "platform": "zapier", "plan": "free" },
"timezone": { "business_tz": "America/New_York", "automation_tz": "UTC" },
"follow_up": { "sequence": false }
}
Example output (top of the report for the config above):
# Lead leak risk: Typeform -> Google Sheets -> Slack #sales
Risk score: **100/100** (12 findings)
## 1. [HIGH] Nobody owns the first reply
- Why it leaks: Leads posted to a shared sheet or channel are seen by everyone and answered by no one.
- Fix: Assign an owner per lead (round robin or fixed) at the moment it is created, and name them in the notification.
Fix the #1 finding for free
The most common high-severity finding is "no alert when a lead goes unanswered". The free n8n missed-lead heartbeat template (https://github.com/paopao-studio-ai/n8n-missed-lead-heartbeat) checks your sheet or CRM every 5 minutes and pings Slack, Discord or any webhook when a lead waits past your SLA.
Want a human to map it?
Paopao Studio runs a fixed-price Lead Leak Check ($197): a written leak map of 1–2 lead workflows, credited in full to a Starter build within 30 days. Free screenshot triage by email. → https://paopao-studio.pages.dev/?utm_source=github&utm_medium=oss&utm_campaign=lead_leak_1029
Develop
pip install -e ".[test]"
pytest -q # rule tests + an end-to-end stdio round trip with the official MCP client
License
MIT, see LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.