linkedin-profile-scraper
REST API and MCP server for AI agents to extract structured LinkedIn profile data.
README
Lakome LinkedIn MCP Server
A lightweight Model Context Protocol (MCP) server providing AI agents with real-time LinkedIn profile extraction capabilities powered by the Lakome API.
This server acts as a bridge between LLM clients (such as Claude Desktop, Cursor, Cline, Roo Code, and custom AI agents) and the Lakome LinkedIn intelligence endpoint.
โก Features
- Standard stdio Transport: Compatible with any standard MCP client.
- Single Specialized Tool: Exposes
extract_linkedin_profileto extract full structured profile details (work experience, education, skills, headline, summary, contact info, and more). - Batch Processing: Supports querying single or multiple LinkedIn profile URLs in a single request.
- Error Handling: Validates authentication keys and returns formatted error feedback.
๐ Prerequisites
- Node.js v18.0.0 or higher
- A Lakome API Key (Get yours at mcp.lakome.in)
๐ Setting Your LAKOME_API_KEY
The server requires your LAKOME_API_KEY to authenticate requests with the Lakome API endpoint.
On macOS / Linux
export LAKOME_API_KEY="your_actual_lakome_api_key_here"
On Windows (PowerShell)
$env:LAKOME_API_KEY="your_actual_lakome_api_key_here"
On Windows (Command Prompt)
set LAKOME_API_KEY=your_actual_lakome_api_key_here
๐ Installation & Client Configuration
1. Claude Desktop Setup
Add the server configuration to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"lakome-linkedin": {
"command": "node",
"args": [
"/absolute/path/to/mcp-server/index.js"
],
"env": {
"LAKOME_API_KEY": "your_actual_lakome_api_key_here"
}
}
}
}
Note for Windows users: Replace
/absolute/path/to/mcp-server/index.jswith your absolute Windows path (e.g.,D:\\extensions and projects\\lakome API project\\mcp-server\\index.js).
2. Cursor IDE Setup
Add the following to your project's .cursor/mcp.json or global MCP settings:
{
"mcpServers": {
"lakome-linkedin": {
"command": "node",
"args": [
"./mcp-server/index.js"
],
"env": {
"LAKOME_API_KEY": "your_actual_lakome_api_key_here"
}
}
}
}
3. Smithery.ai CLI
You can install and run the server automatically via Smithery:
npx -y @smithery/cli install @lakome/linkedin-mcp --client claude
๐ ๏ธ Tool Reference
extract_linkedin_profile
Extracts comprehensive, structured profile data and intelligence from one or more LinkedIn profile URLs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
profileUrls |
string[] |
Yes | Array of LinkedIn profile URLs to extract (e.g. ["https://www.linkedin.com/in/williamhgates"]) |
Example Invocation
{
"profileUrls": [
"https://www.linkedin.com/in/williamhgates",
"https://www.linkedin.com/in/satyanadella"
]
}
Example Output Response
[
{
"url": "https://www.linkedin.com/in/williamhgates",
"data": {
"fullName": "Bill Gates",
"headline": "Co-chair, Bill & Melinda Gates Foundation",
"location": "Seattle, Washington, United States",
"summary": "Co-chair of the Bill & Melinda Gates Foundation. Founder of Breakthrough Energy...",
"experiences": [
{
"title": "Co-chair",
"company": "Bill & Melinda Gates Foundation",
"dateRange": "2000 - Present"
}
],
"education": [
{
"schoolName": "Harvard University",
"degreeName": "Honorary Doctorate",
"fieldOfStudy": "Law"
}
],
"skills": ["Philanthropy", "Software Development", "Global Health"]
},
"status": "success"
}
]
๐งช Local Testing & Development
-
Install dependencies:
cd mcp-server npm install -
Run server locally:
LAKOME_API_KEY="your_api_key" node index.js -
Inspect with MCP Inspector:
npx @modelcontextprotocol/inspector node index.js
๐ License
MIT ยฉ Lakome
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.