LinkedIn Jobs MCP Server
MCP-сервер вакансий LinkedIn
Самохостируемый MCP-сервер, который парсит вакансии LinkedIn с использованием ваших аутентифицированных сессионных cookie. Работает в Docker. Никакого Apify, никаких затрат за каждый запуск.
Настройка
1. Получите свои cookie
Установите расширение для Chrome Cookie-Editor
Войдите в LinkedIn (используйте запасной аккаунт)
Нажмите Cookie-Editor → Export (JSON)
Найдите и скопируйте два значения:
li_at— ваш сессионный cookieJSESSIONID— используется как CSRF-токен (значение выглядит какajax:1234...)
2. Конфигурация
cp .env.example .env
# Edit .env and paste your cookie values3. Сборка и тестирование
# Build the Docker image
docker build -t linkedin-mcp .
# Quick smoke test — should print the MCP server startup log
docker run --rm --env-file .env linkedin-mcp
# Ctrl+C to stop4. Подключение к Claude Desktop
Отредактируйте файл конфигурации Claude Desktop:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"linkedin-jobs": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"--env-file", "/ABSOLUTE/PATH/TO/linkedin-mcp/.env",
"linkedin-mcp"
]
}
}
}⚠️ Используйте абсолютный путь к вашему файлу .env.
~/здесь не раскрывается.
5. Перезапустите Claude Desktop
После сохранения конфигурации полностью закройте и снова откройте Claude Desktop.
Вы увидите значок инструментов 🔧 в строке чата — нажмите его, чтобы убедиться, что scrape_jobs, get_job_details, check_cookie и update_cookies присутствуют в списке.
6. Первый диалог
You: Check if my LinkedIn cookie is valid
Claude: [calls check_cookie] ✓ Authenticated as John Doe
You: Scrape 20 AI Engineer or ML Engineer jobs posted in the last 3 days in the US
Claude: [calls scrape_jobs] ...returns full job list with descriptionsRelated MCP server: mcp-job-search
Обновление cookie (каждые 30–60 дней)
Когда срок действия cookie истечет, экспортируйте их заново из Cookie-Editor и скажите Claude:
Update my LinkedIn cookies: li_at is "new_value" and jsessionid is "new_value"Claude вызовет update_cookies — перезапуск контейнера не требуется.
Разработка
# Run with live source reloading
docker compose up
# Inspect MCP tools without Claude Desktop
npx @modelcontextprotocol/inspector docker run --rm -i --env-file .env linkedin-mcpСтруктура проекта
linkedin-mcp/
├── src/
│ ├── server.py # MCP server — tool definitions and handlers
│ ├── scraper.py # LinkedIn Voyager API calls (httpx)
│ ├── models.py # Pydantic models for Job data
│ └── __init__.py
├── Dockerfile
├── docker-compose.yml
├── requirements.txt
├── .env.example
└── .gitignoreThis server cannot be deployed
Maintenance
Related MCP Connectors
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
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.
Public MCP server for discovering open jobs. Search, filter, and get application links.
Hosted MCP server for Google Ads and LinkedIn Ads analysis.
Related MCP Servers
- AlicenseAqualityCmaintenanceSelf-hosted, ban-safe MCP server for LinkedIn that provides 22 tools for profiles, search, jobs, posts, connections, and messages. Integrates with any MCP-compatible client like Claude Desktop.581MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that finds recent job postings based on your LinkedIn profile, scores each against your resume, and logs the results — all without logging into or scraping LinkedIn.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables AI assistants to search LinkedIn for job posts, save them locally, and manage them via a React dashboard.-
- AlicenseAqualityBmaintenanceAn MCP server that lets AI assistants like Claude read LinkedIn data through your own logged-in browser session. Access profiles and companies, search for jobs, or get job details.19Apache 2.0