# LinkedIn数据管理服务器
## 基本信息
- Slug: `horizondatawave-hdw-mcp-server`
- Source: modelscope
- Publisher: @horizondatawave/hdw-mcp-server
- Categories: search / social-media
- Hosted: Yes
- License: MIT License
- Source URL: https://www.modelscope.cn/mcp/servers/@horizondatawave/hdw-mcp-server
## 简介
一种模型上下文协议服务器，提供对LinkedIn数据和功能的全面访问，通过HorizonDataWave API实现数据检索和用户账户管理。
## 安装提示

```bash
# Clone the repository git clone https://github.com/horizondatawave/hdw-mcp-server.git # Change directory to the project folder cd hdw-mcp-server # Install dependencies npm install
```

## MCP Server 详情

# HDW MCP 服务器

一个模型上下文协议（MCP）服务器，通过使用HorizonDataWave API提供对LinkedIn数据和功能的全面访问，不仅支持数据检索，还支持强大的用户账户管理。
---

## 功能

- **LinkedIn 用户搜索：** 通过关键词、姓名、职位、公司、地点、行业和教育背景筛选和搜索LinkedIn用户。
- **个人资料查询：** 获取LinkedIn用户的详细个人资料信息。
- **邮箱查询：** 通过电子邮件地址查找LinkedIn用户详情。
- **帖子与反应：** 获取用户的帖子及其相关反应。
- **帖子转发与评论：** 获取特定LinkedIn帖子的转发和评论。
- **账户管理：**
  - **聊天功能：** 通过LinkedIn管理API接收和发送聊天消息。
  - **联系人管理：** 向LinkedIn用户发送联系请求。
  - **帖子评论：** 在LinkedIn帖子或回复上创建评论。
  - **用户联系人：** 获取用户的LinkedIn联系人列表。
- **公司搜索与详情：**
  - **Google 公司搜索：** 使用Google搜索查找LinkedIn公司——通常第一个结果是最匹配的。
  - **公司查询：** 获取关于LinkedIn公司的详细信息。
  - **公司员工：** 获取给定LinkedIn公司的员工列表。

- **Google 搜索**

---

## 工具

HDW MCP 服务器通过MCP协议暴露了几个工具。每个工具都定义了名称、描述和输入参数：

1. **Search LinkedIn Users**  
   **Name:** `search_linkedin_users`  
   **Description:** Search for LinkedIn users with various filters.  
   **Parameters:**  
   - `keywords` (optional): Any keyword for search.  
   - `first_name`, `last_name`, `title`, `company_keywords`, `school_keywords` (optional).  
   - `current_company`, `past_company`, `location`, `industry`, `education` (optional).  
   - `count` (optional, default: 10): Maximum number of results (max 1000).  
   - `timeout` (optional, default: 300): Timeout in seconds (20–1500).

2. **Get LinkedIn Profile**  
   **Name:** `get_linkedin_profile`  
   **Description:** Retrieve detailed profile information about a LinkedIn user.  
   **Parameters:**  
   - `user` (required): User alias, URL, or URN.  
   - `with_experience`, `with_education`, `with_skills` (optional, default: true).

3. **Get LinkedIn Email User**  
   **Name:** `get_linkedin_email_user`  
   **Description:** Look up LinkedIn user details by email.  
   **Parameters:**  
   - `email` (required): Email address.  
   - `count` (optional, default: 5).  
   - `timeout` (optional, default: 300).

4. **Get LinkedIn User Posts**  
   **Name:** `get_linkedin_user_posts`  
   **Description:** Retrieve posts for a LinkedIn user by URN.  
   **Parameters:**  
   - `urn` (required): User URN (must include prefix, e.g. `fsd_profile:...`).  
   - `count` (optional, default: 10).  
   - `timeout` (optional, default: 300).

