linkedin-outreach-mcp
AGENTS.md14 starsChanged 2 months agoMITView on GitHub
For repository changes, read CLAUDE.md and docs/delivery.md. Ship one complete outcome per PR, with its tests and self-review corrections. Queue labels never replace the user's separate merge/release authorization. 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. Every action is an MCP tool call. Use cases: A…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- heyleadSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Never paste model-authored text as the LinkedIn message.
- Distinctive: line 57
Never launch a draft unless the user asked.
- Very specific: line 70
Inspecting an install or production: never open the HeyLead config file.
- Very specific: line 186
If uname is Darwin and you are about to run tests, scans, a worktree or a Cloud SQL proxy for a HeyLead change: stop and tell the user to …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HeyLead — Agent Integration Guide
For repository changes, read CLAUDE.md and docs/delivery.md. Ship one complete outcome per PR, with its tests and self-review corrections. Queue labels never replace the user's separate merge/release authorization.
What HeyLead Does
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. Every action is an MCP tool call.
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.
Also known as: LinkedIn lead generation, cold outreach automation, B2B prospecting, SDR automation, campaign management, ICP (Ideal Customer Profile) generation, multi-touch drip sequences, engagement warm-ups, and outreach analytics.
Capabilities
| Category | What it does |
| ICP Generation | RAG-powered buyer personas with pain points, fears, barriers, and LinkedIn search parameters |
| Campaign Management | Create, launch, pause, resume, archive, delete, and compare outreach campaigns |
| Outreach Automation | Personalized connection invitations, follow-up DMs, engagement warm-ups (comments, likes) |
| Reply Handling | Sentiment classification (positive/negative/question/neutral), auto-responses, meeting scheduling |
| Intent Signals | Company news, page engagement, website visitors, profile viewers — compounded into outreach angles |
| Analytics | Funnel reports, conversion rates, stale lead detection, engagement ROI |
| Autonomous Scheduling | Cloud is the default sender for hosted accounts (existing and new campaigns). Launching commissions the cloud: invitations, opening DMs, first-touch InMail, follow-ups, engagements, follows, endorsements, email fallbacks, campaign top-ups, auto-replies, inbound, warmup, signal collectors, post-intel, and housekeeping. HeyLead connects to heylead.dev. Observe means nobody sends, including the cloud. |
Typical Workflow
1. setup_profile(backend_jwt="...") → Connect LinkedIn account
2. generate_icp(target_description="CTOs fintech") → Create buyer personas
3. create_campaign(target_description="...", icp_id="...") → Find prospects (saved as a draft)
4. campaign(action="launch", campaign_id="...") → Start outreach — nothing sends before this
(hosted accounts: also starts cloud sending)
5. scheduler(action="status") → Confirm sending is on the cloud
6. inspect() / check_replies() / show_status() → Monitor pipeline and agent holds
7. prospect(action="close", outcome="won") → Track conversionsAgent ops
When the user asks what the agents did, who is held, or why a reply was skipped, call inspect() first. It is read-only and never writes. If they ask what the agents decided on a hosted account, call inspect(action='journal'). If a campaign looks idle in the send window, call inspect(action='review'). If they ask what the agents left for the next tick, what the swarm thinks, or who went dark, call inspect(action='commons'). A campaign-wide coordinator hold: campaign(action='clear_coordinator_hold', campaign_id='...').
A hold: prospect(action="conversation", outreach_id="...") then send_message(action="reply", outreach_id="..."). Operator replies skip the reply agent.
Never paste model-authored text as the LinkedIn message. The send tools generate it.
Never launch a draft unless the user asked.
HeyLead sends from your own LinkedIn account at a human pace. On HeyLead Free: at most 8 invitations a day and 40 a week, on any LinkedIn account. On Pro: at most 20 invitations a day and 100 a week on a free LinkedIn account. On Pro with Premium or Sales Navigator: at most 320 invitations a week, never more than 168 in one day. Such an account starts at 20 a day and steps up once a week, to at most 40, 80 and then 168 in one day, counting from its first invitation or its move to Pro. Monday to Friday 08:00 to 22:00 in your time zone, minutes apart. It backs off when LinkedIn pushes back, even below a ceiling, and resumes on its own; a step up then waits. You can pause any campaign at any time.
When the user asks what happens after launch, give them the campaign's plan from the create_campaign or launch result. Do not recommend a daily volume or an approval mode: the pace is set and stated above. If asked about LinkedIn's terms, point to https://heylead.dev/terms. Do not call the pace safe or unsafe for the account; say what HeyLead does.
HeyLead learns the user's voice from their own LinkedIn posts. On heylead.dev, the user can also let it learn from messages they wrote themselves on LinkedIn: that is off until they turn it on, it never learns from messages other people sent them, and it never quotes those messages. It also learns their style from the edits they make to drafts before approving them, never the words themselves, and one switch on heylead.dev turns that off for the workspace. It never publishes on their profile unless they ask for a post.
In-process agents default to act. Use edit_campaign(enable_reply_agent="observe"), edit_campaign(enable_strategist_replan_agent="observe"), edit_campaign(enable_hot_lead_closer="observe"), or edit_campaign(enable_coordinator_agent="observe") to return to logging-only, "off" to disable. product(action='tick') can patch this git checkout and open a PR — never from the send path; cloud workers and uvx installs without .git refuse.
Authentication
- Hosted (easiest): take the 90-second quiz at https://heylead.dev/quiz, then Sign in (Google). That claims the quiz as an Account brief and a draft campaign. Connect LinkedIn on Account, launch the draft — nothing sends before that. Or sign in at https://heylead.dev/auth/login-url and land on Account. Copy the token message and paste it into chat →
setup_profile(backend_jwt="..."). Hosted users share a professional directory; campaigns and inboxes stay private. Organizations let an owner invite editors (run campaigns) and viewers (stats only). Switch in the dashboard sidebar or withorganization(action="switch", org_id="..."). The waitlist on/quizis marketing-only and does not create a campaign. - Inspecting an install or production: never open the HeyLead config file.
heylead config get <setting>prints one ordinary setting,heylead api get /api/v1/...makes an authenticated read with credentials masked, andheylead secrets statusnames the stored secrets without values. - Optional: bring your own key (Gemini/Claude/OpenAI) via
setup_profile(llm_api_key="...").
All 22 Tools
Brand and content, signals, bulk import, CRM sync and the shared network pool are registered only when the client is started with HEYLEAD_TOOLS=all, which brings the full set of 47.
Setup & Account
| Tool | Description |
setup_profile | Connect LinkedIn, analyze writing style, create voice signature. Required first step. |
account | Manage LinkedIn accounts — list, switch, or disconnect |
organization | Hosted orgs — list, switch, invite editor/viewer, create a client workspace |
ICP & Targeting
| Tool | Description |
generate_icp | Create Ideal Customer Profiles with buyer personas, pain points, fears, barriers, and LinkedIn search parameters |
icp | Preview which LinkedIn profiles a saved ICP matches, and how each filter shapes the result, without creating a campaign or any outreach records |
profile_signals | Compile a targeting request (country ties, interests) into LinkedIn recall queries and profile-evidence scoring |
Campaign Lifecycle
| Tool | Description |
create_campaign | Create an outreach campaign (as a draft) from a natural language description, with ICP-based targeting |
campaign | Campaign lifecycle — launch, pause, resume, archive, delete, emergency stop, retry failed |
edit_campaign | Update campaign name, mode, booking link, offerings, case studies, messaging preferences, or agent act flags |
import_prospects | Import prospects from CSV data into a campaign |
Outreach Execution
| Tool | Description |
generate_and_send | Generate and send a personalized LinkedIn message — cold outreach, connection requests, voice-matched messaging |
send_message | Send follow-ups and replies to prospects — drip sequences, multi-touch nurture |
send_email | Send an email to a prospect through a connected Gmail/Outlook mailbox |
engage_prospect | Comment on, react to, follow, or endorse a prospect — social-selling warm-up |
book_meeting | Book a meeting on Google Calendar and send the prospect an invite |
inbox | Browse and read LinkedIn inbox messages directly |
backfill_inbox | Process unreplied inbox messages through the inbound qualification pipeline |
create_post | Generate and publish a voice-matched post to LinkedIn, or publish your approved words with a photo or a short video |
Prospects & Contacts
| Tool | Description |
prospect | Manage prospects — skip, close with outcome (won/lost/opted out), view conversation or timeline |
contacts | Search, browse, and manage the global contact base; direct LinkedIn people lookup |
partner | Track follow-ups with business partners, vendors, and investors |
crm_sync | Sync campaign contacts and deals to HubSpot CRM |
Insights & Analytics
| Tool | Description |
show_status | Dashboard — campaigns, stats, hot leads, account health. Links to the matching heylead.dev/dashboard page and, on hosted accounts, attaches a snapshot card |
check_replies | Check for new replies, classify sentiment, surface hot leads |
analytics | Campaign analytics — reports, comparisons, and exports |
inspect | Read-only digest of operator holds, strategist replans, closer decisions, reply skips, gated jobs, hosted action='journal', and action='review' (campaign watch / stall adjustments) |
knowledge | Knowledge base that grounds generated messages — list, add, remove, refresh, or search sources. Hosted only. |
suggest_next_action | Recommend the best next action, prioritized by impact |
signals | View and analyze buying signals — news, company engagement, website visitors, profile viewers |
manage_watchlist | Add, remove, and list signal keyword watchlists |
network | Network intelligence — a reciprocal pool of members' connected accounts; join to use it |
Brand & Profile
| Tool | Description |
brand_strategy | Analyze and improve the user's LinkedIn personal brand to drive inbound leads |
profile | View and restore LinkedIn profile change history |
Automation
| Tool | Description |
scheduler | Autonomous scheduler — status, toggle on/off, always-on |
product | Local git checkout only — patch this repo and/or open a PR. Never from the send path. |
Installation
Install the CLI once with uv tool install heylead.
Claude Code:
claude mcp add heylead -- heyleadCursor: Settings → MCP → Add new MCP server → Name: heylead, Command: heylead
OpenClaw (openclaw.json):
{
"mcp": {
"servers": [
{
"name": "heylead",
"command": "heylead",
"args": []
}
]
}
}Any MCP client:
{
"heylead": {
"command": "heylead",
"args": []
}
}Transport
- stdio —
heylead(installed viauv tool install heylead); update withuv tool upgrade heylead - streamable-http — remote endpoint at
https://heylead.dev/mcp
Build on heylead-dev, not on the Mac (api #5565)
If uname is Darwin and you are about to run tests, scans, a worktree or a Cloud SQL proxy for a
HeyLead change: stop and tell the user to reopen this task on the heylead-dev VM (Cursor:
Remote-SSH to heylead-dev; Codex: ssh heylead-dev then codex in ~/Developer/<repo>).
Chrome-only work (UI QA, LinkedIn, Mail) stays on the Mac.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

