LinkedIn Toolkit

io.github.FormatixAI由 GitHub 账号 FormatixAI 发布v2.1.0更新于 Oct 25, 2026

LinkedIn for AI agents from your own Chrome session: search, profiles, lists, outreach queue.

概览

AI 生成的概览

一个本地 MCP 服务器,让助手通过你自己已登录的 Chrome 会话搜索、提取并操作 LinkedIn,带有配额上限和审批队列。

可以做什么
搜索并提取个人资料、搜索结果、帖子互动者、群组成员、活动参与者、公司员工、人脉和消息会话,可导出为 CSV、JSON 或 SQLite。将联系人整理为命名列表和 CRM 标签,支持去重、是否联系过标记和意向信号。运行包含访问、关注、邀请、消息、InMail、点赞和评论的外联序列,支持分支和 A/B 变体。读取并分拣收件箱,支持回复识别、情绪标记和快捷回复。从姓名或域名 CSV 生成调研包、档案和增强 CSV。用只读 SQL 查询本地 SQLite 镜像。
适用场景
适合希望助手用你自己的账号完成 LinkedIn 人才搜寻、名单构建、外联撰写或收件箱分拣,而不使用无头浏览器或云端会话的场景。也适合想要免费本地替代付费拓客工具的用户。
运行要求
通过 npx 本地运行(需要 Node.js)。需要 Google Chrome,并在开发者模式下加载该工具的未打包扩展、用配对令牌完成配对,还需要一个已登录的 LinkedIn 账号。LINKEDIN_TOOLKIT_HOME 指定本地 SQLite 镜像和配置的目录,默认 ~/.linkedin-toolkit。可选的数据增强需要你自己的 API 密钥。
安装前请注意
LinkedIn 用户协议禁止自动化访问,使用可能导致账号受限或永久封禁。该服务器会执行邀请、消息、关注、点赞、评论等写入操作;默认进入人工审批队列,但可开启 Autopilot。每日上限由扩展强制执行。采集的个人数据保存在本地 SQLite,你需自行承担 GDPR 等合规义务。可选增强会把数据发送给第三方服务商。

安装

在 SourceWeft 中

  1. 打开 控制台中的 LinkedIn Toolkit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

LinkedIn Toolkit

[License: MIT] [MCP] [No headless browser] [Runs locally] [CI]

LinkedIn blocks AI browser agents. This is how agents get in.

Operator, Browser Use, computer-use models and Playwright bots get challenged or banned on LinkedIn: headless fingerprints, datacenter IPs, machine-speed clicks. LinkedIn Toolkit gives any agent a safe, structured API to your own logged-in Chrome session — through the same internal endpoints the LinkedIn page itself calls, at human pace, under hard caps, with a human approval queue. It is also a free replacement for Waalaxy and PhantomBuster if you never touch an agent at all. No headless browser, no proxies, no cloud session, no telemetry, no subscription.

[An agent searches LinkedIn from your own browser session, drafts five connection notes, and parks every one of them in an approval queue]

▶ Try it without installing · Install guide · Full-quality MP4

Recorded against the toolkit's own demo mode (lit serve --http --fake). Every tool call is real; everyone in it is invented.

Quick start

One command, then three clicks in Chrome.

bash
npx linkedin-toolkit-mcp setup --client claude-code

That downloads the extension for your version, checks it, unpacks it to ~/.linkedin-toolkit/extension, prints the pairing token, waits for the extension to connect, and writes the MCP config block into your client's own config file — keeping every other server in it and backing the file up first. --client takes claude-desktop, claude-code, cursor, windsurf, vscode, n8n or print; add --dry-run to see what it would do without touching anything.

Then the three steps Chrome does not let any installer do for you:

  1. Open chrome://extensions — type it in the address bar; it does not come up in search.
  2. Turn on Developer mode, top right.
  3. Click Load unpacked and choose the folder setup printed.

