Skip to main content

HeadHunter MCP Server

Python 3.10+ MCP HeadHunter API License: MIT

English | Русский


English

MCP (Model Context Protocol) server for integrating HeadHunter API with Claude Code and other MCP clients.

HeadHunter (hh.ru) is the largest job search platform in Russia and CIS countries. This MCP server provides seamless integration with HeadHunter API, enabling AI assistants to search vacancies, manage resumes, and apply to jobs on your behalf.

Features

  • 🔍 Advanced Vacancy Search - Filter by location, salary, experience, employment type
  • 📄 Resume Management - View and manage your HeadHunter resumes
  • ✉️ Job Applications - Apply to vacancies with custom cover letters
  • 🏢 Company Information - Get detailed employer data
  • 📊 Application Tracking - Monitor your job application history
  • 🤖 AI-Powered Agent - Automated vacancy hunter with intelligent matching
  • 🔐 OAuth 2.0 - Secure authorization with HeadHunter

Available Tools (10)

  1. hh_search_vacancies - Search for job vacancies
  2. hh_get_vacancy - Get detailed vacancy information
  3. hh_get_employer - Get company/employer details
  4. hh_get_similar - Find similar vacancies
  5. hh_get_areas - Get list of regions/cities
  6. hh_get_dictionaries - Get reference data (experience, employment types, etc.)
  7. hh_get_resumes - Get your resumes list
  8. hh_get_resume - Get detailed resume information
  9. hh_apply_to_vacancy - Apply to a vacancy (requires OAuth)
  10. hh_get_negotiations - Get application history (requires OAuth)

Quick Start

1. Installation

git clone https://github.com/yourusername/headhunter-mcp-server.git
cd headhunter-mcp-server
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

2. Get HeadHunter API Credentials

  1. Register your application at https://dev.hh.ru/admin
  2. Get Client ID, Client Secret, and App Token
  3. Copy .env.example to .env and fill in your credentials
cp .env.example .env
# Edit .env with your credentials

3. Configure Claude Code

Add to your ~/.claude.json:

{
  "mcpServers": {
    "headhunter": {
      "type": "stdio",
      "command": "/path/to/venv/bin/python",
      "args": ["/path/to/headhunter-mcp-server/server.py"],
      "env": {
        "HH_CLIENT_ID": "your_client_id",
        "HH_CLIENT_SECRET": "your_client_secret",
        "HH_APP_TOKEN": "your_app_token",
        "HH_REDIRECT_URI": "https://your-domain.com/oauth/callback"
      }
    }
  }
}

4. OAuth Authorization (Optional)

For job applications and resume management:

python examples/oauth_flow.py

Follow the instructions to authorize and get access tokens.

Usage Examples

# Search for Python jobs in Moscow
Find 10 Python developer vacancies in Moscow with salary from 200000

# View your resumes
Show my resumes

# Get vacancy details
Show details for vacancy 126209046

# Apply to a job (after OAuth)
Apply to vacancy 126209046 with resume [resume_id] and cover letter: "Hello..."

Vacancy Hunter Agent

Automated agent for intelligent vacancy search and analysis. See docs/vacancy-hunter-agent.md for details.

Features:

  • Analyzes multiple resumes simultaneously
  • Scores vacancies by relevance (0-30 points)
  • Generates CSV reports with AI-powered recommendations
  • Focuses on Moscow region only

Usage:

Run vacancy-hunter agent

Project Structure

headhunter-mcp-server/
├── server.py              # MCP server (10 tools)
├── hh_client.py           # HeadHunter API client
├── requirements.txt       # Python dependencies
├── .env.example           # Environment variables template
├── examples/
│   └── oauth_flow.py      # OAuth authorization script
└── docs/
    └── vacancy-hunter-agent.md  # Agent documentation

Requirements

  • Python 3.10+
  • Claude Code or any MCP-compatible client
  • HeadHunter API credentials

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details.

Links


Russian

MCP сервер для интеграции HeadHunter API с Claude Code и другими MCP клиентами.

HeadHunter (hh.ru) — крупнейшая платформа по поиску работы в России и странах СНГ. Этот MCP сервер обеспечивает бесшовную интеграцию с API HeadHunter, позволяя AI ассистентам искать вакансии, управлять резюме и откликаться на вакансии от вашего имени.

Возможности

  • 🔍 Расширенный поиск вакансий - Фильтрация по местоположению, зарплате, опыту, типу занятости
  • 📄 Управление резюме - Просмотр и управление вашими резюме на HeadHunter
  • ✉️ Отклики на вакансии - Подача заявок с персонализированными сопроводительными письмами
  • 🏢 Информация о компаниях - Получение детальных данных о работодателях
  • 📊 Отслеживание откликов - Мониторинг истории ваших откликов
  • 🤖 AI-агент - Автоматизированный поиск вакансий с умным сопоставлением
  • 🔐 OAuth 2.0 - Безопасная авторизация через HeadHunter

