Overview
Description from the maker (original English)
Read LinkedIn profiles, companies, jobs and messages via your own browser session
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiVery new↓ 27/wk · ★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Marketing & social media
- You need to fill in: LINKEDIN_COOKIE
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
LINKEDIN_COOKIE,LINKEDIN_HEADLESS,LINKEDIN_MIN_INTERVAL,LINKEDIN_MAX_PER_HOUR
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- PyPIPython’s uv installed (for the uvx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"linkedin-api": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "your-value",
"LINKEDIN_HEADLESS": "your-value",
"LINKEDIN_MIN_INTERVAL": "your-value",
"LINKEDIN_MAX_PER_HOUR": "your-value"
}
}
}
}Run this in your terminal
claude mcp add linkedin-api --env LINKEDIN_COOKIE=your-value --env LINKEDIN_HEADLESS=your-value --env LINKEDIN_MIN_INTERVAL=your-value --env LINKEDIN_MAX_PER_HOUR=your-value -- uvx linkedin-api-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"linkedin-api": {
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "your-value",
"LINKEDIN_HEADLESS": "your-value",
"LINKEDIN_MIN_INTERVAL": "your-value",
"LINKEDIN_MAX_PER_HOUR": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"linkedin-api": {
"type": "stdio",
"command": "uvx",
"args": [
"linkedin-api-mcp"
],
"env": {
"LINKEDIN_COOKIE": "your-value",
"LINKEDIN_HEADLESS": "your-value",
"LINKEDIN_MIN_INTERVAL": "your-value",
"LINKEDIN_MAX_PER_HOUR": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- 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…
LINKEDIN_HEADLESSenvRun the browser headless. Defaults to true; set to 0 to watch what it does.LINKEDIN_MIN_INTERVALenvMinimum seconds between LinkedIn actions. Defaults to 2.LINKEDIN_MAX_PER_HOURenvHard 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.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account JohannsenLum, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Marketing & social mediai
- More stars than 0% of the other 3678 servers in this category
- Published to the registry more recently than 23% of the other 3678 servers in this category
- Basic checks equal to or better than 100% of the other 3678 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is LinkedIn safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: LINKEDIN_COOKIE
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (1.0.1) reached the registry 3 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
What can I use instead?
In the same category: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
linkedin-api-mcp
Disclaimer: This is an independent, community project. It is not affiliated with, authorized by, endorsed by, or sponsored by LinkedIn Corporation or Microsoft. "LinkedIn" is a registered trademark of LinkedIn Corporation and is used here only descriptively to identify the third-party service this software interoperates with.
An MCP server for LinkedIn. It drives a real, headless browser (patchright, an undetected fork of Playwright) using your own logged-in LinkedIn session cookie. There is no scraping API, no credential stuffing, no bypass of LinkedIn's login. Your agent gets 12 read tools (profiles, companies, jobs, posts, your inbox) and two write tools, kept deliberately separate: sending a message and sending a connection request. Every action goes through a single browser session, one at a time, paced against limits you control. See Safety below.
Documentation: [mcp.johannsenlum.com/linkedin](https://mcp.johannsenlum.com/linkedin)
Install (one-click)
Deeplinks exist for Cursor and VS Code only; no other client has a documented install-link format. These prefill the command below, nothing else needs filling in since the cookie lives in your OS keyring, not an environment variable.
All clients
| Client | Deeplink? |
|---|---|
| Claude Code | no, one-line command |
| Claude Desktop | no |
| Cursor | yes, above |
| VS Code | yes, above |
| Codex CLI | no |
| Zed | no |
| Windsurf | no (Windsurf only resolves servers in its own registry) |
Claude Code
claude mcp add linkedin -- uvx linkedin-api-mcp
Claude Desktop : claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
No one-click install exists for Claude Desktop (it installs .mcpb bundles, not deeplinks). Copy this JSON in via Settings → Developer → Edit Config:
{
"mcpServers": { "linkedin": { "command": "uvx", "args": ["linkedin-api-mcp"] } } }
Cursor : ~/.cursor/mcp.json
Fallback for the button above, or if you'd rather paste it directly:
{
"mcpServers": { "linkedin": { "command": "uvx", "args": ["linkedin-api-mcp"] } } }
VS Code : .vscode/mcp.json
Fallback for the button above, or if you'd rather paste it directly. Note VS Code uses a servers key, not mcpServers:
{
"servers": { "linkedin": { "type": "stdio", "command": "uvx", "args": ["linkedin-api-mcp"] } } }
Codex CLI : ~/.codex/config.toml
[mcp_servers.linkedin]
command = "uvx" args = ["linkedin-api-mcp"]
Codex CLI's config schema has changed across versions and this block is not independently verified against a live install. If it doesn't load, the reliable path is running uvx linkedin-api-mcp yourself and pointing Codex at whatever its current stdio-server config expects.
Zed : settings.json
No deeplink exists for Zed. Add this under context_servers in your Zed settings:
{
"context_servers": { "linkedin": { "source": "custom", "command": "uvx", "args": ["linkedin-api-mcp"] } } }
Windsurf : ~/.codeium/windsurf/mcp_config.json
No deeplink exists for Windsurf. It only resolves servers from its own registry, so this has to be pasted in manually via Windsurf Settings → MCP Servers → Edit raw config:
{
"mcpServers": { "linkedin": { "command": "uvx", "args": ["linkedin-api-mcp"] } } }
If you'd rather not rely on the keyring in a given client (a sandboxed environment, or CI), pass the cookie directly instead of running auth:
{
"mcpServers": { "linkedin": { "command": "uvx", "args": ["linkedin-api-mcp"], "env": { "LINKEDIN_COOKIE": "your-li_at-value" } } } }
Anywhere you do this, treat that config file with the same care as the cookie itself: don't commit it, and restrict its permissions.
Getting your session cookie
LinkedIn doesn't offer an API key for this kind of access, so the server uses the same session cookie your browser already holds.
- One-time: install the Chromium build the server drives.
uvx --from linkedin-api-mcp patchright install chromium
- Log in to linkedin.com in a normal browser.
- Open DevTools (
F12orCmd+Opt+I) → Application → Cookies →https://www.linkedin.com. - Find the row named
li_atand copy its Value.
[!WARNING]
**This cookie *is* your LinkedIn login.** Anyone who has it can act as you:
read your messages, message your connections, see everything your account can
see, without needing your password. It survives a password change, and it
cannot be revoked from any session list LinkedIn shows you. Never paste it
into a chat, a commit, an issue, a screenshot, or anywhere other than
linkedin-api-mcp auth.
- Store it:
uvx linkedin-api-mcp auth
Paste the value in when prompted; the terminal will not echo it back. By default it's stored in your OS keyring (Keychain, Windows Credential Manager, or Secret Service on Linux), never written to a config file.
- Verify LinkedIn accepts it before wiring up a client:
uvx linkedin-api-mcp --test
Prints the server's redacted configuration and confirms the session is live. It never prints the cookie itself.
Tools
| Tool | Description |
|---|---|
get_profile | Fetch a member's profile (headline, about, experience, education, skills) by URL or public identifier. |
get_my_profile | Fetch the profile of the account this server is logged in as. |
search_people | Search LinkedIn members by keyword. |
get_inbox | List recent message thread previews. |
get_conversation | Fetch the full message history of one thread, by id. |
search_conversations | Search your message threads by participant or keyword. |
send_message ✏️ | Write. Sends a real message to another member from your account. |
connect ✏️ | Write. Sends a real connection invitation to another member from your account. |
get_company | Fetch a company page (about, size, industry, recent posts). |
search_companies | Search LinkedIn companies by keyword. |
search_jobs | Search job postings by keyword and optional location. |
get_job | Fetch one job posting in full. |
search_posts | Search LinkedIn feed posts by keyword. |
linkedin_status | Check session validity and current usage against the rate limits in Safety. |
14 tools: 12 read, 2 write. send_message and connect are the only two that change anything, and both are visible to another real person the moment they run: there is no draft, preview, or undo step. Everything else only reads what your account can already see. Covered by 68 tests.
What's verified, and what isn't
This is a days-old project. Rather than claim everything works, here's what's actually been checked against a live account, and what hasn't.
| Status | Tool / behaviour | Note |
|---|---|---|
| Verified live | get_my_profile, get_profile, search_people, get_company, search_companies, search_jobs, search_posts, get_inbox | Called against a real account and returned real data. |
| Verified live | send_message ✏️ | A real message was sent, then the thread was read back to confirm it arrived. |
| Not yet verified | connect ✏️, get_conversation, search_conversations, get_job, linkedin_status | Implemented and tested, but not yet exercised against a live account by hand. |
| Known gap | conversation_id from get_inbox | Comes back null. LinkedIn binds inbox rows to in-memory JS objects rather than URLs, so there's no id to read out of the page. |
| Known gap | Reaction and comment counts on search_posts | Come back null. |
| Known gap | experience and education on get_profile | LinkedIn loads these sections only on scroll; they currently come back empty. |
Safety
- A serialised action queue. Every tool call, including
linkedin_status, passes through the same queue before it touches the browser: one action at a time, never in parallel. - A minimum interval and an hourly ceiling, both enforced, not just claimed:
| Setting | Default | Env var | Effect |
|---|---|---|---|
| Minimum interval between actions | 2 seconds | LINKEDIN_MIN_INTERVAL | Calls are paced against the previous one, not run back-to-back. |
| Actions per rolling hour | 120 | LINKEDIN_MAX_PER_HOUR | Once hit, further calls fail immediately with a rate_limited error rather than queueing or sleeping. |
The ceiling is local to this server: it exists to stop a looping agent from generating a burst of LinkedIn traffic, not because LinkedIn told us these numbers. Lowering them is always safe; raising them is you deciding you're willing to accept more risk than the defaults assume.
- Prompt-injection fencing on all scraped free text. Anything read off a LinkedIn page (a headline, an about section, a message) passes through your agent as data. It is fenced before your agent sees it, so text on a profile or in a message cannot pose as an instruction.
- The cookie lives in your OS keyring, not a config file, by default. See Getting your session cookie.
- `send_message` proves delivery before reporting success. It polls th
Only the beginning is shown; read the rest in the repo