LinkedIn (eliasbiondo)

Social media

A Model Context Protocol (MCP) server for LinkedIn, search people, companies, and jobs, scrape profiles, and get structured data via any MCP-compatible AI client.

Your AI app calls the LinkedIn (eliasbiondo) MCP server, which does the social media work and sends the result back to the chat.

About LinkedIn (eliasbiondo)

LinkedIn (eliasbiondo) is a community MCP server from eliasbiondo, filed in our directory under social media. A Model Context Protocol (MCP) server for LinkedIn, search people, companies, and jobs, scrape profiles, and get structured data via any MCP-compatible AI client.

At a glance

Publisher
eliasbiondo (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
225

How to set up LinkedIn (eliasbiondo)

  1. Follow the install steps in the LinkedIn (eliasbiondo) README; it is written in Python, so have that toolchain ready.
  2. Check the LinkedIn (eliasbiondo) README for keys or settings; the registry lists none that LinkedIn (eliasbiondo) requires.
  3. Add LinkedIn (eliasbiondo) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the LinkedIn (eliasbiondo) tools to confirm the connection.
  5. Run one read-only task with LinkedIn (eliasbiondo) first, and keep your app asking before each tool call until the results look right.

LinkedIn (eliasbiondo) compared with similar servers

  • Taisly Social Media Posting by taisly has fewer GitHub stars than LinkedIn (eliasbiondo) (211 against 225); both are community servers, and Taisly Social Media Posting runs as a remote server and LinkedIn (eliasbiondo) runs on your own machine.
  • X (Twitter) MCP Server by Xquik by Xquik-dev has more GitHub stars than LinkedIn (eliasbiondo) (231 against 225); both are community servers, and X (Twitter) MCP Server by Xquik runs as a remote server and LinkedIn (eliasbiondo) runs on your own machine.
  • Jlbadano Ig by jlbadano has fewer GitHub stars than LinkedIn (eliasbiondo) (210 against 225); both are community servers, and both run locally.

Before you connect LinkedIn (eliasbiondo)

  • Give LinkedIn (eliasbiondo) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each LinkedIn (eliasbiondo) tool call until you trust what it does with them.
  • Treat text that LinkedIn (eliasbiondo) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for LinkedIn (eliasbiondo) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for LinkedIn (eliasbiondo)

How marketing and sales teams put LinkedIn (eliasbiondo) to work, by company size. Pick the size closest to yours and start LinkedIn (eliasbiondo) on one use case.

Small business

  • A solo marketer can use LinkedIn (eliasbiondo) to draft a week of posts from one idea and check what performed last month before planning the next.
  • Local businesses can ask LinkedIn (eliasbiondo) which posts drove comments and follows, then do more of what worked instead of posting on guesswork.
  • LinkedIn (eliasbiondo) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Social teams can connect LinkedIn (eliasbiondo) to pull engagement across accounts into one weekly summary their leads actually read.
  • Demand gen teams can use LinkedIn (eliasbiondo) to spot posts that earned replies from target accounts and hand those names to sales.
  • Start LinkedIn (eliasbiondo) on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise brands can route LinkedIn (eliasbiondo) drafts through legal and brand review, with publishing kept to approved people and every post logged.
  • Large social teams can use LinkedIn (eliasbiondo) for listening across regions, surfacing complaints and trends to the right owner without a manual sweep.
  • LinkedIn (eliasbiondo) is a community server, so have security review the code and pin a version before LinkedIn (eliasbiondo) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

LinkedIn (eliasbiondo) README

From eliasbiondo/linkedin-mcp-server on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

LinkedIn MCP Server

A Model Context Protocol (MCP) server for LinkedIn. Search people, companies, and jobs, scrape profiles, and retrieve structured JSON data from any MCP-compatible AI client.

https://github.com/user-attachments/assets/50cd8629-41ee-4261-9538-40dc7d30294e

Built with FastMCP, Patchright, and a clean hexagonal architecture.

Features

Category Tools
People get_person_profile · search_people
Companies get_company_profile · get_company_posts
Jobs get_job_details · search_jobs
Browser close_browser
Person Profile Sections

The get_person_profile tool supports granular section scraping. Request only the sections you need:

  • Main profile (always included), name, headline, location, followers, connections, about, profile image
  • Experience, title, company, dates, duration, description, company logo
  • Education, school, degree, dates, description, school logo
  • Contact info, email, phone, websites, birthday, LinkedIn URL
  • Interests, people, companies, and groups followed
  • Honors and awards, title, issuer, description
  • Languages, language name and proficiency level
  • Posts, recent activity with reactions and timestamps
  • Recommendations, received and given, with author details
Company Profile Sections
  • About (always included), overview, website, industry, size, headquarters, specialties, logo
  • Posts, recent feed posts with engagement metrics
  • Jobs, current open positions
Job Search Filters

The search_jobs tool supports the following filters:

Filter Values
date_posted past_hour, past_24_hours, past_week, past_month
job_type full_time, part_time, contract, temporary, internship, other
experience_level entry, associate, mid_senior, director, executive
work_type on_site, remote, hybrid
easy_apply true / false
sort_by date, relevance

Prerequisites

  • Python 3.12 or later
  • uv package manager
  • A LinkedIn account for authentication

Quick Start

1. Clone and install
git clone https://github.com/eliasbiondo/linkedin-mcp-server.git
cd linkedin-mcp-server
uv sync
2. Install browser

This project uses Patchright (a patched fork of Playwright) for browser automation. You need to install the browser binaries before first use:

uv run patchright install

Windows users: If the command above fails with program not found, run instead:

uv run python -m patchright install
3. Authenticate with LinkedIn
uv run linkedin-mcp-server --login

A browser window will open. Log in to LinkedIn and the session will be persisted locally at ~/.linkedin-mcp-server/browser-data.

4. Run the server

stdio transport (default, for Claude Desktop, Cursor, and similar clients):

uv run linkedin-mcp-server

HTTP transport (for remote clients, the MCP Inspector, etc.):

uv run linkedin-mcp-server --transport streamable-http --host 0.0.0.0 --port 8000

Client Integration

Claude Desktop / Cursor

Add to your MCP configuration file:

{
  "mcpServers": {
    "linkedin": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/linkedin-mcp-server",
        "run", "linkedin-mcp-server"
      ]
    }
  }
}
MCP Inspector
npx @modelcontextprotocol/inspector