Paste the pairing token into the popup → Settings → Local bridge, and check it took:

bash
lit status
Rather do it by hand, or only want the extension and no agent?

Download linkedin-toolkit-extension-v*.zip from the Releases page, unzip it somewhere permanent (Chrome loads it from that folder on every start), then do the three steps above. Run npx linkedin-toolkit-mcp for the pairing token, and copy the config block for your client out of docs/clients.md.

docs/install.md is the same thing with screenshots, written for somebody who has never loaded an unpacked extension.

Mass unfollow — Preview first, then a small number, then the rest — is in docs/install.md. Read the "Connections are followed too" part before you decide the feature is broken: LinkedIn's Following list does not include your connections, who are followed automatically when you connect, so emptying that list to zero leaves a feed still full of posts. Ticking "Also unfollow my connections" scans your followers list instead, which is the only place that state is visible.

Every client's config file, path and shape: docs/clients.md · one page per ecosystem.

Not using MCP? lit serve --http gives you POST /actions/{action} and a generated GET /openapi.json. Examples in seven languages.

[!IMPORTANT] Nothing sends without you. Copilot mode is the default: every write an agent makes queues for your approval in the popup. Hard caps live in the extension — 100 invites, 150 messages, 500 profile visits, 1,000 search results a day — and no agent, CLI flag or config file can raise them. Read the safety page before you turn Autopilot on.

What it does

ExtractProfiles (full page text + photo), search, Sales Navigator, Recruiter, post likers and commenters, group members, event attendees, company employees, your own connections and followers, message threads. CSV, JSON and SQLite out.
Lists and CRMNamed lists, tags, dedupe across lists, a "contacted before" flag on every profile, and intent signals: engaged with a post, changed job in the last 90 days, at a target company.
SequencesVisit, follow, connect with a note, message, InMail, like, comment, wait, and branch on accepted / replied / not accepted after N days. Variables with fallbacks, A/B variants per step, replies stop the sequence. 20 templates.
InboxUnified threads, unread, reply detection, sentiment tagging, saved replies, snooze.
Research PackA CSV of names or domains in; a dossier, an enriched CSV and a list out. Below.
Agent layer39 MCP tools, 4 resources, 3 prompts, a /actions HTTP API with OpenAPI 3.1, Node and Python clients, an n8n node, 6 skills.
SafetyJittered human delays, hourly and daily caps, business hours, 14-day warm-up, account presets, approval queue, 429 backoff, auto-pause on any security check (451 or a checkpoint redirect).
Local everythingchrome.storage.local, IndexedDB and a SQLite file on your machine. Read-only SQL over the lot. No server, no account, no telemetry.

Works with your agent

EcosystemHow
Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Cline, OpenClaw, Codex CLI, Gemini CLInpx linkedin-toolkit-mcpMCP over stdio · config per client
Remote and hosted agents (Claude API MCP connector, ChatGPT connectors, Cloudflare Agents)lit serve --httpMCP over Streamable HTTP, token auth · risks
OpenAI Agents SDK, Vercel AI SDK, LangChain.js, Mastranpm i linkedin-toolkitTyped client + tool definitions · example
LangChain, LlamaIndex, CrewAI, AutoGen, Google ADK, Pydantic AI, smolagentspip install linkedin-toolkitPython client + @tool wrappers per framework · example
n8n, Make, Dify, Flowisen8n-nodes-linkedin-toolkit + MCP client nodeNodes for search, profile, invite, message, inbox, plus a webhook-fed trigger · workflow
Any HTTP agentlit serve --httpGET /openapi.json — OpenAPI 3.1 for custom GPTs, Dify and code generators
Agent Skills standardskills/Six skills that load unchanged in Claude Code, OpenClaw, and any compliant runtime

Structured errors carry code, message, retryAfter and howToFix, so an agent recovers or explains itself instead of retrying into a wall. There is an llms.txt and an agent quickstart written for an agent to read and self-install.

