LinkedIn Api8 MCP Server
Click on "Deploy 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 Api8 MCP Server get company details for apple.com"
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 Api8 MCP Server
用于访问 Linkedin Api8 API 的 MCP 服务器。
🚀 使用 EMCP 平台快速体验
EMCP 是一个强大的 MCP 服务器管理平台,让您无需手动配置即可快速使用各种 MCP 服务器!
快速开始:
🌐 访问 EMCP 平台
📝 注册并登录账号
🎯 进入 MCP 广场,浏览所有可用的 MCP 服务器
🔍 搜索或找到本服务器(
bach-linkedin_api8)🎉 点击 "安装 MCP" 按钮
✅ 完成!即可在您的应用中使用
EMCP 平台优势:
✨ 零配置:无需手动编辑配置文件
🎨 可视化管理:图形界面轻松管理所有 MCP 服务器
🔐 安全可靠:统一管理 API 密钥和认证信息
🚀 一键安装:MCP 广场提供丰富的服务器选择
📊 使用统计:实时查看服务调用情况
立即访问 EMCP 平台 开始您的 MCP 之旅!
Related MCP server: Li Data Scraper MCP Server
简介
这是一个 MCP 服务器,用于访问 Linkedin Api8 API。
PyPI 包名:
bach-linkedin_api8版本: 1.0.0
传输协议: stdio
安装
从 PyPI 安装:
pip install bach-linkedin_api8从源码安装:
pip install -e .运行
方式 1: 使用 uvx(推荐,无需安装)
# 运行(uvx 会自动安装并运行)
uvx --from bach-linkedin_api8 bach_linkedin_api8
# 或指定版本
uvx --from bach-linkedin_api8@latest bach_linkedin_api8方式 2: 直接运行(开发模式)
python server.py方式 3: 安装后作为命令运行
# 安装
pip install bach-linkedin_api8
# 运行(命令名使用下划线)
bach_linkedin_api8配置
API 认证
此 API 需要认证。请设置环境变量:
export API_KEY="your_api_key_here"环境变量
变量名 | 说明 | 必需 |
| API 密钥 | 是 |
| 不适用 | 否 |
| 不适用 | 否 |
在 Cursor 中使用
编辑 Cursor MCP 配置文件 ~/.cursor/mcp.json:
{
"mcpServers": {
"bach-linkedin_api8": {
"command": "uvx",
"args": ["--from", "bach-linkedin_api8", "bach_linkedin_api8"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}在 Claude Desktop 中使用
编辑 Claude Desktop 配置文件 claude_desktop_config.json:
{
"mcpServers": {
"bach-linkedin_api8": {
"command": "uvx",
"args": ["--from", "bach-linkedin_api8", "bach_linkedin_api8"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}可用工具
此服务器提供以下工具:
get_similar_profiles
Returns profiles that are similar to the provided profile
端点: GET /similar-profiles
参数:
url(string) 必需: Example value: https://www.linkedin.com/in/williamhgates/
get_company_by_domain
Enrich the company data by domain. 1 credit per successful request.
端点: GET /get-company-by-domain
参数:
domain(string) 必需: Example value: apple.com
get_company_details_by_id
The endpoint enrich full details of the company
端点: GET /get-company-details-by-id
参数:
id(string) 必需: Example value: 1441
search_people_by_url
Search profiles by a keyword. You may see less than 10 results per page. This is because not return all profiles as public, sometimes hiding profiles and these profiles appear in the result. The endpoint automatically filters these profiles from the result
端点: POST /search-people-by-url
search_people
Search profiles by a keyword. You may see less than 10 results per page. This is because not return all profiles as public, sometimes hiding profiles and these profiles appear in the result. The endpoint automatically filters these profiles from the result
端点: GET /search-people
参数:
keywords(string): Example value: maxstart(string): it could be one of these; 0, 10, 20, 30, etc.geo(string): please follow this link to find location idschoolId(string): Example value:firstName(string): Example value:lastName(string): Example value:keywordSchool(string): Example value:keywordTitle(string): Example value:company(string): Company name
get_profile_school_interests
Get the profile's school interests up to 50 results per page
端点: POST /profiles/interests/schools
get_profile_newsletter_interests
Get the profile's newsletter interests up to 50 results per page
端点: POST /profiles/interests/newsletters
get_profile_group_interests
Get the profile's group interests up to 50 results per page
端点: POST /profiles/interests/groups
get_profile_top_voice_interests
Get the profile's top voices interests
端点: POST /profiles/interests/top-voices
get_companys_post
Get last 50 posts of a company. 1 credit per call
端点: GET /get-company-posts
参数:
username(string) 必需: Example value: googlestart(string): use this param to get posts in next results page: 0 for page 1, 50 for page 2, 100 for page 3, etc.paginationToken(string): It is required when fetching the next results page. The token from the previous call must be used.
get_profiles_posts
Get last 50 posts of a profile. 1 credit per call
端点: GET /get-profile-posts
参数:
username(string) 必需: Example value: adamselipskystart(string): use this param to get posts in next results page: 0 for page 1, 50 for page 2 100 for page 3, etc.paginationToken(string): It is required when fetching the next results page. The token from the previous call must be used.postedAt(string): It is not an official filter. It filters posts after fetching them from LinkedIn and returns posts that are newer than the given date. Example value: 2024-01-01 00:00
get_profile_company_interest
Get the profile's company interests up to 50 results per page.
端点: POST /profiles/interests/companies
get_post_reactions
Get profiles that reacted to the post
端点: POST /get-post-reactions
get_company_details
The endpoint enrich full details of the company
端点: GET /get-company-details
参数:
username(string) 必需: Example value: google
get_profile_positions_with_skills
Get Profile Positions With Skills
端点: GET /profiles/position-skills
参数:
username(string) 必需: Example value: tedgaubert
search_posts
Search Posts
端点: POST /search-posts
get_company_pages_people_also_viewed
Get Company Pages People Also Viewed
端点: GET /get-company-pages-people-also-viewed
参数:
username(string) 必需: Example value: google
get_company_jobs_count
Get total number of opening jobs the company
端点: GET /get-company-jobs-count
参数:
companyId(string) 必需: Example value: 1441
get_company_post_comments
Get comments of a company post
端点: GET /get-company-post-comments
参数:
urn(string) 必需: Post urn valuesort(string) 必需: it could be one of these; mostRelevant, mostRecentpage(string): Example value: 1
get_public_profile_data_by_url
Enrich public profile data
端点: GET /get-profile-data-by-url
参数:
url(string) 必需: Example value: https://www.linkedin.com/in/adamselipsky/
get_public_profile_data
Enrich public profile data
端点: GET /
参数:
username(string) 必需: Example value: adamselipsky
get_company_insights_premium
Get Company Insight Details \u0026 Company Details in a single request. 5 credit per call. If the request fails, you don't pay.
端点: GET /get-company-insights
参数:
username(string) 必需: Example value: amazon
get_profile_data_connection_u0026_follower_count_and_posts
Get Profile Data, Connection \u0026 Follower Count and Posts. 2 credits per call
端点: GET /profile-data-connection-count-posts
参数:
username(string) 必需: Example value: adamselipsky
search_jobs_v2
Search Jobs
端点: GET /search-jobs-v2
参数:
keywords(string) 必需: Example value: golanglocationId(number): please follow this link to find location idcompanyIds(string): please follow this link to find company iddatePosted(string): it could be one of these; anyTime, pastMonth, pastWeek, past24Hourssalary(string): it could be one of these; 40k+, 60k+, 80k+, 100k+, 120k+, 140k+, 160k+, 180k+, 200k+ Example: 80k+jobType(string): it could be one of these; fullTime, partTime, contract, internship Example: contractexperienceLevel(string): it could be one of these; internship, associate, director, entryLevel, midSeniorLevel. executive example: executivetitleIds(string): please follow this link to find title id by titlefunctionIds(string): please follow this link to find function idstart(string): it could be one of these; 0, 50, 100, 150, 200, etc. The maximum number of start is 975industryIds(string): please follow this link to find industry idonsiteRemote(string): it could be one of these; onSite remote hybrid example: remotesort(string): it could be one of these; mostRelevant, mostRecentdistance(string): 0 = 0km 5 = 8km 10 = 16km 25 = 40km 50 = 80km 100 = 160km
get_profiles_posted_jobs
Get profile's posted jobs.
端点: GET /profiles/posted-jobs
参数:
username(string) 必需: LinkedIn job id
get_profile_post_and_comments
Get profile post and comments of the post
端点: GET /get-profile-post-and-comments
参数:
urn(string) 必需: URN value of the post. Example URL: https://www.linkedin.com/posts/andy-jassy-8b1615_amazon-bedrock-customers-have-more-choice-activity-7181285160586211328-Idxl/?utm_source=share&utm_medium=member_desktop Example URN: 7181285160586211328
get_company_employees_count
Get company employees count (location filter possible)
端点: POST /get-company-employees-count
search_companies
Search companies
端点: POST /companies/search
get_article_comments
Get article comments with url
端点: GET /get-article-comments
参数:
url(string) 必需: Example value: https://www.linkedin.com/pulse/2024-corporate-climate-pivot-bill-gates-u89mc/?trackingId=V85mkekwT9KruOXln2gzIg%3D%3Dpage(string): Example value: 1sort(string): Example value: REVERSE_CHRONOLOGICAL
get_user_articles
Get user articles by profile with url or username
端点: GET /get-user-articles
参数:
url(string): Example value: https://www.linkedin.com/in/williamhgates/username(string): Example value: williamhgatespage(string): Example value: 1
get_article_reactions
Get article reactions with url
端点: GET /get-article-reactions
参数:
url(string) 必需: Example value: https://www.linkedin.com/pulse/2024-corporate-climate-pivot-bill-gates-u89mc/?trackingId=V85mkekwT9KruOXln2gzIg%3D%3Dpage(string): Example value: 1
get_article
Get article with url
端点: GET /get-article
参数:
url(string) 必需: Example value: https://www.linkedin.com/pulse/hidden-costs-unreliable-electricity-bill-gates/
get_post_reposts
Get post reposts by post url
端点: POST /posts/reposts
get_post
Get post details
端点: GET /get-post
参数:
url(string) 必需: Example value: https://www.linkedin.com/feed/update/urn:li:activity:7219434359085252608/
get_profile_data_and_connection_u0026_follower_count
Get Profile Data and Connection \u0026 Follower Count
端点: GET /data-connection-count
参数:
username(string) 必需: Example value: adamselipsky
get_profile_post_comment
Get 50 comments of a profile post
端点: GET /get-profile-posts-comments
参数:
urn(string) 必需: Post (activity) urn valuesort(string) 必需: it could be one of these; mostRelevant, mostRecentpage(string): Example value: 1paginationToken(string): It is required when fetching the next results page. The token from the previous call must be used.
get_company_jobs
Get company jobs
端点: POST /company-jobs
profile_data_u0026_recommendations
Get Profile Data, Given and Received Recommendations. 2 credits per call
端点: GET /all-profile-data
参数:
username(string) 必需: Example value: ryanroslansky
get_given_recommendations
To scrape all recommendations from a profile, increase the start value to +100 for each request until you reach the total recommendations count. You can find the total recommendations count in the response
端点: GET /get-given-recommendations
参数:
username(string) 必需: Example value: ryanroslanskystart(string): Example value: 0
get_received_recommendations
To scrape all recommendations from a profile, increase the start value to +100 for each request until you reach the total recommendations count. You can find the total recommendations count in the response
端点: GET /get-received-recommendations
参数:
username(string) 必需: Example value: ryanroslanskystart(string): for pagination, increase +100 to parse next result. it could be one of these; 0, 100, 200, 300, 400, etc.
get_profile_connection_u0026_follower_count
Get Profile Connection \u0026 Follower Count
端点: GET /connection-count
参数:
username(string) 必需: Example value: adamselipsky
health_check
Health Check
端点: GET /health
search_post_by_hashtag
Search Post by Hashtag
端点: POST /search-posts-by-hashtag
get_job_details
Get the full job details, including the job skills and the company information
端点: GET /get-job-details
参数:
id(number): Example value: 4090994054
get_profiles_comments
Get last 50 comments of a profile. 1 credit per call
端点: GET /get-profile-comments
参数:
username(string) 必需: Example value: williamhgates
get_profile_recent_activity_time
Get the time of the profile's last activity
端点: GET /get-profile-recent-activity-time
参数:
username(string) 必需: Example value: adamselipsky
get_hiring_team
Get hiring team/job poster profile details. You can use either a job id or a job URL. One of these is required.
端点: GET /get-hiring-team
参数:
id(string): LinkedIn job idurl(string): LinkedIn job url
get_profile_reactions
Find out what posts a profile reacted to
端点: GET /get-profile-likes
参数:
username(string) 必需: Example value: adamselipskystart(string): for pagination, increase +100 to parse next result until you see less than 100 results. it could be one of these; 0, 100, 200, 300, 400, etc.paginationToken(string): It is required when fetching the next results page. The token from the previous call must be used.
search_locations
Search locations by keyword
端点: GET /search-locations
参数:
keyword(string) 必需: Example value: berlin
search_jobs
Search Jobs
端点: GET /search-jobs
参数:
keywords(string) 必需: Example value: golanglocationId(number): please follow this link to find location idcompanyIds(string): please follow this link to find company iddatePosted(string): it could be one of these; anyTime, pastMonth, pastWeek, past24Hourssalary(string): it could be one of these; 40k+, 60k+, 80k+, 100k+, 120k+, 140k+, 160k+, 180k+, 200k+ Example: 80k+jobType(string): it could be one of these; fullTime, partTime, contract, internship Example: contractexperienceLevel(string): it could be one of these; internship, associate, director, entryLevel, midSeniorLevel. executive example: executivetitleIds(string): please follow this link to find title id by titlefunctionIds(string): please follow this link to find function idstart(string): it could be one of these; 0, 25, 50, 75, 100, etc. The maximum number of start is 975industryIds(string): please follow this link to find industry idonsiteRemote(string): it could be one of these; onSite remote hybrid example: remotesort(string): it could be one of these; mostRelevant, mostRecent
about_the_profile
Get profile verification details, profile’s joined, contact information updated, and profile photo updated date
端点: GET /about-this-profile
参数:
username(string) 必需: Example value: williamhgates
技术栈
传输协议: stdio
HTTP 客户端: httpx
许可证
MIT License - 详见 LICENSE 文件。
开发
此服务器由 API-to-MCP 工具生成。
版本: 1.0.0
Available Tools
51 toolsabout_the_profileB
Get profile verification details, profile’s joined, contact information updated, and profile photo updated date
Inputs: username (required).
get_articleC
Get article with url
Inputs: url (required).
get_article_commentsB
Get article comments with url
Inputs: url (required), page, sort.
get_article_reactionsC
Get article reactions with url
Inputs: url (required), page.
get_company_by_domainC
Enrich the company data by domain. 1 credit per successful request.
Inputs: domain (required).
get_company_detailsC
The endpoint enrich full details of the company
Inputs: username (required).
get_company_details_by_idC
The endpoint enrich full details of the company
Inputs: id (required).
get_company_employees_countC
Get company employees count (location filter possible)
Inputs: no named parameters.
get_company_jobsC
Get company jobs
Inputs: no named parameters.
get_company_jobs_countA
Get total number of opening jobs the company
Inputs: companyId (required).
get_company_pages_people_also_viewedD
Get Company Pages People Also Viewed
Inputs: username (required).
get_company_post_commentsC
Get comments of a company post
Inputs: urn (required), sort (required), page.
get_companys_postB
Get last 50 posts of a company. 1 credit per call
Inputs: username (required), start, paginationToken.
get_given_recommendationsB
To scrape all recommendations from a profile, increase the start value to +100 for each request until you reach the total recommendations count. You can find the total recommendations count in the response
Inputs: username (required), start.
get_hiring_teamA
Get hiring team/job poster profile details. You can use either a job id or a job URL. One of these is required.
Inputs: id, url.
get_job_detailsB
Get the full job details, including the job skills and the company information
Inputs: id.
get_postC
Get post details
Inputs: url (required).
get_post_reactionsB
Get profiles that reacted to the post
Inputs: no named parameters.
get_post_repostsC
Get post reposts by post url
Inputs: no named parameters.
get_profile_company_interestA
Get the profile's company interests up to 50 results per page.
Inputs: no named parameters.
get_profile_connection_u0026_follower_countD
Get Profile Connection \u0026 Follower Count
Inputs: username (required).
get_profile_data_and_connection_u0026_follower_countD
Get Profile Data and Connection \u0026 Follower Count
Inputs: username (required).
get_profile_data_connection_u0026_follower_count_and_posB
Get Profile Data, Connection \u0026 Follower Count and Posts. 2 credits per call
Inputs: username (required).
get_profile_group_interestsB
Get the profile's group interests up to 50 results per page
Inputs: no named parameters.
get_profile_newsletter_interestsA
Get the profile's newsletter interests up to 50 results per page
Inputs: no named parameters.
get_profile_positions_with_skillsD
Get Profile Positions With Skills
Inputs: username (required).
get_profile_post_and_commentsA
Get profile post and comments of the post
Inputs: urn (required).
get_profile_post_commentC
Get 50 comments of a profile post
Inputs: urn (required), sort (required), page, paginationToken.
get_profile_reactionsC
Find out what posts a profile reacted to
Inputs: username (required), start, paginationToken.
get_profile_recent_activity_timeB
Get the time of the profile's last activity
Inputs: username (required).
get_profile_school_interestsA
Get the profile's school interests up to 50 results per page
Inputs: no named parameters.
get_profiles_commentsB
Get last 50 comments of a profile. 1 credit per call
Inputs: username (required).
get_profiles_posted_jobsC
Get profile's posted jobs.
Inputs: username (required).
get_profiles_postsB
Get last 50 posts of a profile. 1 credit per call
Inputs: username (required), start, paginationToken, postedAt.
get_profile_top_voice_interestsC
Get the profile's top voices interests
Inputs: no named parameters.
get_public_profile_dataD
Enrich public profile data
Inputs: username (required).
get_public_profile_data_by_urlD
Enrich public profile data
Inputs: url (required).
get_received_recommendationsA
To scrape all recommendations from a profile, increase the start value to +100 for each request until you reach the total recommendations count. You can find the total recommendations count in the response
Inputs: username (required), start.
get_similar_profilesC
Returns profiles that are similar to the provided profile
Inputs: url (required).
get_user_articlesB
Get user articles by profile with url or username
Inputs: url, username, page.
health_checkD
Health Check
Inputs: no named parameters.
profile_data_u0026_recommendationsB
Get Profile Data, Given and Received Recommendations. 2 credits per call
Inputs: username (required).
search_companiesD
Search companies
Inputs: no named parameters.
search_jobsD
Search Jobs
Inputs: keywords (required), locationId, companyIds, datePosted, +9 more.
search_jobs_v2D
Search Jobs
Inputs: keywords (required), locationId, companyIds, datePosted, +10 more.
search_locationsC
Search locations by keyword
Inputs: keyword (required).
search_peopleC
Search profiles by a keyword. You may see less than 10 results per page. This is because not return all profiles as public, sometimes hiding profiles and these profiles appear in the result. The endpoint automatically filters these profiles from the result
Inputs: keywords, start, geo, schoolId, +5 more.
search_people_by_urlC
Search profiles by a keyword. You may see less than 10 results per page. This is because not return all profiles as public, sometimes hiding profiles and these profiles appear in the result. The endpoint automatically filters these profiles from the result
Inputs: no named parameters.
search_post_by_hashtagD
Search Post by Hashtag
Inputs: no named parameters.
search_postsC
Search Posts
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 51 tools
Many tools overlap significantly, such as multiple 'get company details' tools (get_company_details, get_company_details_by_id, get_company_insights_premium) and duplicate search tools (search_jobs, search_jobs_v2). This creates ambiguity for an agent selecting the correct tool.
Most tools follow a consistent 'get_<resource>_<detail>' pattern, but there are deviations like 'health_check' and excessively long names with 'and' and '&' encoded (e.g., get_profile_data_connection_u0026_follower_count_and_pos). Overall, the pattern is mostly predictable.
With 51 tools, the server is over-scoped for its apparent purpose. Many tools could be merged (e.g., multiple company detail tools) or are redundant (e.g., two search jobs tools), leading to unnecessary complexity.
The tool set covers a wide range of LinkedIn data: profiles, companies, jobs, posts, articles, recommendations, and interests. While it lacks write operations, for a data enrichment/ scraping API, it is fairly comprehensive and covers core use cases.
Maintenance
Related MCP Connectors
LinkedIn: The LinkedIn Data API offers access to detailed information on individuals, companies.
LinkedIn person, company and school data for AI agents: full profiles with work history, education and skills, company firmographics, and people search by title, company, location and size. Pay only for found profiles. 50 free credits.
Live LinkedIn people, company, post and job data, ICP search and job-change signals for AI agents.
LinkedIn for AI agents: search people, read profiles, posts and connections via a connected account
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to LinkedIn data through HarvestAPI, enabling profile searches, company information retrieval, job searches, post interactions, and group discovery.1728 npm2MIT
- AlicenseCqualityDmaintenanceEnables access to LinkedIn data through the Li Data Scraper API, supporting profile enrichment, company details, people search, post interactions, and activity tracking.20MIT
- AlicenseCqualityDmaintenanceEnables access to comprehensive LinkedIn data, including professional profile details, company information, and social engagement metrics. It supports searching for people, retrieving posts and comments, and fetching detailed experience, skills, and recommendations.52MIT
- 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.-