HeyLead

LinkedIn outreach agent: finds the right people, writes to them in your own voice, follows up and handles replies. For sales prospecting, recruiting, user-interview recruitment, job search, and investor or partner outreach. Campaigns stay drafts until you launch them. Install: uvx heylead.

Hosted MCP Server

npx add-mcp 'https://heylead.dev/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

HeyLead

Your AI sales rep. One command to fill your pipeline.

HeyLead is an MCP-native autonomous LinkedIn SDR that runs inside Cursor, Claude Code, or any MCP-compatible editor. Sign in on the web, then talk to your AI and say "find me leads."


Getting Started

MCP (Model Context Protocol) lets AI assistants use external tools. HeyLead gives your AI the ability to do LinkedIn outreach for you.

You need: Cursor or Claude Code — any MCP-compatible AI editor.

Step 1: Install HeyLead

HeyLead runs locally over stdio. You need uv:

Claude Code:

claude mcp add heylead -- uvx heylead

Cursor: Settings > MCP > "Add new MCP server" > Name: heylead, Command: uvx heylead

Any MCP client:

{
  "heylead": {
    "command": "uvx",
    "args": ["heylead"]
  }
}

Update with uvx --refresh heylead.

Step 2: Set up your account

Option A — Hosted (easiest): take the 90-second quiz or sign in at heylead.dev/dashboard/login. Your quiz personas become a draft campaign. Connect LinkedIn in Settings → Connected accounts, then launch from the dashboard — or copy your setup message from Settings → Integrations → Chat client into your AI chat. Nothing sends before you launch. Hosted users share a professional directory; campaigns and inboxes stay private.

Option B — Self-hosted: run everything against your own accounts. You need two things first:

  1. A Unipile account — this is what talks to LinkedIn. Sign up at unipile.com, then put the DSN and API key from the Access Tokens page into ~/.heylead/config.json as unipile_api_url and unipile_api_key.
  2. An LLM API key — AI calls are billed to you. A free Gemini key is enough to start.

Then open your AI chat and say:

"Set up my HeyLead profile with this Gemini key: YOUR_KEY"

You'll get a LinkedIn authentication link. Open it, connect LinkedIn, then say "finish setup". HeyLead fetches your profile and analyses your writing style.

Step 3: Find leads

"Find me CTOs at fintech startups in New York"
"Send outreach to the campaign"
"Check my replies"
"How's my outreach doing?"

How It Works

  1. Define your ICP — "Generate an ICP for AI SaaS founders" → RAG-powered personas with pain points, barriers, and LinkedIn targeting
  2. Create a campaign — "Find me fintech CTOs" → searches LinkedIn, scores prospects by fit
  3. Warm up prospects — Engages with their posts (comments, likes) before reaching out
  4. Send personalized invitations — Voice-matched messages that sound like you, not a bot
  5. Follow up automatically — Multi-touch sequences after connections are accepted
  6. Handle replies — Detects sentiment, advances positive leads toward meetings, answers questions
  7. Track outcomes — Won/lost/opted-out tracking with conversion analytics

Safety model: campaigns are created as drafts and only start when you explicitly launch them. Every send passes rate limits, working-hours checks, and a 1st-degree connection guard before it goes out. Launching is also what commissions 24/7 cloud sending — in observe mode nothing is commissioned and nothing is sent, from either machine.


Tools

HeyLead gives your AI 35 tools:

Core Workflow

ToolWhat it does
setup_profileConnects LinkedIn and analyzes your writing style into a voice signature
generate_icpGenerates a rich Ideal Customer Profile with buyer personas
icpPreviews which LinkedIn profiles a saved ICP matches, without creating a campaign
profile_signalsCompiles a targeting request (country ties, interests) into LinkedIn recall queries and profile-evidence scoring
create_campaignCreates an outreach campaign (as a draft) from a natural language description
generate_and_sendGenerates a personalized LinkedIn message and sends it
check_repliesChecks for new replies across campaigns, classifies sentiment, surfaces hot leads
book_meetingPuts an agreed call on your Google Calendar and sends the prospect an invite
show_statusYour dashboard — campaigns, stats, hot leads, account health. Links to the matching heylead.dev/dashboard page and, on hosted accounts, attaches a snapshot card

Outreach & Engagement

ToolWhat it does
send_messageSends follow-ups, replies, or voice memos to prospects
send_emailSends email via a connected Unipile mailbox (Gmail/Outlook). Never Mail.app.
engage_prospectComments on, reacts to, follows, or endorses a prospect to build trust
inboxBrowses and reads LinkedIn inbox messages directly
backfill_inboxProcesses unreplied inbox messages through the inbound pipeline
create_postGenerates and publishes a voice-matched post to LinkedIn, X/Twitter, or both

Campaign Management

ToolWhat it does
campaignCampaign lifecycle — launch, pause, resume, archive, delete, emergency stop, retry failed
edit_campaignEdits a campaign's name, mode, booking link, or context fields
prospectManages prospects — skip, close with outcome, view conversation or timeline
import_prospectsImports prospects from CSV data into a campaign

Insights & Analytics

ToolWhat it does
analyticsCampaign analytics — reports, comparisons, and exports
inspectRead-only digest of operator holds, strategist replans, closer decisions, reply skips, and gated jobs
knowledgeCurates the knowledge base that grounds messages — lists, adds, removes, refreshes, and searches sources. Hosted only
suggest_next_actionRecommends the best next action, prioritized by impact
signalsViews and analyzes buying signals — news, company engagement, website visits, profile viewers
manage_watchlistAdds, removes, and lists signal keyword watchlists
networkNetwork intelligence — a reciprocal pool of members' connected accounts; join to use it