Browser agents vs LinkedIn Toolkit

Browser agentLinkedIn Toolkit
SessionHeadless or remote-controlled browser, cloud profileYour own Chrome, your own login
FingerprintSynthetic — patched, and detectable anywayYour real browser. Nothing to patch
IPDatacenter, or a residential proxy of dubious provenanceYour own connection
DetectionChallenged, degraded, then restrictedNo fingerprint or IP delta; volume and rhythm are still visible, which is why the caps exist
What the agent seesScreenshots, vision tokens, brittle selectorsTyped JSON per tool
Cost to source 100 profilesHundreds of screenshots3 tool calls
PaceMachine speedJittered human delays, business hours, warm-up
LimitsNone until LinkedIn imposes themHard caps no client can raise
On a challengeRetries, and makes it worseStops everything, tells the human
Human oversightWhatever you remember to buildApproval queue, on by default

The long version, with the actual detection mechanisms: Why browser agents fail on LinkedIn.

Why extensions broke, and why this one is built to be repaired

LinkedIn's web client now serves nearly all of its data through GET /voyager/api/graphql?queryId=<name>.<32-hex hash>&variables=(...), and those hashes change with each web client release (current: 1.13.46474). The old REST Voyager paths that a generation of 2024–2025 extensions hard-coded return 400, 410 or 500 today. That is the mechanism — not a ban wave. This extension calls the same GraphQL queries the page calls, from inside your own tab, and keeps every query ID in one refreshable table with its capture date and client version: docs/voyager-endpoints.md. lit endpoints check reports which are ok, failed or unverified, and lit endpoints doctor names the query id whose hash went stale and the key in the table that holds it, so drift is a maintenance task rather than an architecture change.

Honestly: those IDs will drift, and re-capturing them is the contribution this project most needs. It is a table edit, not a rewrite — open DevTools on LinkedIn, filter the Network tab for voyager/api, and copy the queryId from a request the page makes; the same hashes are also literal strings inside LinkedIn's JS bundles if you would rather grep for them.

Versus the paid tools

Waalaxy ProPhantomBuster StarterSales-MindLinkedIn Toolkit
Price~€70/mo~$69/mo~$99/mo£0
SourceClosedClosedClosedMIT, all of it
Where the automation runsTheir cloud (the extension imports only)Their cloudTheir cloudYour own Chrome tab
Your sessionOn their serversOn their serversOn their serversNever leaves your machine
MCP server✗✗✗✓
Agent tools / SDKs✗✗✗✓ 39 tools, 9 frameworks
Local SQL over your data✗✗✗✓
Approval queue✗✗✗✓ on by default
Sequences with branching✓partial✓✓
Post engagers, groups, events✓✓partial✓
Inbox and sentiment✓✗✓✓
Team seats, dashboards✓✓✓✗ (needs a server — see roadmap)
Telemetry✓✓✓✗

Competitor prices are public list prices checked September 2026 and are approximate — they change, vary by currency and billing term, and each vendor's tiers differ. Feature claims are taken from each vendor's public product pages, also checked September 2026, and tiers move. Check their sites before deciding anything. Corrections welcome via PR — if we have a feature wrong, open one and it gets fixed.
Source for the Waalaxy column: its current Chrome extension listing, "Alien Copilot" by Waapi (Montpellier) — v1.1.3, updated August 2026, roughly 2,000 users, 3.0★ from 3 ratings — which describes itself as "your Waalaxy companion, helps you import prospects". On that listing the extension imports prospects into Waalaxy, and the automation runs on Waalaxy's servers using your session. Listing details read September 2026.

Research Pack

Drop in a CSV with any of name, linkedin_url, email, domain, company. Get back a dossier per row, an enriched CSV, and a list — all local.

