Revolutionize LinkedIn API interactions with our comprehensive MCP server for advanced data retrieval and integration
LinkedInMCP is an innovative Model Context Protocol (MCP) server designed to revolutionize how developers interact with LinkedIn's API by providing a robust, extensible framework for advanced LinkedIn data retrieval and interaction. This project fills the gap between traditional static LinkedIn APIs and more flexible modern AI applications, offering a standardized protocol that allows AI applications like Claude Desktop, Continue, Cursor, and others to seamlessly integrate with LinkedIn through MCP.
LinkedInMCP leverages Model Context Protocol (MCP) to create an intelligent, context-aware method of working with professional network data. The core capabilities include:
The MCP protocol flow ensures a secure and efficient connection between AI applications and LinkedIn by enabling intelligent context management and providing standardized interactions.
LinkedInMCP is built using TypeScript and implements the Model Context Protocol (MCP) to provide a robust and extensible framework for interacting with LinkedIn. Key components include:
The project structure includes both server-side and client-side components, allowing for flexible integration and customization.
To get started with LinkedInMCP, follow these steps:
Prerequisites:
Project Setup:
git clone https://github.com/Dishant27/linkedin-mcp-server.git
cd linkedin-mcp-server
npm install
Configuration Files:
.env File: Create a .env
file in the project root and set up your LinkedIn Client ID and Secret.
LINKEDIN_CLIENT_ID=your_client_id_here
LINKEDIN_CLIENT_SECRET=your_client_secret_here
claude_desktop_config.json (for Claude Desktop):
{
"mcpServers": {
"linkedin": {
"command": "node",
"args": ["/absolute/path/to/linkedin-mcp-server/dist/index.js"],
"env": {
"LINKEDIN_CLIENT_ID": "your_client_id",
"LINKEDIN_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Start the MCP Server:
npm run build
npm start
LLM Configuration Example:
{
"tools": [
{
"name": "search-people",
"description": "Search for LinkedIn profiles",
"parameters": {
"type": "object",
"properties": {
"keywords": { "type": "string", "description": "Keywords to search for in profiles" },
"currentCompany": { "type": "array", "items": {"type": "string"}, "description": "Filter by current company" },
"industries": { "type": "array", "items": {"type": "string"}, "description": "Filter by industries" },
"location": { "type": "string", "description": "Filter by location" }
}
}
},
{
"name": "get-profile",
"description": "Retrieve detailed LinkedIn profile information",
"parameters": {
"type": "object",
"properties": {
"publicId": { "type": "string", "description": "Public ID of the LinkedIn profile" },
"urnId": { "type": "string", "description": "URN ID of the LinkedIn profile" }
}
}
}
]
}
The LinkedInMCP server is compatible with various MCP clients, including:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
This compatibility matrix indicates full support for resources, tools, and prompts in Claude Desktop and Continue.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
What MCP clients are compatible with LinkedInMCP?
How can I set up the MCP server for integration with an AI application?
.env
file and configure the claude_desktop_config.json
.Can I use LinkedInMCP to retrieve detailed profile information?
get-profile
, you can fetch comprehensive profiles of specific users.What is the process for setting up the MCP server?
How does LinkedInMCP ensure data privacy during interactions with LinkedIn's API?
LinkedInMCP revolutionizes AI application integration by providing a standardized MCP protocol for interfacing with the powerful LinkedIn API. By leveraging advanced search capabilities, detailed profile retrieval, and comprehensive job market intelligence, this server enhances the functionality of AI applications such as Claude Desktop and Continue. With its robust security measures and compatibility across various MCP clients, LinkedInMCP is an essential tool for developers looking to build sophisticated AI solutions that interact seamlessly with LinkedIn data.
By integrating LinkedInMCP into your AI workflow, you can leverage the vast professional network on LinkedIn while maintaining privacy and security.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration