AI agent for LinkedIn outreach: finds the right people, writes in your voice, follows up and handles replies. From Claude Code, Cursor, any MCP client or a web dashboard.
pip install heylead==0.10.440 Copy PIP instructions
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."
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.
Hire people, Find partners or investors and Research interviews run on a custom brief until their message sets exist.
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.
Claude Code, as a plugin (hosted, nothing to install):
/plugin marketplace add D4umak/linkedin-outreach-mcp /plugin install heylead@heylead Then run /mcp, pick heylead and choose Authenticate to sign in to your HeyLead account. The plugin connects the hosted server at https://heylead.dev/mcp and adds skills for starting a campaign, approving waiting messages, answering replies, a weekly review, pausing, and adding a list of people. Its source is in plugins/heylead.
Or run the client locally over stdio. You need uv:
claude mcp add heylead -- uvx heylead Cursor: Settings > MCP > "Add new MCP server" > Name: heylead, Command: uvx heylead
{ "heylead": { "command": "uvx", "args": ["heylead"] } } Update with uvx --refresh heylead.
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:
"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.
"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 Define your ICP — "Generate an ICP for AI SaaS founders" → RAG-powered personas with pain points, barriers, and LinkedIn targeting Create a campaign — "Find me fintech CTOs" → searches LinkedIn, scores prospects by fit Warm up prospects — Engages with their posts (comments, likes) before reaching out Send personalized invitations — Voice-matched messages that sound like you, not a bot Follow up automatically — Multi-touch sequences after connections are accepted Handle replies — Detects sentiment, advances positive leads toward meetings, answers questions 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 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.
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 with your laptop closed, inside the sending window: 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.
A connected account is a LinkedIn seat or an email mailbox. Free includes one of either.
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.
Power users: Pass your own LLM key (Gemini/Claude/OpenAI) during setup to use your own AI. Completely optional.
HeyLead keeps its backend token, the Unipile key and any LLM keys in the OS credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service), or in an owner-only secrets.json in the HeyLead folder when none exists. The config file holds ordinary settings only. To inspect an install without seeing a secret:
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.
For full backend configuration and deployment, see the heylead-api (or backend) repo and its docs.
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.
To make HeyLead available on PyPI (or to publish a new version):
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).
HeyLead is designed as an MCP-native tool — built for AI agents, not humans clicking buttons.
{ "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 scheduled sending from the cloud with your laptop closed.
22 tools, from finding the right people to answering their replies: prospect discovery, ICP generation with buyer personas, connection invitations with a note, opening messages and follow-ups, warm-ups (profile views, follows, comments), reply handling that holds anything ambiguous for you, and outcome tracking.
See AGENTS.md for the full agent integration guide.
Knowledge base and prompt configurations are proprietary.
ai automation b2b buyer-persona campaign cold-outreach drip-sequence icp lead-generation leads linkedin linkedin-automation mcp model-context-protocol outreach prospecting sales sdr social-selling
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




