LinkedIn MCP Server
Enables AI agents to interact with LinkedIn through MCP tools for retrieving company profiles, posts, insights, and person profiles, as well as a prompt for account research.
README
LinkedIn MCP Server (AI version)
A powerful Model Context Protocol server that exposes verified LinkedIn capabilities as MCP tools, plus an account-research prompt — runnable over stdio (local) and Streamable HTTP (remote).
Built as the reference implementation for the course in
../Documentation/. Scope: LinkedIn-only (Tier A verified core + Tier D extended). SeePLAN.md.
Tools
| Tool | What it does |
|---|---|
linkedin_get_company_profile |
Company name, industry, size, HQ, specialities |
linkedin_get_company_posts |
Recent company posts with engagement |
linkedin_get_company_insights |
Headcount growth, hiring signals, people highlights |
linkedin_search_company_leaders |
Leadership-level people at a company |
linkedin_get_person_profile |
A person's profile |
linkedin_get_person_posts |
A person's recent posts |
| Tier D (extended) | company/people/job search, contact info — added in Phase 4 |
Prompt: account_intel — scripts the tools into a full company brief.
Setup
uv sync --extra dev
cp .env.example .env # then fill in LI_AT + LI_JSESSIONID
Run
# stdio (default) — for local hosts / the Inspector
uv run linkedin-mcp
# Streamable HTTP — secured (Origin allowlist + bearer token), localhost-bound
uv run linkedin-mcp --transport http
Verify in the MCP Inspector
npx @modelcontextprotocol/inspector uv run linkedin-mcp
List tools, then call linkedin_get_company_profile with
{"linkedin_url_or_slug": "microsoft"}.
Plug into Claude Desktop (stdio)
{
"mcpServers": {
"linkedin": {
"command": "uv",
"args": ["run", "--directory", "C:/Users/WELCOME/Desktop/Linked-MCP/ai-version", "linkedin-mcp"]
}
}
}
Notes & safety
- Unofficial
linkedin-api: cookie auth (LI_AT+LI_JSESSIONID) is the supported path; password login often hits a challenge. Cookies expire → tools return a clear auth error. - Rate limits are real; post counts are clamped. Heavy use can flag the account.
- stdio writes JSON-RPC on stdout — all logs go to stderr only.
- HTTP proxies your LinkedIn identity: set
MCP_AUTH_TOKENand keep the bind on localhost before sharing.
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.