Linkedin-Profile-Analyzer
LinkedIn 个人资料分析器 MCP
一个强大的 LinkedIn 个人资料分析器 MCP(机器控制协议)服务器,可与 LinkedIn 的 API 交互,以获取、分析和管理 LinkedIn 帖子数据。此 MCP 专为与 Claude AI 配合使用而设计。
特征
获取并存储任何公开个人资料的 LinkedIn 帖子
使用关键字过滤搜索帖子
根据参与度指标获取表现最佳的帖子
按日期范围过滤帖子
分页访问存储的帖子
轻松与 Claude AI 集成
Related MCP server: LinkedIn MCP Server
先决条件
Python 3.7+
LinkedIn 数据 API 的 RapidAPI 密钥
克劳德人工智能访问
入门
1. 获取 RapidAPI 密钥
注册或登录 RapidAPI
订阅 LinkedIn 数据 API
从仪表板复制您的 RapidAPI 密钥
2.安装
克隆存储库:
git clone https://github.com/rugvedp/linkedin-mcp.git
cd linkedin-mcp安装依赖项:
pip install -r requirements.txt设置环境变量:
创建
.env文件添加您的 RapidAPI 密钥:
RAPIDAPI_KEY=your_rapidapi_key_here项目结构
linkedin-mcp/
├── main.py # Main MCP server implementation
├── mcp.json # MCP configuration file
├── requirements.txt # Python dependencies
├── .env # Environment variables
└── README.md # DocumentationMCP 配置
mcp.json文件配置 LinkedIn MCP 服务器:
{
"mcpServers": {
"LinkedIn Updated": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"path/to/your/script.py"
]
}
}
}确保更新args中的路径以匹配您的本地文件位置。
可用工具
1. 获取并保存 LinkedIn 帖子
获取给定用户名的 LinkedIn 帖子并将其保存在本地。
fetch_and_save_linkedin_posts(username: str) -> str2. 获取已保存的帖子
检索具有分页支持的已保存帖子。
get_saved_posts(start: int = 0, limit: int = 10) -> dict3. 搜索帖子
搜索特定关键词的帖子。
search_posts(keyword: str) -> dict4. 获取热门帖子
根据参与度指标返回表现最佳的帖子。
get_top_posts(metric: str = "Like Count", top_n: int = 5) -> dict5. 按日期获取帖子
过滤指定日期范围内的帖子。
get_posts_by_date(start_date: str, end_date: str) -> dict与 Claude 一起使用
在与 Claude 的对话中初始化 MCP 服务器
通过自然语言命令使用可用的工具
Claude 将帮助您使用这些工具与 LinkedIn 数据进行交互
API 集成
该项目使用 LinkedIn 数据 API 的以下端点:
GET /get-profile-posts:从 LinkedIn 个人资料中获取帖子基本网址:
https://linkedin-data-api.p.rapidapi.com必需的标头:
x-rapidapi-key:您的 RapidAPI 密钥x-rapidapi-host:linkedin-data-api.p.rapidapi.com
贡献
分叉存储库
创建你的功能分支(
git checkout -b feature/amazing-feature)提交您的更改(
git commit -m 'Add amazing feature')推送到分支(
git push origin feature/amazing-feature)打开拉取请求
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
作者
存储库
致谢
RapidAPI,提供 LinkedIn 数据访问
人类学为克劳德的人工智能能力
This server cannot be deployed
Maintenance
Related MCP Connectors
LinkedIn outreach, commenting, scheduling, and data via Claude and human approval gates.
LinkedIn outreach, commenting, scheduling, and data via Claude and human approval gates.
Hosted LinkedIn MCP server that connects your own LinkedIn account to Claude, ChatGPT, Cursor, n8n and any MCP client. 33 tools: people and Sales Navigator search, profiles, companies, jobs, inbox, posts, invites, email and phone finding. Free 7-day trial, no card (connecting your own LinkedIn account needs a paid plan). Starter $19/month, Pro $49/month, Max $199/month. $10 top-ups.
Live LinkedIn data for AI agents: profiles, companies, jobs, posts, email finding. No account risk.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceTwitter Post MCP with Gemini Image generation and web scrappingMIT
- AlicenseAqualityDmaintenanceEnables Claude to access and analyze LinkedIn profile data through the Model Context Protocol, allowing users to query their LinkedIn information directly within Claude Desktop.41MIT
- 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.148542MIT
- FlicenseNot gradedqualityDmaintenanceEnables users to search for jobs, retrieve profiles, and fetch feed posts through the LinkedIn API. It also provides tools for analyzing and extracting data from PDF resumes.-