Growth & Relationships

ToolWhat it does
brand_strategyAnalyzes and improves your LinkedIn personal brand
profileViews and restores LinkedIn profile change history
partnerTracks follow-ups with business partners, vendors, and investors
contactsSearches, browses, and manages your global contact base
crm_syncSyncs campaign contacts and deals to HubSpot CRM

Automation & Account

ToolWhat it does
schedulerManages the autonomous scheduler — status, on/off, send_from (cloud default / local opt-in)
productLocal git checkout only — patch this repo and/or open a PR
accountManages LinkedIn accounts — list, switch, or disconnect
organizationHosted orgs — list, switch, invite editor/viewer, create a client workspace

Key Features

Voice Matching — Analyzes your LinkedIn profile and posts to capture your writing style. Every message sounds like you wrote it.

ICP Generation — RAG-powered pipeline that crawls company context, generates buyer personas with pain points, fears, barriers, and maps them to LinkedIn search parameters.

Autonomous Scheduler — Runs in the background, respects working hours and rate limits. On a hosted account, cloud is the default sender for every campaign. Launching commissions the cloud, so outreach continues 24/7 with your laptop closed: invitations, opening DMs, first-touch InMail, follow-ups, engagements, follows, endorsements, email fallbacks, prospect top-ups, brand posts, auto-replies, inbound, warmup, signal collectors, and post-intel. This machine does not start a local scheduler engine for that work. Move the whole account here with scheduler(action='send_from', host='local'), which turns the cloud scheduler off. Observe still means nobody sends. Direct / self-hosted installs send from this machine only.

Engagement Warm-ups — Automatically engages with prospect posts before sending connection requests, building familiarity.

Adaptive Rate Limiting — Starts conservative, ramps up when acceptance rate is high, pulls back when it drops. Respects LinkedIn safety limits.

Outcome Tracking — Mark deals as won/lost, track conversion rates, identify stale leads, measure engagement ROI.


Pricing

PlanPriceWhat you get
Free$050 invitations/month, 1 campaign, 2 follow-ups per prospect, 30 engagements/month
Pro$29/moUnlimited campaigns, 5 follow-ups with multi-day schedule, 5 LinkedIn accounts, cloud scheduler

Privacy

  • AI calls — routed through HeyLead's backend or your own key
  • Cloud MCP — your data is processed server-side but never shared with third parties
  • Local mode — contacts and messages stay on your machine in a local SQLite database

Power users: Pass your own LLM key (Gemini/Claude/OpenAI) during setup to use your own AI. Completely optional.


Backend mode & env

When the MCP client talks to a HeyLead backend (e.g. heylead-api), the backend uses these environment variables. Operators running their own backend should set them as required.

PurposeExample env vars
LLMGEMINI_API_KEY, or OPENAI_API_KEY / ANTHROPIC_API_KEY if using other providers
Search / crawlSERPER_API_KEY, FIRECRAWL_API_KEY (or similar) for ICP and company context
Auth / storageGOOGLE_* (OAuth), UNIPILE_* (LinkedIn provider), plus DB/Redis if used
OptionalFeature flags, rate limits, logging — see backend repo

For full backend configuration and deployment, see the heylead-api (or backend) repo and its docs.


Optional Dependencies

The base install covers all core features. For advanced ICP generation:

pip install heylead[icp]    # Embeddings for RAG-powered ICP generation
pip install heylead[crawl]  # Web crawling for company context ingestion
pip install heylead[all]    # Both

Troubleshooting

"uvx: command not found" Install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh (or brew install uv on Mac)

"MCP server not connecting" Restart your editor after adding the MCP server. In Cursor, check Settings > MCP — the server should show a green dot.

"Setup failed" or "LinkedIn not connected" Make sure you clicked "Connect" on the LinkedIn row of the sign-in page (dashboard: Settings → Connected accounts) and completed the LinkedIn login. Then run setup again.

Need help? Open an issue.


Publishing to PyPI (maintainers)

To make HeyLead available on PyPI (or to publish a new version):

Option A: Publish via GitHub Release (recommended)

  1. One-time: Create a PyPI account and an API token. In your repo: Settings → Secrets and variables → Actions → add secret PYPI_TOKEN with the token value.
  2. Bump version in pyproject.toml (version = "0.2.4").
  3. Commit, push, then create a GitHub Release (tag e.g. v0.2.4, release title optional). The workflow .github/workflows/publish.yml runs on release and publishes to PyPI.

Option B: Publish manually

pip install build twine
python -m build          # creates dist/
twine check dist/*       # optional: validate
twine upload dist/*      # prompts for PyPI username + password (use __token__ and your API token)

After publishing, anyone can add it with claude mcp add heylead -- uvx heylead (Cursor: command uvx heylead).


For AI Agents

HeyLead is designed as an MCP-native tool — built for AI agents, not humans clicking buttons.

Install as MCP server (stdio):

{
  "heylead": {
    "command": "uvx",
    "args": ["heylead"]
  }
}

OpenClaw: Add the same entry to your openclaw.json under mcp.servers. Also available on ClawHub — search "HeyLead".

Sign in at heylead.dev (hosted), or bring your own Unipile account and LLM API key (self-hosted).

Capabilities: LinkedIn lead generation, cold outreach automation, ICP generation with buyer personas, voice-matched personalized messaging, multi-touch drip sequences, reply sentiment classification, engagement warm-ups, campaign analytics, and autonomous 24/7 scheduling.

35 tools covering the full SDR workflow: prospect discovery → outreach → follow-up → reply handling → deal closing.

See AGENTS.md for the full agent integration guide.


Links

License

MIT (code) — see LICENSE

Knowledge base and prompt configurations are proprietary.