LinkedIn Data Explorer 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.
ā ļø Important Notice: API Discontinuation
As of July 16, 2025, the RapidAPI LinkedIn Data API endpoints used by this project have been discontinued at the request of LinkedIn. This means the current version of the LinkedIn Profile Explorer MCP no longer functions as described.
A new solution has been prepared by the API provider and I also have a potential workaround available. If you are interested in getting this tool to work please reach out to me directly at thang@growth3.net for more information.
LinkedIn Data Explorer MCP
A comprehensive LinkedIn data extraction MCP (Model Context Protocol) server that integrates seamlessly with Claude Desktop. Fetch, explore, and search through LinkedIn posts and comments with powerful filtering and discovery tools.
Related MCP server: LinkedIn Intelligence MCP Server
š What This Tool Does
This MCP server transforms Claude Desktop into a powerful LinkedIn data exploration platform. You can:
š Extract LinkedIn Posts: Fetch and browse posts from any public LinkedIn profile
š¬ Comment Discovery: Extract and explore comments with engagement metrics
š Smart Search: Search through posts and comments with keyword filtering
š Performance Insights: Discover top performing posts and comment engagement
š Date-Based Filtering: Filter content by specific date ranges
š„ Engagement Discovery: Identify most active commenters and popular discussions
šÆ Features
Post Extraction
Fetch all posts from any public LinkedIn profile
Search posts by keywords
Discover top performing posts by likes and reactions
Filter posts by date range
Paginated access to large datasets
Comment Exploration (New!)
Complete Comment Threads: Fetch posts with all their comments in one go
Paginated Comment Loading: Handle large comment threads efficiently
Comment Search: Find specific discussions across all saved data
Engagement Discovery: Discover most active commenters and popular comments
Comment Performance: Track likes and reactions on individual comments
š Prerequisites
Python 3.7+ installed on your system
Claude Desktop application
RapidAPI account with LinkedIn Data API access
š ļø Setup Guide
Step 1: Get Your RapidAPI Key
Visit RapidAPI: Go to LinkedIn Data API on RapidAPI
Create Account: Sign up for a free RapidAPI account if you don't have one
Subscribe to API: Click "Subscribe" on the LinkedIn Data API page
Choose Plan: Select a plan (free tier available for testing)
Get Your Key: Copy your RapidAPI key from the dashboard
Step 2: Download and Setup
Clone the Repository:
git clone https://github.com/kempec110/linkedin-profile-mcp.git cd linkedin-profile-mcpOr download the ZIP file from the repository and extract it to your desired location.
Install Python Dependencies:
pip install -r requirements.txtCreate Environment File:
Create a file named
.envin the project folderAdd your RapidAPI key:
RAPIDAPI_KEY=your_rapidapi_key_here
Step 3: Configure Claude Desktop
Locate Claude Desktop Config:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Edit Configuration File: Open the config file and add the LinkedIn MCP server:
{ "mcpServers": { "linkedin-analyzer": { "command": "python", "args": ["C:/path/to/your/linkedin-mcp/main.py"], "env": { "RAPIDAPI_KEY": "your_rapidapi_key_here" } } } }Important: Replace
C:/path/to/your/linkedin-mcp/main.pywith the actual path to yourmain.pyfile.Restart Claude Desktop: Close and reopen Claude Desktop to load the new MCP server.
Step 4: Verify Installation
Open Claude Desktop
Start New Conversation
Test the Connection: Type something like:
Can you help me explore LinkedIn posts? What tools do you have available?
If successful, Claude should show you the available LinkedIn data extraction tools.
š How to Use
Basic Post Extraction
Fetch Posts from a Profile:
Fetch LinkedIn posts for the username "john-doe"Search Through Posts:
Search all saved posts for mentions of "artificial intelligence"Get Top Performing Posts:
Show me the top 5 posts by like count
Advanced Comment Exploration
Fetch Post with All Comments:
Get all comments for LinkedIn post URN 7169084130104737792Search Comments:
Search all comments for the keyword "AI" and show engagement metricsExplore Comment Engagement:
Show me comment insights including top commenters and most liked comments
Data Filtering and Discovery
Filter by Date:
Show me posts from January 2024 to March 2024Get Comment Insights:
Explore comment engagement patterns for post 7169084130104737792
š§ Available Tools
Core Post Tools
Tool | Description |
| Fetch posts from any LinkedIn username |
| Retrieve saved posts with pagination |
| Search posts by keywords |
| Get highest performing posts |
| Filter posts by date range |
Comment Exploration Tools (New!)
Tool | Description |
| Get complete post with all comments |
| Load comments with pagination support |
| Retrieve posts with comment data |
| Access specific comment pages |
| Search through all comment text |
| Find most discussed posts |
| Comprehensive comment engagement insights |
š Project Structure
linkedin-mcp/
āāā main.py # Main MCP server implementation
āāā requirements.txt # Python dependencies
āāā .env # Environment variables (your API key)
āāā README.md # This documentation
āāā linkedin_posts.json # Saved posts data
āāā linkedin_posts_with_comments.json # Posts with complete comment threads
āāā linkedin_comments_paginated_*.json # Individual paginated comment filesš Data Files Explained
linkedin_posts.json: Basic post data without commentslinkedin_posts_with_comments.json: Complete posts with all associated commentslinkedin_comments_paginated_*.json: Individual files for each post's paginated comments
šØ Troubleshooting
Common Issues
"MCP server not found":
Check that the path in
claude_desktop_config.jsonis correctEnsure
main.pyexists at the specified locationRestart Claude Desktop after config changes
"API key error":
Verify your RapidAPI key is correct in the
.envfileCheck that you're subscribed to the LinkedIn Data API on RapidAPI
Ensure the
.envfile is in the same directory asmain.py
"No data found" errors:
Fetch posts first using
fetch_and_save_linkedin_postsCheck that JSON files are being created in the project directory
Getting Help
If you encounter issues:
Check the file paths in your configuration
Verify your API key is working on RapidAPI
Ensure all dependencies are installed
Restart Claude Desktop after making changes
š Privacy & Ethics
This tool only accesses public LinkedIn data
Always respect LinkedIn's terms of service
Use responsibly and don't overwhelm the API with excessive requests
Be mindful of privacy when exploring others' content
š¤ Contributing
Contributions are welcome! Here's how:
Fork the Repository
Create a Feature Branch:
git checkout -b feature/amazing-featureCommit Changes:
git commit -m 'Add amazing feature'Push to Branch:
git push origin feature/amazing-featureOpen Pull Request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
šØāš» Author
Thang Doan - Email
š Acknowledgments
rugvedp - for the original LinkedIn MCP implementation and foundation š«”
RapidAPI - Providing reliable LinkedIn data access
Anthropic - Claude AI platform and MCP framework
š API Integration Details
This project integrates with the following RapidAPI endpoints:
Primary Endpoints
GET /get-profile-posts: Fetch posts from LinkedIn profilesGET /get-profile-post-and-comments: Get complete post with all commentsGET /get-profile-posts-comments: Paginated comment loading
API Configuration
Base URL:
https://linkedin-data-api.p.rapidapi.comRequired Headers:
x-rapidapi-key: Your RapidAPI keyx-rapidapi-host:linkedin-data-api.p.rapidapi.com
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
LinkedIn for AI agents: search people, read profiles, posts and connections via a connected account
LinkedIn for AI agents: inbox, invitations, Sales Navigator search, posts, jobs, quotas, webhooks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables posting text and media content directly to LinkedIn from Claude Desktop with support for authentication and visibility controls.12MIT
- 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.74MIT
- AlicenseAqualityDmaintenanceEnables Claude to interact with LinkedIn for posting, commenting, sharing media, and viewing feed and profile.93MIT