Доступные инструменты (10)

  1. hh_search_vacancies - Поиск вакансий
  2. hh_get_vacancy - Детальная информация о вакансии
  3. hh_get_employer - Информация о компании/работодателе
  4. hh_get_similar - Поиск похожих вакансий
  5. hh_get_areas - Список регионов/городов
  6. hh_get_dictionaries - Справочные данные (опыт, типы занятости и т.д.)
  7. hh_get_resumes - Список ваших резюме
  8. hh_get_resume - Детальная информация о резюме
  9. hh_apply_to_vacancy - Откликнуться на вакансию (требует OAuth)
  10. hh_get_negotiations - История откликов (требует OAuth)

Быстрый старт

1. Установка

git clone https://github.com/yourusername/headhunter-mcp-server.git
cd headhunter-mcp-server
python -m venv venv
source venv/bin/activate  # В Windows: venv\Scripts\activate
pip install -r requirements.txt

2. Получение credentials HeadHunter API

  1. Зарегистрируйте приложение на https://dev.hh.ru/admin
  2. Получите Client ID, Client Secret и App Token
  3. Скопируйте .env.example в .env и заполните свои credentials
cp .env.example .env
# Отредактируйте .env своими credentials

3. Настройка Claude Code

Добавьте в ~/.claude.json:

{
  "mcpServers": {
    "headhunter": {
      "type": "stdio",
      "command": "/путь/к/venv/bin/python",
      "args": ["/путь/к/headhunter-mcp-server/server.py"],
      "env": {
        "HH_CLIENT_ID": "ваш_client_id",
        "HH_CLIENT_SECRET": "ваш_client_secret",
        "HH_APP_TOKEN": "ваш_app_token",
        "HH_REDIRECT_URI": "https://ваш-домен.com/oauth/callback"
      }
    }
  }
}

4. OAuth авторизация (опционально)

Для откликов на вакансии и управления резюме:

python examples/oauth_flow.py

Следуйте инструкциям для авторизации и получения токенов доступа.

Примеры использования

# Поиск Python вакансий в Москве
Найди 10 вакансий Python разработчика в Москве с зарплатой от 200000

# Просмотр резюме
Покажи мои резюме

# Детали вакансии
Покажи детали вакансии 126209046

# Отклик на вакансию (после OAuth)
Откликнись на вакансию 126209046 резюме [resume_id] с письмом: "Здравствуйте..."

Vacancy Hunter Agent

Автоматизированный агент для умного поиска и анализа вакансий. Подробности в docs/vacancy-hunter-agent.md.

Возможности:

  • Анализирует несколько резюме одновременно
  • Оценивает релевантность вакансий (0-30 баллов)
  • Генерирует CSV отчёты с AI рекомендациями
  • Фокусируется только на регионе Москва

Использование:

Запусти агента vacancy-hunter

Структура проекта

headhunter-mcp-server/
├── server.py              # MCP сервер (10 инструментов)
├── hh_client.py           # HeadHunter API клиент
├── requirements.txt       # Python зависимости
├── .env.example           # Шаблон переменных окружения
├── examples/
│   └── oauth_flow.py      # Скрипт OAuth авторизации
└── docs/
    └── vacancy-hunter-agent.md  # Документация агента

Требования

  • Python 3.10+
  • Claude Code или любой MCP-совместимый клиент
  • HeadHunter API credentials

Участие в разработке

Приветствуются любые вклады! Не стесняйтесь отправлять Pull Request.

Лицензия

MIT License - подробности в файле LICENSE.

Ссылки


Made with ❤️ for the HeadHunter and MCP community

Metadata

Release files for iflow-mcp_gmen1057-headhunter-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_gmen1057-headhunter-mcp-server 0.1.0
File Size Uploaded
iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_gmen1057-headhunter-mcp-server 0.1.0
File Interpreter ABI Platform
iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.4 kB

Release files / iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0.tar.gz

Download URL iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ac59fa37a6a4bdad41c52de2728fccd8c43c91f94090ce34e54b97df3b72e529
BLAKE2b-256 checksum
How to use checksums
d269aa4035e74df342d36193ff2fd3d213c8d1a11bb95fe7e3f94cdc99c41340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0-py3-none-any.whl

Download URL iflow_mcp_gmen1057_headhunter_mcp_server-0.1.0-py3-none-any.whl
Size 35.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d0757096a85ab110aee441824495ed2956e35178139cb03bac524674bc6f840
BLAKE2b-256 checksum
How to use checksums
b6efbee832b2738f19775297ef7b29706237588f244201621dceaf65dd6e576c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page