Then connect to http://localhost:8000/mcp if using HTTP transport.

Configuration

Configuration follows a strict precedence chain: CLI args > environment variables > .env file > defaults.

CLI Arguments
Argument Description Default
--transport stdio or streamable-http stdio
--host Host for HTTP transport 127.0.0.1
--port Port for HTTP transport 8000
--log-level DEBUG, INFO, WARNING, ERROR WARNING
--headless Run browser in headless mode true
--no-headless Show browser window (visible mode) ,
--login Open browser for LinkedIn login ,
--logout Clear stored credentials ,
--status Check session status ,
Environment Variables

Create a .env file in the project root:

# Server
LINKEDIN_TRANSPORT=stdio
LINKEDIN_HOST=127.0.0.1
LINKEDIN_PORT=8000
LINKEDIN_LOG_LEVEL=WARNING

# Browser
LINKEDIN_HEADLESS=true
LINKEDIN_SLOW_MO=0
LINKEDIN_TIMEOUT=10000
LINKEDIN_VIEWPORT_WIDTH=1280
LINKEDIN_VIEWPORT_HEIGHT=720
LINKEDIN_CHROME_PATH=
LINKEDIN_USER_AGENT=
LINKEDIN_USER_DATA_DIR=~/.linkedin-mcp-server/browser-data

Architecture

The project follows a hexagonal (ports and adapters) architecture with strict layer separation:

src/linkedin_mcp_server/
├── domain/              # Core business logic, zero external dependencies
│   ├── models/          # Data models (Person, Company, Job, Search)
│   ├── parsers/         # HTML to structured data parsers
│   ├── exceptions.py    # Domain exceptions
│   └── value_objects.py # Immutable configuration and content objects
├── ports/               # Abstract interfaces
│   ├── auth.py          # Authentication port
│   ├── browser.py       # Browser automation port
│   └── config.py        # Configuration port
├── application/         # Use cases, orchestration layer
│   ├── scrape_person.py
│   ├── scrape_company.py
│   ├── scrape_job.py
│   ├── search_people.py
│   ├── search_jobs.py
│   └── manage_session.py
├── adapters/            # Concrete implementations
│   ├── driven/          # Infrastructure adapters (browser, auth, config)
│   └── driving/         # Interface adapters (CLI, MCP tools, serialization)
└── container.py         # Dependency injection composition root
Design Decisions
  • Ports and adapters, Domain logic is fully decoupled from infrastructure. The browser engine, MCP framework, and configuration source can all be swapped independently.
  • Dependency injection, A single Container class acts as the composition root and is the only place that imports concrete adapter classes.
  • Structured JSON output, LinkedIn HTML is parsed into typed Python dataclasses, then serialized to JSON for reliable LLM consumption.
  • Session persistence, Browser state is saved to disk, so authentication is required only once.

Development

Setup
uv sync --group dev
uv run pre-commit install
Running tests
uv run pytest

With coverage:

uv run pytest --cov=linkedin_mcp_server
Linting and formatting

This project uses Ruff for both linting and formatting. Pre-commit hooks will run these automatically on each commit.

# Lint
uv run ruff check .

# Lint and auto-fix
uv run ruff check . --fix

# Format
uv run ruff format .

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome. Please read the contributing guide for details on the development workflow and submission process.

Disclaimer

This tool is intended for personal and educational use. Scraping LinkedIn may violate their Terms of Service. Use responsibly and at your own risk. The authors are not responsible for any misuse or consequences arising from the use of this software.

Questions about LinkedIn (eliasbiondo)

What is the LinkedIn (eliasbiondo) MCP server?

A Model Context Protocol (MCP) server for LinkedIn, search people, companies, and jobs, scrape profiles, and get structured data via any MCP-compatible AI client. LinkedIn (eliasbiondo) is maintained by eliasbiondo on GitHub at eliasbiondo/linkedin-mcp-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the LinkedIn (eliasbiondo) MCP server?

LinkedIn (eliasbiondo) doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (eliasbiondo/linkedin-mcp-server). Like most servers, LinkedIn (eliasbiondo) ends with a command or URL you paste into your AI app's MCP config.

Does LinkedIn (eliasbiondo) need an API key?

The registry lists no required keys for LinkedIn (eliasbiondo). Check the LinkedIn (eliasbiondo) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is LinkedIn (eliasbiondo) an official MCP server?

No. LinkedIn (eliasbiondo) is a community server maintained by eliasbiondo. Community servers can be excellent; read the code and the open issues before you give LinkedIn (eliasbiondo) access to company data.

What license is LinkedIn (eliasbiondo) under?

LinkedIn (eliasbiondo) is released under the MIT license, according to its GitHub repository. The license covers the code of LinkedIn (eliasbiondo); the service it connects to has its own terms.