The HDW MCP Server provides comprehensive access to LinkedIn data and functionalities through the HorizonDataWave API, enabling you to search for users, retrieve profiles, manage connections, and interact with LinkedIn content through a Model Context Protocol interface.
Install HDW MCP Server automatically for Claude Desktop:
npx -y @smithery/cli install @horizondatawave/hdw-mcp-server --client claude
# 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
Register at app.horizondatawave.ai to receive your API key and 100 free credits. You'll get:
Create a .env
file in the project root with your credentials:
HDW_ACCESS_TOKEN=YOUR_HD_W_ACCESS_TOKEN
HDW_ACCOUNT_ID=YOUR_HD_W_ACCOUNT_ID
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:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Option 1 (Simple):
In Cursor Settings, 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 (Recommended):
Copy 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
Update your Windsurf configuration file (mcp_config.json
):
{
"mcpServers": {
"hdw": {
"command": "node",
"args": ["/path/to/your/build/index.js"],
"env": {
"HDW_ACCESS_TOKEN": "YOUR_HD_W_ACCESS_TOKEN",
"HDW_ACCOUNT_ID": "YOUR_HD_W_ACCOUNT_ID"
}
}
}
}
Note: Consider disabling official web tools to conserve API credits.
Find LinkedIn users with various filters:
{
"name": "search_linkedin_users",
"parameters": {
"keywords": "software engineer",
"company_keywords": "Google",
"count": 20
}
}
Retrieve detailed profile information:
{
"name": "get_linkedin_profile",
"parameters": {
"user": "https://www.linkedin.com/in/username/"
}
}
Look up LinkedIn users by email:
{
"name": "get_linkedin_email_user",
"parameters": {
"email": "[email protected]"
}
}
Retrieve posts for a LinkedIn user:
{
"name": "get_linkedin_user_posts",
"parameters": {
"urn": "fsd_profile:AAE12345678",
"count": 15
}
}
Retrieve comments for a specific post:
{
"name": "get_linkedin_post_comments",
"parameters": {
"urn": "activity:6789012345678",
"sort": "recent",
"count": 25
}
}
Retrieve reposts for a LinkedIn post:
{
"name": "get_linkedin_post_reposts",
"parameters": {
"urn": "activity:6789012345678"
}
}
Send a chat message using the LinkedIn management API:
{
"name": "send_linkedin_chat_message",
"parameters": {
"user": "fsd_profile:AAE12345678",
"text": "Hello, I'd like to connect!"
}
}
Send a connection invitation:
{
"name": "send_linkedin_connection",
"parameters": {
"user": "fsd_profile:AAE12345678"
}
}
Retrieve a list of LinkedIn user connections:
{
"name": "get_linkedin_user_connections",
"parameters": {
"count": 50
}
}
Find LinkedIn companies using Google search:
{
"name": "get_linkedin_google_company",
"parameters": {
"keywords": ["Acme Corporation"],
"with_urn": true
}
}
Retrieve detailed information about a LinkedIn company:
{
"name": "get_linkedin_company",
"parameters": {
"company": "https://www.linkedin.com/company/google/"
}
}
Retrieve employees for a given LinkedIn company:
{
"name": "get_linkedin_company_employees",
"parameters": {
"companies": ["urn:li:fs_miniCompany:1441"],
"count": 20
}
}
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.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
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.
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 explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.