L

LinkedIn

MCP server · by JohannsenLum

Browser Automation Python v1.0.1

Read LinkedIn profiles, companies, jobs and messages via your own browser session

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.0.1

Python
uvx linkedin-api-mcp

Setup by client

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>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

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.

GitHub

⭐ 2 stars · 最近更新于 78 天前 · MIT license

About this server

Distributed as Python, listed under Browser Automation. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install LinkedIn?

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.

Is LinkedIn free to use?

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.

Which clients support LinkedIn?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/linkedin-api-mcp.svg)](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>