Skip to main content
Glama
FuriousApe

LinkedIn Jobs MCP Server

by FuriousApe

LinkedIn Jobs MCP 서버

인증된 세션 쿠키를 사용하여 LinkedIn 채용 정보를 스크랩하는 자체 호스팅 MCP 서버입니다. Docker에서 실행되며, Apify를 사용하지 않으므로 실행당 비용이 발생하지 않습니다.

설정

1. 쿠키 가져오기

  1. Cookie-Editor 크롬 확장 프로그램을 설치합니다.

  2. LinkedIn에 로그인합니다 (부계정 사용 권장).

  3. Cookie-Editor → Export (JSON)를 클릭합니다.

  4. 다음 두 값을 찾아 복사합니다:

    • li_at — 세션 쿠키

    • JSESSIONID — CSRF 토큰으로 사용됨 (값은 ajax:1234... 형태)

2. 구성

cp .env.example .env
# Edit .env and paste your cookie values

3. 빌드 및 테스트

# 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 stop

4. Claude Desktop에 연결

Claude Desktop 설정 파일을 편집합니다:

  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %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 descriptions

Related MCP server: mcp-job-search

쿠키 갱신 (30~60일마다)

쿠키가 만료되면 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
└── .gitignore

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Self-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.
    58
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server that enables AI assistants to search LinkedIn for job posts, save them locally, and manage them via a React dashboard.
    -