Read LinkedIn profiles, companies, jobs and messages via your own browser session
registry version 1.0.1
Python
uvx linkedin-api-mcpPython
uvx linkedin-api-mcp@1.0.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp@1.0.1"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env LINKEDIN_COOKIE=<YOUR_LINKEDIN_COOKIE> linkedin-api-mcp -- uvx linkedin-api-mcp
claude mcp add --env LINKEDIN_COOKIE=<YOUR_LINKEDIN_COOKIE> linkedin-api-mcp -- uvx linkedin-api-mcp@1.0.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp@1.0.1"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}{
"servers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp@1.0.1"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}{
"mcpServers": {
"linkedin-api-mcp": {
"command": "uvx",
"args": [
"linkedin-api-mcp@1.0.1"
],
"env": {
"LINKEDIN_COOKIE": "<YOUR_LINKEDIN_COOKIE>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
LINKEDIN_COOKIE secret — 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.⭐ 2 stars · 最近更新于 78 天前 · MIT license
Distributed as Python, listed under Browser Automation. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/JohannsenLum/linkedin-api-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/linkedin-api-mcp/)
HTML
<a href="https://mcpnav.net/server/linkedin-api-mcp/"><img src="https://mcpnav.net/badge/linkedin-api-mcp.svg" alt="Listed on MCPNav" height="20"></a>