5. **Get LinkedIn User Reactions**  
   **Name:** `get_linkedin_user_reactions`  
   **Description:** Retrieve reactions for a LinkedIn user by URN.  
   **Parameters:**  
   - `urn` (required).  
   - `count` (optional, default: 10).  
   - `timeout` (optional, default: 300).

6. **Get LinkedIn Chat Messages**  
   **Name:** `get_linkedin_chat_messages`  
   **Description:** Retrieve top chat messages from the LinkedIn management API.  
   **Parameters:**  
   - `user` (required): User URN (with prefix).  
   - `count` (optional, default: 20).  
   - `timeout` (optional, default: 300).

7. **Send LinkedIn Chat Message**  
   **Name:** `send_linkedin_chat_message`  
   **Description:** Send a chat message using the LinkedIn management API.  
   **Parameters:**  
   - `user` (required): Recipient user URN (with prefix).  
   - `text` (required): Message text.  
   - `timeout` (optional, default: 300).

8. **Send LinkedIn Connection Request**  
   **Name:** `send_linkedin_connection`  
   **Description:** Send a connection invitation to a LinkedIn user.  
   **Parameters:**  
   - `user` (required).  
   - `timeout` (optional, default: 300).

9. **Send LinkedIn Post Comment**  
   **Name:** `send_linkedin_post_comment`  
   **Description:** Create a comment on a LinkedIn post or reply.  
   **Parameters:**  
   - `text` (required): Comment text.  
   - `urn` (required): Activity or comment URN.  
   - `timeout` (optional, default: 300).

10. **Get LinkedIn User Connections**  
    **Name:** `get_linkedin_user_connections`  
    **Description:** Retrieve a list of LinkedIn user connections.  
    **Parameters:**  
    - `connected_after` (optional): Timestamp filter.  
    - `count` (optional, default: 20).  
    - `timeout` (optional, default: 300).

11. **Get LinkedIn Post Reposts**  
    **Name:** `get_linkedin_post_reposts`  
    **Description:** Retrieve reposts for a LinkedIn post.  
    **Parameters:**  
    - `urn` (required): Post URN (must start with `activity:`).  
    - `count` (optional, default: 10).  
    - `timeout` (optional, default: 300).

12. **Get LinkedIn Post Comments**  
    **Name:** `get_linkedin_post_comments`  
    **Description:** Retrieve comments for a LinkedIn post.  
    **Parameters:**  
    - `urn` (required).  
    - `sort` (optional, default: `"relevance"`; allowed values: `"relevance"`, `"recent"`).  
    - `count` (optional, default: 10).  
    - `timeout` (optional, default: 300).

13. **Get LinkedIn Google Company**  
    **Name:** `get_linkedin_google_company`  
    **Description:** Search for LinkedIn companies via Google – the first result is typically the best match.  
    **Parameters:**  
    - `keywords` (required): Array of company keywords.  
    - `with_urn` (optional, default: false).  
    - `count_per_keyword` (optional, default: 1; range 1–10).  
    - `timeout` (optional, default: 300).

14. **Get LinkedIn Company**  
    **Name:** `get_linkedin_company`  
    **Description:** Retrieve detailed information about a LinkedIn company.  
    **Parameters:**  
    - `company` (required): Company alias, URL, or URN.  
    - `timeout` (optional, default: 300).

15. **Get LinkedIn Company Employees**  
    **Name:** `get_linkedin_company_employees`  
    **Description:** Retrieve employees of a LinkedIn company.  
    **Parameters:**  
    - `companies` (required): Array of company URNs.  
    - `keywords`, `first_name`, `last_name` (optional).  
    - `count` (optional, default: 10).  
    - `timeout` (optional, default: 300).

---

## 设置指南

### 1. 克隆仓库 (macOS)

打开终端并运行以下命令：

```bash
# Clone the repository
git clone https://github.com/horizondatawave/hdw-mcp-server.git

# Change directory to the project folder
cd hdw-mcp-server

# Install dependencies
npm install
```


### 2. 获取您的 API 凭证

在 [app.horizondatawave.ai](https://app.horizon…

