LinkedIn MCP Server
by johannsenlumio.github.JohannsenLum/linkedin-api-mcpv1.0.1
Read LinkedIn profiles, companies, jobs and messages via your own browser session
context tax
queued
security
queued
cold start
queued
freshness
Maintained59d ago
Install LinkedIn MCP server
Install in Claude Code
claude mcp add linkedin-api -e LINKEDIN_COOKIE='<linkedin-cookie>' -- uvx linkedin-api-mcpInstall in Cursor
{
"mcpServers": {
"linkedin-api": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<linkedin-cookie>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"linkedin-api": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<linkedin-cookie>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"linkedin-api": {
"type": "stdio",
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<linkedin-cookie>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"linkedin-api": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<linkedin-cookie>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LINKEDIN_COOKIE | — | yes | Your 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_HEADLESS | — | — | Run the browser headless. Defaults to true; set to 0 to watch what it does. |
| LINKEDIN_MIN_INTERVAL | — | — | Minimum seconds between LinkedIn actions. Defaults to 2. |
| LINKEDIN_MAX_PER_HOUR | — | — | Hard 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. |
Freshness
Maintained — last maintenance signal 59d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-12 · 59d ago · GitHub
Latest release
2026-08-12 · 59d ago · GitHub · v1.0.1
Package published
no data · npm/PyPI
Registry entry updated
2026-08-12 · 59d ago · official registry · v1.0.1
FAQ
›How do I install the LinkedIn MCP server in Claude Code?
Run: claude mcp add linkedin-api -e LINKEDIN_COOKIE='<linkedin-cookie>' -- uvx linkedin-api-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does LinkedIn require an API key?
Yes. It expects LINKEDIN_COOKIE, of which 1 is a secret.
›Can I use LinkedIn as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is LinkedIn in the official MCP registry?
Yes, as io.github.JohannsenLum/linkedin-api-mcp.
Alternatives to LinkedIn
Other browser automation MCP servers.