bash
lit research leads.csv --out ./packs
  1. Resolve — match each row to a profile or company. Ambiguous rows come back with candidates and a confidence score for you to pick from, rather than a silent guess.
  2. Gather — full profile capture, company page, recent posts and engagement, mutual connections, connection status.
  3. Signals — job change in the last 90 days, recent posting activity, hiring signals, headcount band, mutuals, engaged-with-me.
  4. Enrich (optional, your key, off by default) — verified email and phone.
  5. Web — the linkedin-research-pack skill has your agent use its own web search for news, talks, GitHub and podcasts, and write them into the pack with sources. The extension never crawls the open web.
  6. Write — pack.md and pack.json per row, an output.csv with every original column plus resolved URL, title, company, location, signals and match confidence, and a new list.

Caps apply throughout: resolution spends search quota, capture spends visit quota. A 500-row CSV is a multi-day job by design, and you get the ETA up front.

Safety

The honest position: LinkedIn's User Agreement prohibits automated access. This tool automates LinkedIn. Nothing below makes that risk zero.

What it does do:

  • Hard caps in the extension, below every client: 100 invites, 150 messages, 500 profile visits, 1,000 search results per day. config.set clamps whatever you pass.
  • Human pacing — jittered 8–15 second delays, hourly caps, a business-hours window, weekdays only if you want. Machine-speed activity is the loudest signal an account can emit.
  • 14-day warm-up for new or dormant accounts.
  • Copilot mode — every agent write queues for your approval. Autopilot is a toggle only a human can flip, in the popup. Approving still is not sending: the engine paces it anyway.
  • 429 → backoff. A security check → stop. A CAPTCHA or "confirm it's you" check — whether it arrives as a 451 or, as it usually does, as a redirect to LinkedIn's checkpoint page — pauses every request immediately and stays paused until you have completed it yourself and said so in the popup. There is no retry loop anywhere in the codebase.
  • Never bypasses a security measure. No CAPTCHA solving, no challenge circumvention, no proxies, no fingerprint spoofing, no cookie import, no account you are not signed into. What triggers a check, what the toolkit does, what you should do and what we will not build: docs/captcha-and-security-checks.md.

What it does not do is make you invisible. Running inside your own session removes the fingerprint and IP signals that get browser agents caught — it does nothing about how much you do or how regularly you do it, and LinkedIn counts both. That is exactly why the caps and the pacing are not configurable past a ceiling: they are the only defence left once the easy tells are gone. An account sending 90 invites a day at perfectly spaced intervals is still an account sending 90 invites a day.

Recommended settings, signs to stop, and your data-protection obligations: docs/safety.md.

Architecture

mermaid
flowchart LR    A["Your agent<br/>Claude · Cursor · LangChain<br/>CrewAI · n8n · curl"]    M["linkedin-toolkit-mcp<br/><i>your machine</i><br/>MCP · HTTP · SQLite · CLI"]    E["Extension engine<br/><i>your Chrome</i><br/>quotas · delays · queue<br/>campaigns · lists"]    Q["Approval queue<br/><i>you</i>"]    L["LinkedIn<br/><i>your session, your cookies,<br/>your IP, your device</i>"]
    A -->|"MCP stdio / HTTP"| M    M <-->|"ws://127.0.0.1:47829"| E    E --> Q    Q -->|"you approve"| E    E -->|"Voyager API, human pace"| L

One engine, several clients: the popup, the CLI, an MCP tool call and a campaign step all go through the same handle(action, params, origin) switch. The caps and the queue sit below it, so there is no path around them — there is only one path. Full architecture · action contract · tool reference.

CLI

lit ships in the same npm package as the server.

bash
lit setup --client cursor                                # install, pair, configure. Start herelit statuslit search "CTO fintech London" --source salesnav --count 100 --csv out.csvlit profile https://www.linkedin.com/in/... --full --jsonlit engagers <post-url> --list "Post engagers 8 Sep"lit invite <profile-url> --note "..."                    # queues in Copilot modelit campaign create --from sequences/warm-connect.json --list "Data leads"lit inbox --since 24h --sentimentlit research leads.csv --out ./packslit sql "select company, count(*) from profiles group by 1 order by 2 desc limit 20"lit export --table profiles --csvlit serve --http                                         # HTTP MCP + /actions + /openapi.json

