home / mcp / linkedin data api mcp server
Provides access to Linkedin Data Api data via MCP endpoints for profiles, companies, and posts.
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.
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.
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_apiAPI 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.Enrich company data by domain; returns company details with 1 credit per successful request.
Fetch full company details by LinkedIn ID; enriches company data.
Enrich profile data including experience, skills, languages, and companies.
Search profiles by keyword with optional filters such as location and title.
Retrieve a profile post and its comments by post URN.
Get the last 50 comments of a profile; 1 credit per call.
Find posts a profile reacted to and related like activity.
Get complete profile data by a public URL.
Get last 50 posts from a company; supports paging with start/paginationToken.
Get full job details including skills and company information.
Retrieve an LinkedIn article by URL.
Search posts by keywords.
Search jobs with multiple filters such as keywords, location, and industry.
Health check endpoint to verify server readiness.
Get profile recommendations data such as received/recommendations.