Enables cross-referencing Gmail contacts with LinkedIn profiles and finding LinkedIn profiles for email correspondents, facilitating contact research and networking based on email interactions.
Allows pulling LinkedIn profiles and recent posts for upcoming meeting attendees, enabling meeting preparation and relationship intelligence for scheduled events.
Supports exporting LinkedIn prospect summaries and network data to Notion for CRM note-taking and relationship management workflows.
Enables adding LinkedIn profile summaries and professional intelligence to Obsidian notes for personal knowledge management and CRM purposes.
LinkedIn Intelligence MCP Server
Transform LinkedIn from a social network into your AI-powered business intelligence platform.
The LinkedIn MCP Server connects Claude Desktop directly to LinkedIn's data layer, enabling natural language conversations that extract insights, automate engagement, and supercharge your professional networking—all without leaving your AI assistant.
Why LinkedIn MCP?
Traditional LinkedIn | With LinkedIn MCP |
Manually scroll through feeds | Ask Claude: "Show me posts from my network about AI this week" |
Export connections to spreadsheets | Ask Claude: "Analyze my network by industry and seniority" |
Guess at optimal posting times | Ask Claude: "When do my posts get the most engagement?" |
Research prospects one-by-one | Ask Claude: "Get profiles for these 10 decision-makers" |
Copy-paste between tools | Seamless integration with Gmail, Calendar, and other MCPs |
The MCP Ecosystem Advantage
LinkedIn MCP becomes exponentially more powerful when combined with other Claude Desktop integrations:
Gmail MCP → "Find LinkedIn profiles for everyone who emailed me this week about partnerships"
Google Calendar MCP → "Who am I meeting tomorrow? Pull their LinkedIn profiles and recent posts"
Notion/Obsidian MCP → "Add this prospect's LinkedIn summary to my CRM notes"
File System MCP → "Export my network analytics to a CSV for my quarterly report"
This isn't just another LinkedIn tool—it's the bridge that connects your professional network to your entire AI-powered workflow.
Use Cases by Role
Turn LinkedIn into your AI-powered prospecting engine.
Your Daily Workflow, Supercharged
Before | After (with LinkedIn MCP) |
2 hours researching prospects | "Get me profiles and recent activity for these 20 leads" |
Generic outreach messages | "What topics does [prospect] post about? Draft a personalized message" |
Missing engagement signals | "Alert me when target accounts post about [pain point]" |
Key Tools for SDRs
Example Prompts for SDRs
"Search for VPs of Engineering at Series B fintech companies in NYC"
"What has [prospect name] posted about in the last month? Summarize the themes"
"Send connection requests to these 10 people with a message about [topic]"
"Show me which of my connection requests from last week were accepted"
"Cross-reference my Gmail contacts with LinkedIn—who should I connect with?"
Map relationships and identify partnership opportunities at scale.
Strategic Intelligence Gathering
Challenge | LinkedIn MCP Solution |
Finding decision-makers | "Who are the BD leads at [company]? Get their profiles" |
Understanding company priorities | "What is [company] posting about? Any partnership announcements?" |
Tracking competitor partnerships | "Show me [competitor]'s recent posts mentioning partnerships or integrations" |
Warm introductions | "Which of my connections work at or are connected to [target company]?" |
Key Tools for BD Professionals
Example Prompts for BD
"Find AI/ML companies that have posted about seeking partnerships in the last 30 days"
"Map my path to the CEO of [target company]—who do I know there?"
"What integrations or partnerships has [company] announced this quarter?"
"Get me the profiles of everyone with 'Partnerships' in their title at these 5 companies"
"Summarize the recent posts from decision-makers at my target accounts"
Data-driven content strategy for thought leadership.
Build Your Presence Strategically
Guesswork | Data-Driven (with LinkedIn MCP) |
Post whenever, hope for engagement | "When do my posts get the most engagement? Analyze my last 50 posts" |
Random hashtags | "Which hashtags drive the most reach for my content?" |
Wonder what resonates | "What topics get the most comments from my audience?" |
Inconsistent posting | Schedule content for optimal times automatically |
Key Tools for Brand Builders
Example Prompts for Brand Builders
"Analyze my last 30 posts—which topics drove the most engagement?"
"What time of day should I post to maximize reach with my audience?"
"Draft a post about [topic] optimized for engagement based on what works for me"
"Schedule this post for my optimal posting time tomorrow"
"Which of my posts this month could be repurposed into a series?"
Multi-account insights and competitor analysis for agency professionals.
Agency-Grade Intelligence
Manual Process | Automated with LinkedIn MCP |
Weekly competitor audits | "Compare posting frequency and engagement across these 5 competitors" |
Client reporting | "Generate an engagement report for [client profile]" |
Trend spotting | "What topics are trending in [industry] this week?" |
Benchmarking | "How does my client's engagement rate compare to competitors?" |
Key Tools for Agencies
Example Prompts for Agencies
"Compare the posting strategy of [client] vs their top 3 competitors"
"Generate a monthly engagement report for [client profile]"
"What content themes are driving the most engagement in the [industry] space?"
"Track what [competitor] has posted about our client's product category"
"Create a benchmark report: my client vs industry average engagement"
Build talent pipelines with AI-powered sourcing.
Recruiting, Reimagined
Traditional Sourcing | AI-Powered Sourcing |
Boolean searches, one at a time | "Find senior engineers at FAANG who've posted about leaving big tech" |
Manual candidate research | "Summarize this candidate's career trajectory and recent interests" |
Cold outreach fatigue | "What does this candidate care about? Draft a personalized InMail" |
Lost in spreadsheets | Integrated pipeline tracking with other MCPs |
Key Tools for Recruiters
Example Prompts for Recruiters
"Find product managers at [company] who've been in role 2+ years"
"What has this candidate posted about? What motivates them?"
"Get profiles for all engineers at [company] with ML in their title"
"Draft a personalized connection message for [candidate] based on their interests"
"Who in my network is connected to this candidate for a warm intro?"
Maximize reach and engagement with data-driven content strategies.
Content Strategy on Autopilot
Content Struggle | LinkedIn MCP Solution |
What should I post about? | "What topics are getting engagement in my niche this week?" |
Writer's block | "Based on my top posts, generate 5 content ideas" |
Engagement drops | "Why did my engagement drop last week? Analyze the data" |
Audience mystery | "Who's engaging with my content? Profile my active followers" |
Key Tools for Creators
Example Prompts for Creators
"Analyze my content performance over the last 90 days—what's working?"
"Which of my posts should I turn into a content series?"
"What are the top creators in [niche] posting about this month?"
"Review this draft and suggest improvements for engagement"
"Build me a content calendar for next week based on my best-performing topics"
Quick Start
Prerequisites
Python 3.11+
uv (recommended) or pip
Claude Desktop
LinkedIn account
Installation
Authentication
Export your LinkedIn cookies from an active browser session:
Log into LinkedIn in Chrome/Firefox
Open DevTools → Application (Chrome) or Storage (Firefox)
Find Cookies →
https://www.linkedin.comCopy
li_atandJSESSIONIDvalues
Create data/session_cookies.json:
Note: The
JSESSIONIDtypically includes escaped quotes. Copy exactly as shown in your browser.
Claude Desktop Configuration
Add to your Claude Desktop config file:
Platform | Config Location |
macOS |
|
Windows |
|
Linux |
|
Important: The
cwdmust be an absolute path to the project directory.
Restart Claude Desktop and verify with: "Use debug_context to check LinkedIn MCP status"
Complete Tool Reference
Diagnostic
debug_context()- Server initialization status and configuration
Profile Tools
get_my_profile()- Your LinkedIn profileget_profile(profile_id)- Any profile by public IDget_profile_contact_info(profile_id)- Contact informationget_profile_skills(profile_id)- Skills and endorsementsget_profile_sections()- Editable profile sectionsget_profile_completeness()- Profile completeness scoreget_network_stats()- Network size and demographicsbatch_get_profiles(profile_ids)- Multiple profiles efficiently
Profile Management (browser automation)
update_profile_headline(headline)- Update headlineupdate_profile_summary(summary)- Update about sectionupload_profile_photo(photo_path)- Upload profile photoupload_background_photo(photo_path)- Upload banner photoadd_profile_skill(skill_name)- Add a skillcheck_browser_automation_status()- Browser availability
Feed & Posts
get_feed(limit)- Your feed postsget_profile_posts(profile_id, limit)- Posts from a profilecreate_post(text, visibility)- Create a new postget_post_reactions(post_urn)- Reactions on a postget_post_comments(post_urn)- Comments on a post
Content Creation & Scheduling
analyze_draft_content(content, industry)- Content analysis with suggestionscreate_draft(content, title, tags)- Save a content draftlist_drafts(tag)- List content draftsget_draft(draft_id)- Get a specific draftupdate_draft(draft_id, content, title, tags)- Update a draftdelete_draft(draft_id)- Delete a draftpublish_draft(draft_id, visibility)- Publish a draft as a postschedule_post(content, scheduled_time, visibility, timezone)- Schedule a postlist_scheduled_posts(status)- View scheduled postsget_scheduled_post(job_id)- Scheduled post detailsupdate_scheduled_post(job_id, ...)- Update scheduled postcancel_scheduled_post(job_id)- Cancel scheduled post
Engagement
like_post(post_urn)- Like a postreact_to_post(post_urn, reaction)- React (LIKE, CELEBRATE, SUPPORT, LOVE, INSIGHTFUL, FUNNY)unreact_to_post(post_urn)- Remove reactioncomment_on_post(post_urn, text)- Comment on a postreply_to_comment(comment_urn, text)- Reply to a comment
Messaging
get_conversations(limit)- Messaging conversationsget_conversation(conversation_id)- Full conversation historysend_message(profile_id, text)- Send a direct messagesend_bulk_messages(profile_ids, text)- Send to multiple recipients (max 25)
Connections
get_connections(limit)- Your connectionssend_connection_request(profile_id, message)- Send connection inviteremove_connection(profile_id)- Remove a connectionget_pending_invitations(sent)- View pending invitesaccept_invitation(invitation_id, shared_secret)- Accept connection requestreject_invitation(invitation_id, shared_secret)- Reject connection request
Search
search_people(keywords, limit, connection_of, current_company)- Search for peoplesearch_companies(keywords, limit)- Search for companies
Analytics
get_post_analytics(post_urn)- Engagement metrics for a postanalyze_engagement(post_urn, follower_count)- Deep engagement analysisanalyze_content_performance(profile_id, post_limit)- Content type analysisanalyze_optimal_posting_times(profile_id, post_limit)- Best times to postanalyze_post_audience(post_urn)- Audience demographics from commentersanalyze_hashtag_performance(profile_id, post_limit)- Hashtag effectivenessgenerate_engagement_report(profile_id, post_limit)- Comprehensive engagement reportget_rate_limit_status()- API rate limit statusget_cache_stats()- Cache performance statistics
Environment Variables
Variable | Default | Description |
|
| Enable the LinkedIn API client |
|
| Logging level (DEBUG, INFO, WARNING, ERROR) |
|
| Database connection URL |
|
| Enable Playwright browser automation |
|
| Enable analytics features |
|
| Enable post scheduling |
Troubleshooting
Ensure
LINKEDIN_API_ENABLEDis set to"true"(as a string) in Claude Desktop configVerify
data/session_cookies.jsonexists with valid cookiesCheck that cookies haven't expired (re-export from browser if needed)
Verify the
cwdpath is absolute, not relative
LinkedIn session cookies typically last 1-2 weeks. If you're getting authentication errors:
Log into LinkedIn in your browser
Re-export the
li_atandJSESSIONIDcookiesUpdate
data/session_cookies.jsonRestart Claude Desktop
Architecture
Security & Responsible Use
Important: This server uses the unofficial LinkedIn API which accesses LinkedIn's internal Voyager API.
Use a secondary LinkedIn account for testing
Respect rate limits (~900 requests/hour)
Don't spam or automate engagement excessively
Your account may be restricted if LinkedIn detects automation
Never commit your
Development
License
MIT License - see LICENSE for details.
Acknowledgments
tomquirk/linkedin-api - Unofficial LinkedIn API
FastMCP - MCP SDK for Python
Model Context Protocol - AI tool protocol