Skip to main content
Glama
rcreech93

LinkedIn MCP

by rcreech93

LinkedIn MCP

This is a simple implementation of an MCP LinkedIn server using a Selenium and Chromedriver based scraper in the background.

At the moment it only support profile scraping and profile search.

Pre-requisites

Please install uv.

Create a virtual environment and sync the libraries.

uv venv
uv sync

Then install Chromedriver: https://developer.chrome.com/docs/chromedriver/get-started

The whole parsing of the LinkedIn webpage is based on Chromedriver.

Related MCP server: LinkedIn MCP Server

Environment

Make sure you have all of these variables in your .env file:

LINKEDIN_USER_1=<user>
LINKEDIN_PASSWORD_1=<pass>

LINKEDIN_USER_2=<user>
LINKEDIN_PASSWORD_2=<pass>

COOKIE_DIR=/var/linkedin/cookies

MCP_HOST=0.0.0.0
MCP_PORT=8050
# Either sse or stdio or streamable-http
MCP_TRANSPORT=streamable-http
MCP_TIMEOUT=150

You can use multiple LinkedIn username and password combinations.

Run in dev mode with MCP Inspector

mcp dev ./src/linkedin_mcp/server/server.py

Run with stdio

python ./src/linkedin_mcp/client/client_stdio.py

Run the server

uv run ./src/linkedin_mcp/server/server.py

Note: If you're experiencing issues with code changes not being picked up, clear the Python cache first:

# Windows PowerShell
.\clear_cache.ps1

# Or manually:
Get-ChildItem -Path . -Filter __pycache__ -Recurse -Directory | Remove-Item -Recurse -Force

Then restart the server. Alternatively, use Python's -B flag to skip bytecode generation:

uv run python -B ./src/linkedin_mcp/server/server.py

Integration with Gemini CLI

This is a modified .settings.json of the Gemini CLI with which you can use for connecting and using the MCP:

{
  "general": {
    "preferredEditor": "vscode"
  },
  "security": {
    "auth": {
      "selectedType": "gemini-api-key"
    }
  },
  "ui": {
    "theme": "Default"
  },
  "mcpServers": {
    "linkedin-scraper": {
      "httpUrl": "http://0.0.0.0:8050/mcp/",
      "transport": "streamable-http"
    }
  }
}
Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for LinkedIn automation that enables users to search for jobs, retrieve profile details, manage connections, and read or send messages. It leverages Playwright and Browserbase to interact with LinkedIn through an existing authenticated browser session.
    6
    8
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Fully featured MCP server that provides automation tools for LinkedIn, supporting browser-based scraping and API-based operations for content management, media uploads, and reactions.
    6
    3
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    MCP server for programmable LinkedIn automation via Playwright, offering 20 tools for profile management, messaging, feed interaction, and job searching through real browser automation.
    24
    MIT

View all related MCP servers

Related MCP Connectors

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.

  • Official Octoparse MCP server for template discovery, cloud tasks, and structured data export.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rcreech93/linkedin_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server