kaushik-linkedin-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π kaushik-linkedin-mcp
A personal LinkedIn MCP server β built from scratch. Not a fork. Not a clone. Written by Kaushik Muthukumaran.
This MCP server connects Claude AI directly to LinkedIn using browser automation. It gives Claude 8 tools to read profiles, search people and jobs, get company data, publish posts, edit your profile, and manage sessions β all from a conversation with Claude.
π Table of Contents
Related MCP server: LinkedIn Intelligence MCP Server
π What You Can Do With This
Once connected to Claude, you can have natural conversations that do real LinkedIn actions.
βοΈ Edit Your LinkedIn Profile By Just Telling Claude
Method 1 β Tell Claude your details in chat:
"Change my headline to: Security Engineer | Zero Trust | CrowdStrike | 14K+ Endpoints" "Add a new job: Security Engineer at MasTec, promoted after 1 year" "Update my Sankara Nethralaya role to focus on vulnerability assessments and OSINT"
Claude opens Chrome, finds the right field, types your content, and saves it.
Method 2 β Upload your resume and ask Claude to sync it:
"Here's my updated resume β update my LinkedIn to match it"
Claude reads every section, compares it to your LinkedIn, and edits each section one by one.
Supports: .pdf, .docx, .txt
Method 3 β Targeted corrections mid-conversation:
"Split my MasTec role into two entries at August 2025" "Add OSINT and CyberArk to my skills" "Move Sankara Nethralaya from Part-time to Full-time"
π€ Profile Intelligence
"Pull Kaushik's full LinkedIn profile including experience and skills" "Show me their recent posts and engagement"
Reads: name, headline, location, connections, about, full experience, education, skills, posts, contact info.
π People Search
"Find Security Engineers at CrowdStrike in Pennsylvania" "Search for CISOs in the healthcare industry"
Returns: name, headline, location, username, profile URL. Max 100 results per call.
πΌ Job Search & Research
"Find Senior Security Engineer jobs in Pennsylvania posted this week" "Show me remote Zero Trust architect roles β mid-senior level only" "What's the salary range for this CrowdStrike job?"
Full LinkedIn job search: date posted, experience level, job type, work arrangement, Easy Apply.
π’ Company Research
"What does CrowdStrike's LinkedIn page say about them?" "Show me MasTec's recent posts and engagement numbers" "What roles is Microsoft hiring for right now?"
Returns: about, industry, size, headquarters, recent posts with reactions, open roles.
π’ Post Publishing
"Publish my vulnerability management post to LinkedIn" "Post this Zero Trust insight with these hashtags"
Navigates to feed, opens composer, injects text securely, clicks Post, confirms success.
π€ Combined Power Workflows
"Search for Senior Security Engineer jobs at CrowdStrike, get the top 3 JDs, and tell me exactly how my resume matches each one"
"Find Security Engineers at my target companies and draft a personalised connection message for each one based on their background"
"Write and publish a post about today's Rapid7 CVE findings β under 200 words with 5 hashtags"
π₯οΈ How to Clone and Run It
Step 1 β Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"Step 2 β Install Node.js and Git
brew install node gitStep 3 β Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/envβ οΈ Save the path from
which uvβ you'll need it for Claude Desktop config.
Step 4 β Clone and Install
git clone https://github.com/Secure-tree/kaushik-linkedin-mcp
cd kaushik-linkedin-mcp
uv sync
uv run playwright install chromiumStep 5 β Authenticate with LinkedIn
uv run kaushik-linkedin-mcp --loginA Chrome window opens. Log in to your LinkedIn. Session saves automatically.
Step 6 β Verify Session
uv run kaushik-linkedin-mcp --status
# Status: Valid β
Step 7 β Connect to Claude Desktop
Open: ~/Library/Application Support/Claude/claude_desktop_config.json
Merge this in:
{
"mcpServers": {
"linkedin": {
"command": "/Users/YOUR_USERNAME/.local/bin/uv",
"args": [
"--directory",
"/Users/YOUR_USERNAME/kaushik-linkedin-mcp",
"run",
"kaushik-linkedin-mcp"
]
}
}
}β οΈ Use the full path to
uvfromwhich uvβ Claude Desktop does not inherit your terminal PATH.
Restart Claude:
pkill -f Claude && sleep 2 && open /Applications/Claude.appποΈ Project Structure
kaushik-linkedin-mcp/
βββ pyproject.toml # Project config, CLI entry point, dependencies
βββ .python-version # Pins Python 3.12
βββ .env.example # Config template β copy to .env
βββ .gitignore # Protects session data and .env
βββ LICENSE # MIT
βββ src/
βββ kaushik_linkedin_mcp/
βββ __init__.py
βββ server.py # FastMCP server β all 8 tools
βββ browser.py # Playwright session manager
βββ tools/
βββ profile.py # get_person_profile
βββ jobs.py # search_jobs + get_job_details
βββ posts.py # publish_linkedin_post
βββ search.py # search_people + get_company_profileβοΈ How It Works
You (in Claude chat)
β
β "Search for Security Engineer jobs in Pennsylvania"
βΌ
Claude Desktop
β stdio (local process)
βΌ
kaushik-linkedin-mcp (Python / FastMCP)
β Playwright browser automation
βΌ
Chromium (headless, on your Mac)
β HTTPS β your authenticated session
βΌ
LinkedIn.com β returns structured JSON back to ClaudeNote for cloners: Session saves to
~/.kaushik-linkedin-mcp/session/storage.jsonon YOUR machine. The author has zero access to your account.
π§° Tools Reference
Tool | Parameters |
|
|
|
|
|
|
|
|
|
|
|
|
| β |
| β |
π₯ For People Cloning This Repo
When you clone and run this, you log into your own LinkedIn β not the author's.
Thing | Change Required |
| Log in with YOUR LinkedIn credentials |
Claude Desktop config | Update path to YOUR clone location and |
| Optional β defaults work for most setups |
| Leave as-is β this is the author's name |
Quick start:
git clone https://github.com/Secure-tree/kaushik-linkedin-mcp
cd kaushik-linkedin-mcp
uv sync
uv run playwright install chromium
uv run kaushik-linkedin-mcp --login
uv run kaushik-linkedin-mcp --statusπ Security
Check | Status |
No hardcoded credentials | β |
No JS template literal injection | β User values passed via CDP args |
Input validation | β max_results clamped 1β100 |
Session stored outside repo | β
|
| β In .gitignore |
No shell/subprocess calls | β |
No 3rd party API calls | β Only linkedin.com |
Local stdio communication | β No network exposure |
π§ Troubleshooting
No LinkedIn tools in Claude
β Use full uv path in config: which uv β /Users/YOU/.local/bin/uv
Status: Expired/Invalid
β uv run kaushik-linkedin-mcp --logout && uv run kaushik-linkedin-mcp --login
npm install fails
β This is Python. Use uv sync not npm install.
Config has two {} blocks
β Merge into one root object: { "preferences": {...}, "mcpServers": {...} }
β‘ Quick Reference
# Setup
git clone https://github.com/Secure-tree/kaushik-linkedin-mcp
cd kaushik-linkedin-mcp && uv sync
uv run playwright install chromium
uv run kaushik-linkedin-mcp --login
uv run kaushik-linkedin-mcp --status
# Restart Claude after config changes
pkill -f Claude && sleep 2 && open /Applications/Claude.app
# Re-authenticate
uv run kaushik-linkedin-mcp --logout && uv run kaushik-linkedin-mcp --loginπ€ Author
Kaushik Muthukumaran Security Engineer | AI + Cybersecurity Researcher
π LinkedIn
π Ms in Cybersecurity
π CompTIA Network+ Certified
π¬ Research: AI-Driven Threat Detection Β· Zero Trust Β· ML Risk Scoring and Remediation
π License
MIT License β see LICENSE for details.
Built with Claude AI (Anthropic) Β· FastMCP Β· Playwright Β· Python 3.12
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your LinkedIn from Claude and ChatGPT. Actions run in your own Chrome through a free extension.
LinkedIn MCP for Claude, ChatGPT, Grok, Hermes: triage inbox, comment, find people, live profiles
Publish, schedule and boost LinkedIn posts from Claude. Hosted, OAuth, no API key.
LinkedIn jobs, companies and people for AI agents, plus messages and invites via your own account.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to interact with LinkedIn by scraping profiles, companies, job postings, and getting personalized job recommendations using authenticated browser automation.176,329 PyPI4,386Apache 2.0
- AlicenseBqualityDmaintenanceConnects Claude Desktop to LinkedIn's data layer for AI-powered networking, enabling profile research, content creation and scheduling, engagement automation, analytics tracking, and messaging through natural language.48546MIT
- AlicenseAqualityDmaintenanceEnables Claude Desktop to manage your LinkedIn profile and company pages, including posting, reading posts, and fetching profile information.75MIT
- AlicenseAqualityDmaintenanceEnables Claude to manage your LinkedIn account and pages (post, schedule, read feed, comments) by driving a real local Chrome browser under your logged-in session.121Apache 2.0