Skip to main content
Glama
linkedin-profile-scraper

linkedin-profile-scraper

Lakome LinkedIn MCP Server

Smithery

一个基于 Lakome API 的轻量级 Model Context Protocol (MCP) 服务器,为 AI 智能体提供实时 LinkedIn 个人资料提取能力。

该服务器充当 LLM 客户端(如 Claude Desktop、Cursor、Cline、Roo Code 以及自定义 AI 智能体)与 Lakome LinkedIn 智能端点之间的桥梁。


⚡ 功能特性

  • 标准 stdio 传输:兼容任何标准 MCP 客户端。

  • 单一专用工具:提供 extract_linkedin_profile,用于提取完整的结构化个人资料详情(工作经验、教育背景、技能、职业头衔、个人简介、联系方式等)。

  • 批量处理:支持在单个请求中查询单个或多个 LinkedIn 个人资料 URL。

  • 错误处理:验证认证密钥并返回格式化的错误反馈。


Related MCP server: SalesTouch

📋 前置要求

  • Node.js v18.0.0 或更高版本

  • 一个 Lakome API Key(在 mcp.lakome.in 获取)


🔑 设置你的 LAKOME_API_KEY

服务器需要你的 LAKOME_API_KEY 来对发送至 Lakome API 端点的请求进行身份验证。

在 macOS / Linux 上

export LAKOME_API_KEY="your_actual_lakome_api_key_here"

在 Windows 上(PowerShell)

$env:LAKOME_API_KEY="your_actual_lakome_api_key_here"

在 Windows 上(命令提示符)

set LAKOME_API_KEY=your_actual_lakome_api_key_here

🚀 安装与客户端配置

1. Claude Desktop 设置

将服务器配置添加到你的 claude_desktop_config.json 中:

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows:%APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "lakome-linkedin": {
      "command": "node",
      "args": [
        "/absolute/path/to/mcp-server/index.js"
      ],
      "env": {
        "LAKOME_API_KEY": "your_actual_lakome_api_key_here"
      }
    }
  }
}

Windows 用户注意:请将 /absolute/path/to/mcp-server/index.js 替换为你的绝对 Windows 路径(例如 D:\\extensions and projects\\lakome API project\\mcp-server\\index.js)。


2. Cursor IDE 设置

将以下内容添加到你的项目 .cursor/mcp.json 或全局 MCP 设置中:

{
  "mcpServers": {
    "lakome-linkedin": {
      "command": "node",
      "args": [
        "./mcp-server/index.js"
      ],
      "env": {
        "LAKOME_API_KEY": "your_actual_lakome_api_key_here"
      }
    }
  }
}

3. Smithery.ai CLI

你可以通过 Smithery 自动安装并运行此服务器:

npx -y @smithery/cli install @lakome/linkedin-mcp --client claude

🛠️ 工具参考

extract_linkedin_profile

从单个或多个 LinkedIn 个人资料 URL 中提取全面、结构化的个人资料数据与情报。

参数

名称

类型

必填

描述

profileUrls

string[]

是

要提取的 LinkedIn 个人资料 URL 数组(例如 ["https://www.linkedin.com/in/williamhgates"])

示例调用

{
  "profileUrls": [
    "https://www.linkedin.com/in/williamhgates",
    "https://www.linkedin.com/in/satyanadella"
  ]
}

示例输出响应

[
  {
    "url": "https://www.linkedin.com/in/williamhgates",
    "data": {
      "fullName": "Bill Gates",
      "headline": "Co-chair, Bill & Melinda Gates Foundation",
      "location": "Seattle, Washington, United States",
      "summary": "Co-chair of the Bill & Melinda Gates Foundation. Founder of Breakthrough Energy...",
      "experiences": [
        {
          "title": "Co-chair",
          "company": "Bill & Melinda Gates Foundation",
          "dateRange": "2000 - Present"
        }
      ],
      "education": [
        {
          "schoolName": "Harvard University",
          "degreeName": "Honorary Doctorate",
          "fieldOfStudy": "Law"
        }
      ],
      "skills": ["Philanthropy", "Software Development", "Global Health"]
    },
    "status": "success"
  }
]

🧪 本地测试与开发

  1. 安装依赖:

cd mcp-server
npm install
  1. 本地运行服务器:

LAKOME_API_KEY="your_api_key" node index.js
  1. 使用 MCP Inspector 检查:

npx @modelcontextprotocol/inspector node index.js

📄 许可证

MIT © Lakome

Available Tools

1 tool
extract_linkedin_profileA

Extracts comprehensive, structured profile data and intelligence from one or more LinkedIn profile URLs using the Lakome API.

Inputs: profileUrls (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is zero ambiguity between tools. The tool's purpose is clearly defined and distinct.

    Naming Consistency5/5

    The single tool follows a clear verb_noun pattern (extract_linkedin_profile), which is consistent and descriptive.

    Tool Count3/5

    A single tool is borderline for a server, but for a focused LinkedIn profile scraper it is not unreasonable. Still, the surface is minimal and offers no auxiliary capabilities.

    Completeness5/5

    The tool's description indicates it extracts comprehensive structured profile data from one or more URLs, which fully covers the server's stated purpose. No obvious gaps in the domain of LinkedIn profile scraping.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      High-performance autonomous MCP server that turns LinkedIn into an API for AI workflows, enabling profile management, job search, content posting, and document generation.
      14
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for AI-native LinkedIn prospecting. It enables lead research, audience building, conversation management, and controlled outreach actions such as messaging and publishing through an OAuth-protected remote endpoint.
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that lets AI assistants like Claude read LinkedIn data through your own logged-in browser session. Access profiles and companies, search for jobs, or get job details.
      17
      Apache 2.0