/ 目录 / 演练场 / linkedin-mcp-server
● 社区 stickerdaniel ⚡ 即开即用

linkedin-mcp-server

作者 stickerdaniel · stickerdaniel/linkedin-mcp-server

Give AI assistants access to LinkedIn — browse profiles, search jobs, read messages, and send connection requests.

linkedin-mcp-server is an open-source MCP server that enables AI assistants to interact with LinkedIn via browser automation. It provides 13 tools for accessing profiles, company pages, job listings, messaging, people search, and connection management. Uses Patchright (managed Chromium) for browser-based access with automatic login handling.

为什么要用

核心特性

实时演示

实际使用效果

linkedin-mcp-server-2.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "linkedin-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
      ]
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "linkedin-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
      ]
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "linkedin-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
      ]
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "linkedin-mcp-server-2": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
      ]
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "linkedin-mcp-server-2",
      "command": "TODO",
      "args": [
        "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "linkedin-mcp-server-2": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/stickerdaniel/linkedin-mcp-server"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add linkedin-mcp-server-2 -- TODO 'See README: https://github.com/stickerdaniel/linkedin-mcp-server'

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: linkedin-mcp-server

How to research companies and job openings with LinkedIn MCP

👤 Job seekers and recruiters ⏱ ~15 min beginner

何时使用: You want to research companies and find relevant job openings without manual browsing.

前置条件
  • linkedin-mcp-server installed — uvx linkedin-scraper-mcp@latest or download .mcpb from releases
  • LinkedIn account — Sign in when the browser login prompt appears
步骤
  1. Search for jobs
    Search LinkedIn for 'senior backend engineer' jobs in San Francisco. Show me the top 10 with company, salary range, and requirements.✓ 已复制
    → Formatted job listings with key details
  2. Research a company
    Get the company profile for the most interesting result. What are their recent posts about?✓ 已复制
    → Company overview with recent activity

结果: A shortlist of relevant jobs with company context.

注意事项
  • LinkedIn rate limits on too many profile views — Space out requests and avoid viewing dozens of profiles in rapid succession
搭配使用: filesystem

Research and connect with people in your industry

👤 Professionals building their network ⏱ ~20 min beginner

何时使用: You want to find and connect with relevant professionals in your field.

前置条件
  • LinkedIn account authenticated — Complete the browser login on first use
步骤
  1. Search for people
    Search LinkedIn for ML engineers at top AI companies in the Bay Area. Show their titles and companies.✓ 已复制
    → List of matching professionals
  2. Send a personalized connection request
    Send a connection request to the first person with a note mentioning our shared interest in transformer architectures.✓ 已复制
    → Connection request sent confirmation

结果: Targeted connection requests sent with personalized messages.

注意事项
  • Generic connection messages get ignored — Always reference something specific from their profile

组合

与其他 MCP 搭配,撬动十倍杠杆

linkedin-mcp-server-2 + filesystem

Save job search results and company profiles to organized files

Search for product manager jobs in NYC and save the top 20 results to ~/job-search/pm-nyc.md.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
get_person_profile url_or_name: str, sections?: str[] Get a LinkedIn profile with selected sections 0
search_jobs keywords: str, location?: str Search for job listings 0
search_people keywords: str, location?: str Find professionals by keywords 0
get_inbox none List recent LinkedIn message conversations 0
get_company_profile url_or_name: str Get company information from LinkedIn 0
connect_with_person profile_url: str, note?: str Send a connection request 0

成本与限制

运行它的成本

API 配额
Subject to LinkedIn's anti-automation measures — keep requests moderate
每次调用 Token 数
500–2000 tokens per profile/search
费用
Free
提示
Be selective with profile views — LinkedIn tracks and may restrict accounts that view too many profiles.

安全

权限、密钥、影响范围

凭据存储: Uses your LinkedIn browser session. Authentication happens via Chromium browser login.
数据出站: All traffic goes through Chromium to linkedin.com

故障排查

常见错误与修复

Login prompt keeps appearing

Complete the LinkedIn login in the Chromium browser. For Docker, authenticate via uvx first.

验证: Check that you can manually access linkedin.com in the automated browser
Profile returns empty data

The profile may be outside your network. LinkedIn restricts data visibility based on connection degree.

验证: Try viewing the profile manually in a browser
Rate limited by LinkedIn

Reduce request frequency. LinkedIn may temporarily restrict access after too many automated requests.

验证: Wait 30 minutes and try a single request

替代方案

linkedin-mcp-server 对比其他方案

替代方案何时用它替代权衡
fetch MCPYou only need to read public LinkedIn data visible without loginVery limited data — most LinkedIn content requires authentication

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills