Skip to main content

HeyLead

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

HeyLead is an AI agent for LinkedIn outreach: it finds the right people, writes to them in the voice of your own LinkedIn posts, follows up, and handles replies. It runs from Claude Code, Cursor, any MCP client or a web dashboard. Sign in on the web, then talk to your AI and say "find me leads."

Use cases

A campaign has one of six goals, and the ICP, the fit check and the messages follow it: Sell a product or service, Find a job, Hire people, Find partners or investors, Find a vendor and Research interviews.

  • Sell a product or service: Reach the people who buy what you built.
  • Find a job: Reach the people who hire for the role you want.
  • Hire people: Reach candidates for a role you are filling. Works with a custom brief.
  • Find partners or investors: Reach the people who can sign a partnership or an investment. Works with a custom brief.
  • Find a vendor: You are the buyer. Reach the people who sell what you need.
  • Research interviews: Reach people to interview, survey or test with. Works with a custom brief.

Hire people, Find partners or investors and Research interviews run on a custom brief until their message sets exist.


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

Sending 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. HeyLead sends from your own LinkedIn account at a human pace: at most 20 invitations a day and 100 a week on a free LinkedIn account (more on Premium or Sales Navigator), Monday to Friday 08:00 to 22:00 in your time zone, minutes apart. It backs off when LinkedIn pushes back and resumes on its own. You can pause any campaign at any time. Launching is also what commissions 24/7 cloud sending — in observe mode nothing is commissioned and nothing is sent, from either machine.

Approval mode (hosted): a workspace that has not chosen otherwise holds every opening DM and follow-up until a person approves it, and the approved text is what is sent. Read what is waiting on the dashboard's Approvals page or with inspect(action="waiting"); decide with prospect(action="approve_message") or discard_message. Autopilot sends them unread and is one switch away (Settings → Sending, or scheduler(action="approval_mode", mode="autopilot")). Invitations, InMail and replies are never held.


Tools

HeyLead gives your AI 22 tools:

Core Workflow

Tool What it does
setup_profile Connects LinkedIn and analyzes your writing style into a voice signature
generate_icp Generates a rich Ideal Customer Profile with buyer personas
icp Previews which LinkedIn profiles a saved ICP matches, without creating a campaign
profile_signals Compiles a targeting request (country ties, interests) into LinkedIn recall queries and profile-evidence scoring
create_campaign Creates an outreach campaign (as a draft) from a natural language description
generate_and_send Generates a personalized LinkedIn message and sends it
check_replies Checks for new replies across campaigns, classifies sentiment, surfaces hot leads
book_meeting Puts an agreed call on your Google Calendar and sends the prospect an invite
show_status Your 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

Tool What it does
send_message Sends follow-ups and replies to prospects
send_email Sends email via a connected Unipile mailbox (Gmail/Outlook). Never Mail.app.
engage_prospect Comments on, reacts to, follows, or endorses a prospect to build trust
inbox Browses and reads LinkedIn inbox messages directly
backfill_inbox Processes unreplied inbox messages through the inbound pipeline
create_post Generates and publishes a voice-matched post to LinkedIn, X/Twitter, or both

Campaign Management

Tool What it does
campaign Campaign lifecycle — launch, pause, resume, archive, delete, emergency stop, retry failed
edit_campaign Edits a campaign's name, mode, booking link, or context fields
prospect Manages prospects — skip, close with outcome, view conversation or timeline
import_prospects Imports prospects from CSV data into a campaign

Insights & Analytics

Tool What it does
analytics Campaign analytics — reports, comparisons, and exports
inspect Read-only digest of operator holds, strategist replans, closer decisions, reply skips, and gated jobs
knowledge Curates the knowledge base that grounds messages — lists, adds, removes, refreshes, and searches sources. Hosted only
suggest_next_action Recommends the best next action, prioritized by impact
signals Views and analyzes buying signals — news, company engagement, website visits, profile viewers
manage_watchlist Adds, removes, and lists signal keyword watchlists
network Network intelligence — a reciprocal pool of members' connected accounts; join to use it

Growth & Relationships

Tool What it does
brand_strategy Analyzes and improves your LinkedIn personal brand
profile Views and restores LinkedIn profile change history
partner Tracks follow-ups with business partners, vendors, and investors
contacts Searches, browses, and manages your global contact base
crm_sync Syncs campaign contacts and deals to HubSpot CRM

Automation & Account

Tool What it does
scheduler Manages the autonomous scheduler — status, on/off, send_from (cloud default / local opt-in)
product Local git checkout only — patch this repo and/or open a PR
account Manages LinkedIn accounts — list, switch, or disconnect
organization Hosted 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, 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.

Pace — HeyLead sends from your own LinkedIn account at a human pace: at most 20 invitations a day and 100 a week on a free LinkedIn account (more on Premium or Sales Navigator), Monday to Friday 08:00 to 22:00 in your time zone, minutes apart. It backs off when LinkedIn pushes back and resumes on its own. You can pause any campaign at any time.

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


Pricing

Plan Price What you get
Free $0 Up to 2 follow-ups per prospect
Pro $29 per connected LinkedIn account per month Up to 5 follow-ups per prospect

Invitation limits follow the LinkedIn account (free, Premium or Sales Navigator), not the HeyLead plan. Self-hosted free installs have monthly quotas: 50 invitations, 20 messages, 30 engagements, 1 active campaign, 3 ICP generations.


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.

Purpose Example env vars
LLM GEMINI_API_KEY, or OPENAI_API_KEY / ANTHROPIC_API_KEY if using other providers
Search / crawl SERPER_API_KEY, FIRECRAWL_API_KEY (or similar) for ICP and company context
Auth / storage GOOGLE_* (OAuth), UNIPILE_* (LinkedIn provider), plus DB/Redis if used
Optional Feature 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):

  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.

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

See AGENTS.md for the full agent integration guide.


License

MIT (code) — see LICENSE

Knowledge base and prompt configurations are proprietary.

Release files for heylead 0.10.400

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for heylead 0.10.400
File Size Uploaded
heylead-0.10.400.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for heylead 0.10.400
File Interpreter ABI Platform
heylead-0.10.400-py3-none-any.whl Python 3 none any Details

Total release size: 3.4 MB

Release files / heylead-0.10.400.tar.gz

Download URL heylead-0.10.400.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
2c469206835295598f81c1285d02eee9958a048d3bc3eb33345da01fc942f7aa
BLAKE2b-256 checksum
How to use checksums
6bc257eeab8372062e30476e590a2a7c6934dbdd9a4a2723f1d9a648d421f063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / heylead-0.10.400-py3-none-any.whl

Download URL heylead-0.10.400-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e7e19db4eaf3f4ff31b620e2b75c16ce1a6bb200fa45a871b2d6fa36db202e1d
BLAKE2b-256 checksum
How to use checksums
488fd9385b89690703b75ebc1a06f42598b3682a72e41da4dcfef36d7398f4f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.10.400 This release

2 release files

0.9.38

2 release files

0.9.37

2 release files

0.9.35

2 release files

0.9.34

2 release files

0.9.33

2 release files

0.9.32

2 release files

0.9.31

2 release files

0.9.30

2 release files

0.9.29

2 release files

0.9.28

2 release files

0.9.27

2 release files

0.9.26

2 release files

0.9.25

2 release files

0.9.24

2 release files

0.9.23

2 release files

0.9.22

2 release files

0.9.21

2 release files

0.9.20

2 release files

0.9.19

2 release files

0.9.17

2 release files

0.9.16

2 release files

0.9.15

2 release files

0.9.14

2 release files

0.9.13

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page