The LinkedIn Intelligence MCP Server is an AI-powered platform that helps professionals manage their LinkedIn presence through natural conversation with Claude. It provides comprehensive tools for content creation, research, analytics, and networking.
Content Creation & Management: Create and publish text, image, video, document, and poll posts using LinkedIn's Official API. Edit and delete posts, add comments (with image support in nested replies), and manage reactions. Organize content with draft management, tagging, and scheduling for optimal posting times.
Profile Research & Intelligence: Get comprehensive profile data with multi-source enrichment including skills, endorsements, interests, and articles. Find similar profiles, perform batch lookups (up to 10 profiles), and update your headline, summary, photos, and skills. Calculate profile completeness scores with improvement suggestions.
Company & Organization Research: Search companies by keywords or domain, retrieve detailed information including employee counts and descriptions, access company updates and follower counts, and get educational institution data.
Analytics & Insights: Analyze engagement patterns and content performance, track reactions, comments, and shares, determine optimal posting times, evaluate hashtag effectiveness, understand audience demographics, and generate comprehensive engagement reports.
Messaging & Networking: View and manage message conversations, send direct messages to connections, send and manage connection requests, and accept or decline invitations.
Job Intelligence: Search job postings with filters for keywords, location, remote work, and experience level. Get detailed job information and analyze required skills.
Advertising Research: Search LinkedIn's Ad Library by keyword or advertiser to access ad content, targeting, and impression data.
Technical Features: OAuth 2.0 and cookie-based authentication, multi-source API architecture with intelligent fallback across 6+ data sources, rate limiting monitoring, caching for performance optimization, debug tools, and local execution with secure credential storage. Integrates with Claude Desktop and Claude Code via Model Context Protocol.
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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LinkedIn Intelligence MCP ServerFind VPs of Engineering at Series B fintech companies in NYC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LinkedIn Content Intelligence Platform
Your AI-powered content strategist for LinkedIn.
Create compelling content, analyze what resonates with your audience, research industry trends, and build meaningful professional relationships—all through natural conversation with Claude.
A Content-First Approach to LinkedIn
This isn't another automation tool for mass outreach. It's a Content Intelligence Platform designed for professionals who value quality over quantity.
What makes this different:
Content Strategy Focus: Understand what content performs, why it resonates, and how to improve
Authentic Engagement: Build genuine professional relationships, not spray-and-pray automation
Research-Driven: Make informed decisions based on real data about your audience and industry
Quality Over Quantity: Craft thoughtful content rather than churning out generic posts
The Power of AI-Assisted Workflows
Imagine this: You ask Claude to research a competitor's content strategy. Minutes later, you understand their top-performing topics, posting patterns, and engagement drivers. You craft a differentiated response post, Claude helps optimize it for your audience, and you schedule it for when your network is most active.
Cross-platform intelligence:
Analyze trending topics from industry thought leaders
Develop a unique perspective with Claude's help
Publish to your blog (via another MCP)
Share insights with your LinkedIn network
This is content intelligence—understanding your professional landscape and creating content that genuinely adds value.
Who Is This For?
Content Creators & Thought Leaders
Develop and refine your content strategy with data-driven insights
Understand what topics resonate with your audience
Build a consistent publishing cadence with draft management and scheduling
Analyze engagement patterns to continuously improve
Marketing & Brand Teams
Research competitor content strategies and positioning
Track industry trends and thought leadership topics
Measure content performance and engagement metrics
Coordinate team content calendars
Professionals Building Their Brand
Craft authentic content that showcases expertise
Engage meaningfully with your professional network
Research industry conversations before contributing
Build genuine connections with relevant professionals
Analysts & Researchers
Gather company and professional data for market research
Analyze engagement patterns and content trends
Generate comprehensive reports on LinkedIn presence
Track industry movements and competitive intelligence
Features
Content Creation
Feature | Description |
Text Posts | Create and publish professional posts with AI assistance |
Image Posts | Share images with captions and hashtags |
Polls | Create interactive polls to engage your audience |
Comments | Comment on posts (images supported in nested replies only) |
Rich Formatting | AI-optimized content with hooks, CTAs, and hashtags |
Content Planning
Feature | Description |
Draft Management | Save, edit, and organize drafts with tags |
Post Scheduling | Schedule posts for optimal engagement times |
Content Calendar | View and manage your scheduled content |
Content Analysis | Get AI suggestions to improve engagement |
Profile Research
Feature | Description |
Profile Viewing | View detailed LinkedIn profiles |
Profile Enrichment | Get comprehensive profile data with multi-source fallback |
Profile Interests | Discover who/what a person follows (influencers, companies, topics) |
Similar Profiles | Find profiles similar to a given person |
Profile Articles | Get articles written by any profile |
Skills & Endorsements | View skills and endorsement data |
Company Research
Feature | Description |
Company Search | Search for companies by keywords |
Company Details | Get company info, employee counts, and descriptions |
Company by Domain | Look up companies by website domain |
Organization Insights | Follower counts and engagement data |
Analytics & Engagement
Feature | Description |
Post Analytics | Reactions, comments, and engagement metrics (via official API) |
Content Performance | Analyze what content works best |
Optimal Posting Times | Derived insights from your engagement patterns |
Hashtag Analysis | Derived insights from your post performance |
Engagement Reports | Comprehensive performance reports |
Profile Views | Track who's viewing your profile |
Messaging & Conversations
Feature | Description |
View Conversations | Browse your LinkedIn message threads |
Read Messages | Access conversation history with connections |
Send Messages | Message your connections directly |
Conversation Management | Mark conversations as read |
Note: Messaging features are designed for maintaining existing professional relationships. LinkedIn's terms of service prohibit automated mass messaging.
Connections & Networking
Feature | Description |
View Invitations | See pending connection requests |
Send Requests | Connect with professionals (with optional message) |
Manage Invitations | Accept or decline connection requests |
Connection Management | Manage your professional network |
Best Practice: Connection requests should be personalized and relevant. Sending mass requests violates LinkedIn's terms and damages your professional reputation.
Job Intelligence
Feature | Description |
Job Search | Search postings with filters (keywords, location, remote, experience) |
Job Details | Get comprehensive job posting information |
Skills Analysis | See required skills for positions |
Quick Start
Prerequisites
Python 3.11+
uv (recommended) or pip
LinkedIn account
LinkedIn Developer App (free, 5-minute setup)
Installation
LinkedIn Developer Setup
Click "Create app"
Fill in details:
App name: e.g., "My LinkedIn MCP"
LinkedIn Page: Select or create a company page
Privacy policy URL: Your website or LinkedIn profile
Go to Products → Request "Share on LinkedIn" (instant approval)
Go to Auth tab:
Copy Client ID and Client Secret
Add redirect URL:
http://localhost:8765/callback
Configuration
Create a .env file in the project root:
Note: The RapidAPI key enables the most reliable data sources in the fallback chain. Without it, the server falls back to cookie-based methods which are prone to LinkedIn's bot detection.
Authentication
Connect to Claude Desktop
Add the following to your Claude Desktop config file:
Platform | Config Location |
macOS |
|
Windows |
|
Linux |
|
Complete configuration example:
Critical: Claude Desktop does not read
.envfiles—all environment variables must be explicitly passed in the config.
After updating the config:
Quit Claude Desktop completely
Reopen Claude Desktop
The LinkedIn MCP server will connect automatically
Connect to Claude Code
Add to ~/.claude.json:
Run /mcp in Claude Code to connect.
Usage Examples
Content Creator Workflow
Content Planning
Profile Research
Company Research
Available Tools
See
Content Creation
Tool | Description |
| Publish a text post |
| Post with an image |
| Create an interactive poll |
| Comment on a post |
| Remove a published post |
Draft Management
Tool | Description |
| Save content for later |
| View all saved drafts |
| Get a specific draft |
| Edit a draft |
| Remove a draft |
| Publish a saved draft |
| Get AI suggestions |
Scheduling
Tool | Description |
| Schedule for future |
| View scheduled posts |
| Get schedule details |
| Modify scheduled post |
| Cancel a scheduled post |
Profile Research
Tool | Description |
| Get your LinkedIn profile |
| View any LinkedIn profile |
| Get contact details |
| Get skills and endorsements |
| Get interests (influencers, companies, topics) |
| Find similar profiles |
| Get articles written by profile |
| Check authentication status |
| Monitor API usage |
Company Research
Tool | Description |
| Find professionals |
| Search for companies |
| Get company details |
| Look up company by website domain |
| Get full article content |
| Get follower count |
Analytics
Tool | Description |
| Get your LinkedIn feed |
| Get posts from a profile |
| Get your profile view statistics |
| Get reactions on a post |
| Get comments on a post |
| Deep engagement analysis |
| Content patterns |
| Best times to post |
| Hashtag effectiveness |
| Full engagement report |
Messaging
Tool | Description |
| List all message conversations |
| Get messages from a conversation |
| Get conversation ID for a profile |
| Send a message to a conversation |
| Mark conversation as read |
Connections
Tool | Description |
| Get pending connection requests |
| Send a connection request |
| Accept or reject an invitation |
| Remove a connection |
Job Search
Tool | Description |
| Search job postings |
| Get detailed job information |
| Get required skills for a job |
CLI Commands
Configuration Reference
Variable | Default | Description |
| - | OAuth Client ID (required for posting) |
| - | OAuth Client Secret (required for posting) |
|
| Enable API features |
| - | API key for enhanced profile data |
|
| Transport: stdio, streamable-http |
|
| HTTP server host |
|
| HTTP server port |
|
| Logging level |
Limitations
Feature | Status | Notes |
Text/Image/Poll Posts | Supported | Via Official LinkedIn API |
Article Link Shares | Supported | External URLs with metadata |
Comments | Supported | Requires Community Management API approval |
Direct Messages | Supported | Via unofficial API (requires cookies) |
Connection Requests | Supported | Via unofficial API (requires cookies) |
Job Search | Supported | Via unofficial API (requires cookies) |
Native LinkedIn Articles | Not Available | LinkedIn API limitation |
Newsletters | Not Available | No API access |
Note: Features marked "requires cookies" use LinkedIn's unofficial API. These work reliably but may require periodic cookie refresh (every 24-48 hours). Run
linkedin-mcp-auth extract-cookiesto refresh.
Troubleshooting
"Profile lookup returns error"
Ensure THIRDPARTY_RAPIDAPI_KEY is set in your Claude Desktop config:
Important: Claude Desktop does not read
.envfiles. You must add the key directly to the config'senvsection.
"LinkedIn client not initialized"
"Application context not initialized"
Reconnect the MCP server:
Claude Desktop: Quit and reopen the app
Claude Code: Run
/mcpto reconnect
Posts not appearing
Verify OAuth:
linkedin-mcp-auth statusEnsure "Share on LinkedIn" product is enabled in Developer Portal
Comments failing with permission error
Comments require the "Community Management API" product
Apply for access in your LinkedIn Developer Portal
Search returns empty results
Search relies on session cookies which expire after ~24 hours
Refresh cookies:
linkedin-mcp-auth extract-cookies --browser chromeNote: Profile and company lookups use the RapidAPI fallback and are unaffected
Security
OAuth tokens: Stored securely in system keychain
Session cookies: Encrypted local storage
Credentials: Environment variables only
No data collection: Everything runs locally
Development
Architecture
Intelligent API Fallback
Under the hood, the server uses a multi-source architecture that automatically falls back through APIs ordered by reliability:
Priority | Source | Reliability |
1 | Professional Network Data API | Highest - 55 endpoints |
2 | Fresh LinkedIn Data API | High - profiles & search |
3 | Marketing API | High - organizations (official) |
4 | Enhanced HTTP Client | Medium - anti-detection |
5 | Headless Browser | Medium - slowest but reliable |
6 | Unofficial API | Lowest - cookie-based, prone to blocking |
This ensures high availability, automatic recovery from failures, and best-effort data retrieval.
License
MIT License - see LICENSE for details.
Acknowledgments
FastMCP - MCP SDK for Python
Model Context Protocol - AI tool protocol
Playwright - Browser automation
Built for professionals who value authentic engagement over automation.