MCP server
Read LinkedIn profiles, companies, jobs and messages via your own browser session
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About LinkedIn
LinkedIn is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add linkedin-api-mcp --env LINKEDIN_COOKIE='<LINKEDIN_COOKIE>' -- uvx linkedin-api-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<LINKEDIN_COOKIE>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<LINKEDIN_COOKIE>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"linkedin-api-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<LINKEDIN_COOKIE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<LINKEDIN_COOKIE>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<LINKEDIN_COOKIE>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
LINKEDIN_COOKIEYour LinkedIn li_at session cookie. Optional if you have already stored it in the OS keyring with `linkedin-api-mcp auth`, which is the recommended route: this cookie is equivalent to being logged in as you.LINKEDIN_HEADLESSRun the browser headless. Defaults to true; set to 0 to watch what it does.LINKEDIN_MIN_INTERVALMinimum seconds between LinkedIn actions. Defaults to 2.LINKEDIN_MAX_PER_HOURHard ceiling on LinkedIn actions per rolling hour. Defaults to 120. The server refuses past this rather than sleeping, so an agent in a loop is told to stop.
Pricing
Open source
More servers for the same service
LinkedIn FAQ
Is LinkedIn free?
Yes. LinkedIn is open source, so you can use and self-host it for free.
How do I add LinkedIn to Claude Code?
Run this command in your terminal: claude mcp add linkedin-api-mcp --env LINKEDIN_COOKIE='<LINKEDIN_COOKIE>' -- uvx linkedin-api-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.