LinkedIn API MCP server

Bridges AI systems with LinkedIn's API for searching users, retrieving profiles, accessing posts, managing connections, and sending messages to support sales prospecting, recruitment, and professional networking workflows.
Back to servers
Setup instructions
Provider
Horizon Data Wave
Release date
Mar 16, 2025
Language
TypeScript
Package
Stats
3.1K downloads
35 stars

The HDW MCP Server provides comprehensive access to LinkedIn data and functionalities through the HorizonDataWave API, enabling both data retrieval and robust user account management. It serves as a Model Context Protocol (MCP) server that integrates with AI assistants to provide powerful LinkedIn data capabilities.

Installation Options

Using Smithery (Recommended)

The easiest way to install HDW MCP Server for Claude Desktop is via Smithery:

npx -y @smithery/cli install @horizondatawave/hdw-mcp-server --client claude

Manual Installation

1. Clone the Repository

# 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. Get API Credentials

Register at app.horizondatawave.ai to obtain your API key and 100 free credits. You'll receive:

  • HDW_ACCESS_TOKEN
  • HDW_ACCOUNT_ID

3. Configure Environment

Create a .env file in the project root:

HDW_ACCESS_TOKEN=YOUR_HD_W_ACCESS_TOKEN
HDW_ACCOUNT_ID=YOUR_HD_W_ACCOUNT_ID

Client Configuration

Claude Desktop

Update your Claude configuration file with:

{
  "mcpServers": {
    "hdw": {
      "command": "npx",
      "args": ["-y","@horizondatawave/mcp"],
      "env": {
        "HDW_ACCESS_TOKEN": "YOUR_HD_W_ACCESS_TOKEN",
        "HDW_ACCOUNT_ID": "YOUR_HD_W_ACCOUNT_ID"
      }
    }
  }
}

Configuration file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor

Option 1: Open Cursor Settings and add a new MCP server with the command:

env HDW_ACCESS_TOKEN=your-access-token HDW_ACCOUNT_ID=your-account-id node /path/to/your/build/index.js

Option 2: Copy the template run.template.sh to a new file (e.g., run.sh), update it with your credentials, and configure Cursor to run:

sh /path/to/your/run.sh

Windsurf

Update your Windsurf mcp_config.json with:

{
  "mcpServers": {
    "hdw": {
      "command": "npx",
      "args": ["-y","@horizondatawave/mcp"],
      "env": {
        "HDW_ACCESS_TOKEN": "YOUR_HD_W_ACCESS_TOKEN",
        "HDW_ACCOUNT_ID": "YOUR_HD_W_ACCOUNT_ID"
      }
    }
  }
}

Available Tools

HDW MCP Server provides numerous tools that can be used through the MCP protocol:

LinkedIn User Tools

  • search_linkedin_users: Search for LinkedIn users with filters including keywords, name, title, company, location, etc.
  • get_linkedin_profile: Retrieve detailed profile information for a specific user
  • get_linkedin_email_user: Find LinkedIn user details by email address
  • get_linkedin_user_posts: Get posts for a LinkedIn user
  • get_linkedin_user_reactions: Get reactions for a LinkedIn user
  • get_linkedin_user_connections: Retrieve a user's connections

LinkedIn Interaction Tools

  • get_linkedin_chat_messages: Retrieve chat messages
  • send_linkedin_chat_message: Send a chat message
  • send_linkedin_connection: Send a connection invitation
  • send_linkedin_post_comment: Create a comment on a post or reply

LinkedIn Post Tools

  • get_linkedin_post_reposts: Get reposts for a specific post
  • get_linkedin_post_comments: Get comments for a specific post
  • get_linkedin_post_reactions: Get reactions for a specific post

LinkedIn Company Tools

  • get_linkedin_google_company: Search for LinkedIn companies via Google
  • get_linkedin_company: Get detailed information about a company
  • get_linkedin_company_employees: Get employees for a given company

Other Search Tools

  • search_reddit_posts: Search for Reddit posts with various filters

Usage Example

Once configured, you can use these tools in your AI assistant by referring to them. For example, in Claude you might say:

"Search for LinkedIn users who work at Google in a marketing role using the HDW MCP server."

The AI will then use the search_linkedin_users tool with appropriate parameters to fulfill your request.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "hdw" '{"command":"npx","args":["-y","@horizondatawave/mcp"],"env":{"HDW_ACCESS_TOKEN":"YOUR_HD_W_ACCESS_TOKEN","HDW_ACCOUNT_ID":"YOUR_HD_W_ACCOUNT_ID"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "hdw": {
            "command": "npx",
            "args": [
                "-y",
                "@horizondatawave/mcp"
            ],
            "env": {
                "HDW_ACCESS_TOKEN": "YOUR_HD_W_ACCESS_TOKEN",
                "HDW_ACCOUNT_ID": "YOUR_HD_W_ACCOUNT_ID"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "hdw": {
            "command": "npx",
            "args": [
                "-y",
                "@horizondatawave/mcp"
            ],
            "env": {
                "HDW_ACCESS_TOKEN": "YOUR_HD_W_ACCESS_TOKEN",
                "HDW_ACCOUNT_ID": "YOUR_HD_W_ACCOUNT_ID"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later