Full reference · shell examples.

Your data is a SQLite file

Everything you capture mirrors into ~/.linkedin-toolkit/toolkit.db. Agents get read-only SQL over it — no network, no quota, no rate limit — and you can open the same file in any SQLite tool.

sql
-- Who accepted an invite but never repliedSELECT p.full_name, p.company, p.headline, a.created_atFROM actions aJOIN profiles p ON p.public_id = a.public_idWHERE a.action = 'outreach.invite' AND a.accepted = 1  AND p.public_id NOT IN (SELECT from_public_id FROM messages)ORDER BY a.created_at DESC;
bash
lit sql "select company, count(*) n from profiles group by 1 order by n desc limit 20"

An agent reaches the same thing through linkedin_query_sql with { "sql": "SELECT …" }. SELECT only — anything else is rejected.

Webhooks

The server POSTs { event, payload } to a URL you set — invite_accepted, reply_received, positive_reply, campaign_step_done, campaign_completed, quota_hit, challenge_detected, queue_item_added, queue_item_sent, campaign_note_truncated, research_progress, research_completed.

bash
lit config set webhookUrl https://your-n8n/webhook/linkedin-events

An importable n8n workflow does the obvious thing with them: accepted invite → profile.get → an LLM drafts a first message → it queues → Slack asks a human → approval link → queue.approve.

Skills

Six task recipes in the Agent Skills format. They carry the guardrails — facts only, quota awareness, the approval queue as the expected destination — not just the tool sequence.

bash
cp -r skills/* ~/.claude/skills/        # or ~/.openclaw/skills/, or ./.claude/skills/

linkedin-sourcer · linkedin-outreach-writer · linkedin-campaign-runner · linkedin-profile-to-dossier · linkedin-reply-triage · linkedin-research-pack

Roadmap

What is coming, and the things that will never be built because they need a server or break the local-first guarantee: docs/roadmap.md.

Contributing

Adding an extractor is the best first contribution and touches four files: how to build one. Sequences, skills and agent integrations are merged fastest because they are additive and self-contained.

See CONTRIBUTING.md, pick up a good first issue, or open a Discussion.

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. The authors and contributors accept no responsibility or liability for any consequences arising from its use, including but not limited to:

  • LinkedIn account restrictions, suspensions, or permanent bans
  • Loss of connections, data, or account access
  • Violation of LinkedIn's Terms of Service or User Agreement
  • Any direct, indirect, incidental, or consequential damages

By using this software you acknowledge that:

  1. LinkedIn's User Agreement prohibits automated tools and scraping, and using this may breach it
  2. Doing so may result in action against your LinkedIn account, up to permanent loss
  3. You use it only on your own account, in a session you logged into yourself
  4. You are solely responsible for every action taken with it, and for your obligations under GDPR, the UK GDPR, CCPA or any equivalent law covering the personal data you collect
  5. You use it entirely at your own risk

This tool never bypasses a security measure: no CAPTCHA solving, no challenge circumvention, no detection evasion, no proxies, no cookie theft, no session sharing, no accounts you are not signed into. When LinkedIn puts up a wall, it stops and hands the problem to you.

Provided for educational and research purposes. We do not encourage or endorse violation of any platform's terms of service.

License

MIT.

Contributors

This project uses all-contributors. Contributions of any kind are recognised here — code, docs, sequences, skills, bug reports, and design.

To add someone, comment on any issue or PR:

@all-contributors please add @username for code, doc

Credits

Built by Dominic Gonsalves — LinkedIn · GitHub

If it is useful, a star helps other people find it.

[Star History Chart]

来源:README.md,提交 e2a34b5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v2.1.0最新Sep 18, 2026
  2. v2.0.3Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分