Utilizes .ENV files for configuration management, allowing users to securely store LinkedIn credentials and API settings.
References GitHub for the Model Context Protocol specification that the server implements.
Uses OpenAI's API for resume and cover letter generation capabilities, as indicated by the configuration requirement for an OpenAI API key.
Supports testing through pytest for verifying the functionality of the LinkedIn MCP server components.
Built using Python as the implementation language, with dependencies managed through pip and virtual environments.
Uses Shields.io for displaying the MIT license badge in the repository README.
Click on "Install 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 Model Context Protocol (MCP) Serversearch for remote software engineer jobs in San Francisco"
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 MCP Server
An MCP server that gives AI assistants full access to LinkedIn — search jobs, view profiles and companies, generate AI-powered resumes and cover letters, and track applications. Built with the official MCP Python SDK (FastMCP).
What It Does
Category | Capabilities |
Job Search | Search with filters (keywords, location, type, experience level, remote, recency), get job details, get recommendations |
Profiles & Companies | Fetch any LinkedIn profile or company page, AI-powered profile analysis with optimization suggestions |
Resume Generation | Generate resumes from LinkedIn profiles, tailor resumes to specific job postings, 3 built-in templates |
Cover Letters | AI-generated cover letters personalized to each job, 2 built-in templates |
Application Tracking | Track applications locally with status workflow (interested → applied → interviewing → offered/rejected/withdrawn) |
Output Formats | HTML, Markdown, and PDF (via WeasyPrint) |
Related MCP server: LinkedIn MCP Server
Quick Start
1. Install
# Core installation
pip install -e .
# With AI features (resume/cover letter generation, profile analysis)
pip install -e ".[ai]"
# With PDF export
pip install -e ".[pdf]"
# Everything
pip install -e ".[all]"2. Configure
cp .env.example .envEdit .env with your credentials:
LINKEDIN_USERNAME=your_email@example.com
LINKEDIN_PASSWORD=your_password
ANTHROPIC_API_KEY=sk-ant-... # Optional — enables AI features3. Run
Standalone:
linkedin-mcpWith Claude Desktop — add to your claude_desktop_config.json:
{
"mcpServers": {
"linkedin": {
"command": "linkedin-mcp"
}
}
}With Claude Code — add to .mcp.json:
{
"linkedin": {
"command": "linkedin-mcp"
}
}Tools Reference
Job Tools (3)
Tool | Parameters | Description |
|
| Search LinkedIn jobs with rich filters |
|
| Get full description, skills, and metadata for a job posting |
|
| Get personalized job recommendations |
Profile Tools (3)
Tool | Parameters | Description |
|
| Fetch a LinkedIn profile ( |
|
| Get company info — description, size, headquarters, specialties |
|
| AI-powered profile review with actionable optimization suggestions |
Document Generation Tools (4)
Tool | Parameters | Description |
|
| Generate a resume from a LinkedIn profile |
|
| Generate a resume tailored to a specific job posting |
|
| Create a personalized cover letter for a job |
|
| List available templates ( |
Templates: modern · professional · minimal (resume) | professional · concise (cover letter)
Formats: html · md · pdf
Application Tracking Tools (3)
Tool | Parameters | Description |
|
| Start tracking a job application |
|
| List all tracked applications, optionally filtered by status |
|
| Update application status |
Status values: interested · applied · interviewing · offered · rejected · withdrawn
Architecture
src/linkedin_mcp/
├── server.py # FastMCP entry point — 13 tools, 1 resource
├── config.py # Settings from .env (frozen dataclass)
├── exceptions.py # 7-class exception hierarchy
├── models/
│ ├── linkedin.py # Profile, Job, Company models (Pydantic v2)
│ ├── resume.py # Resume & cover letter content models
│ └── tracking.py # Application tracking model
├── services/
│ ├── linkedin_client.py # LinkedIn API wrapper (async via asyncio.to_thread)
│ ├── job_search.py # Job search with TTL caching
│ ├── profile.py # Profile/company access with caching
│ ├── resume_generator.py # AI-enhanced resume generation
│ ├── cover_letter_generator.py
│ ├── application_tracker.py # Local JSON-based application tracking
│ ├── cache.py # Unified JSON file cache with TTL
│ ├── template_manager.py # Jinja2 sandboxed template engine
│ └── format_converter.py # HTML → PDF/Markdown conversion
├── ai/
│ ├── base.py # Abstract AI provider interface
│ └── claude_provider.py # Anthropic Claude implementation
└── templates/
├── resume/ # modern.j2, professional.j2, minimal.j2
└── cover_letter/ # professional.j2, concise.j2Key Design Decisions
Official MCP SDK — Uses
FastMCPwith@mcp.tool()decorators, not a custom protocol implementationAsync throughout — All sync LinkedIn API calls wrapped in
asyncio.to_thread()to avoid blockingLayered architecture — Tools → Services → Client, with caching at the service layer
AI is optional — Core LinkedIn features work without an Anthropic API key; AI enhances resume/cover letter generation
Security hardened — Jinja2
SandboxedEnvironment, WeasyPrint SSRF protection, path traversal guards, credential redaction, input validation
Configuration
All settings are loaded from environment variables (.env file supported):
Variable | Required | Default | Description |
| Yes | — | Your LinkedIn email |
| Yes | — | Your LinkedIn password |
| No | — | Enables AI features (resume/cover letter generation, profile analysis) |
| No |
| Claude model to use |
| No |
| Directory for cache, tracking data, generated files |
| No |
| How long to cache LinkedIn API responses |
| No |
| Logging level (DEBUG, INFO, WARNING, ERROR) |
Development
# Install with all dependencies
pip install -e ".[all,dev]"
# Run tests (82 tests)
pytest
# Run with coverage
pytest --cov=linkedin_mcp
# Lint
ruff check src/ tests/Test Coverage
Tests cover all layers: config, models, services (cache, tracker, job search, profile, resume/cover letter generation, LinkedIn client formatters, format converter), AI provider, and MCP tool handlers.
Usage Examples
Once connected, ask your AI assistant:
"Search for remote Python developer jobs in the US"
"Show me the profile for satyanadella"
"Generate a resume from my LinkedIn profile tailored to job 3847291056"
"Create a cover letter for job 3847291056 using the concise template"
"Track my application for the Senior Engineer role at Google — status: applied"
"List all my applications that are in the interviewing stage"
"Analyze my LinkedIn profile and suggest improvements"
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.