home / mcp / linkedin data api mcp server

Linkedin Data Api MCP Server

Provides access to Linkedin Data Api data via MCP endpoints for profiles, companies, and posts.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bach-ai-tools-bachai-linkedin-data-api": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

This MCP server lets you access the Linkedin Data Api through a standardized MCP interface, enabling you to query profiles, companies, posts, and more from LinkedIn via simple MCP clients. It provides ready-to-run options and centralized configuration so you can integrate rich data access into your apps with minimal setup.

How to use

You will run this MCP server as a stdio-based process or via an orchestration tool that expects a local command. The server requires an API key for authentication. After you start it, you can call endpoints to enrich profiles, fetch company data, search profiles and jobs, and retrieve posts and comments.

How to install

Prerequisites you need on your machine before starting are Python and a runtime utility for MCP integration if you choose the uvx path.

Install the Python package from PyPI, then pick a run method that suits your workflow.

Step by step commands you can copy exact names for quick setup:

pip install bach-linkedin_data_api
```

```
# Run with uvx (recommended, auto-installs uvx if needed)
uvx --from bach-linkedin_data_api bach_linkedin_data_api

# Or run the development server directly
python server.py

# Or install and run as a CLI command after installation
pip install bach-linkedin_data_api
bach_linkedin_data_api

Configuration and usage notes

API authentication requires an API key to be provided in the environment. Set the key before starting any instance of the MCP server.

export API_KEY="your_api_key_here"
```

The server reads API_KEY from the environment and uses it to authorize requests.

Available tools

get_company_by_domain

Enrich company data by domain; returns company details with 1 credit per successful request.

get_company_details_by_id

Fetch full company details by LinkedIn ID; enriches company data.

get_profile_data

Enrich profile data including experience, skills, languages, and companies.

search_people

Search profiles by keyword with optional filters such as location and title.

get_profile_post_and_comments

Retrieve a profile post and its comments by post URN.

get_profile_comments

Get the last 50 comments of a profile; 1 credit per call.

get_profile_likes

Find posts a profile reacted to and related like activity.

get_profile_data_by_url

Get complete profile data by a public URL.

get_company_posts

Get last 50 posts from a company; supports paging with start/paginationToken.

get_job_details

Get full job details including skills and company information.

get_article

Retrieve an LinkedIn article by URL.

search-posts

Search posts by keywords.

search_jobs

Search jobs with multiple filters such as keywords, location, and industry.

health_check

Health check endpoint to verify server readiness.

get_profile_recommendations

Get profile recommendations data such as received/recommendations.