- Home
- MCP servers
- Linkedin Data Api
Linkedin Data Api
- python
0
GitHub Stars
python
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
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.