A Model Context Protocol (MCP) server that enables interaction with LinkedIn through Claude and other AI assistants. This server allows you to scrape LinkedIn profiles, companies, jobs, and perform job searches.
To install LinkedIn MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @stickerdaniel/linkedin-mcp-server --client claude
git clone https://github.com/stickerdaniel/linkedin-mcp-server
cd linkedin-mcp-server
Or download and extract the zip file.
Using uv
(recommended):
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On macOS/Linux
# OR
.venv\Scripts\activate # On Windows
Using uv
:
uv add "mcp[cli]" selenium httpx inquirer pyperclip
uv add "git+https://github.com/stickerdaniel/linkedin_scraper.git"
ChromeDriver is required for Selenium to interact with Chrome. You need to install the version that matches your Chrome browser.
Check your Chrome version:
Download matching ChromeDriver:
Make ChromeDriver accessible:
/usr/local/bin
on macOS/Linux)export CHROMEDRIVER=/path/to/chromedriver # macOS/Linux
# OR
set CHROMEDRIVER=C:\path\to\chromedriver.exe # Windows
# Using uv (recommended)
uv run main.py --no-lazy-init --no-headless
Lazy initialization (default behavior):
export LINKEDIN_EMAIL=your.email@example.com
export LINKEDIN_PASSWORD=your_password
Configure Claude Desktop:
Example Claude Desktop configuration:
{
"mcpServers": {
"linkedin-scraper": {
"command": "/path/to/uv",
"args": ["--directory", "/path/to/project", "run", "main.py", "--no-setup"],
"env": {
"LINKEDIN_EMAIL": "your.email@example.com",
"LINKEDIN_PASSWORD": "your_password"
}
}
}
}
Examples of what you can ask Claude:
~/.linkedin_mcp_credentials.json
with user-only permissionsIf you encounter ChromeDriver errors:
If login fails:
--no-headless
to see where the login fails--debug
to see more detailed logsIf Claude cannot connect to the server:
This project is licensed under the MIT License - see the LICENSE file for details.
Note: This tool is for personal use only. Use responsibly and in accordance with LinkedIn's terms of service. Web scraping may violate LinkedIn's terms of service in some cases.
Seamless access to top MCP servers powering the future of AI integration.