HeadHunter MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
HeadHunter MCP Server
Security-hardened MCP server for personal use with the HeadHunter API. It can search vacancies, read minimized resume data, track negotiations, and prepare job applications. A real application requires a separate, one-time confirmation and is disabled by default.
Security modes
Read-only (default): all search and read tools work; application submission is blocked.
Apply with confirmation: set
HH_ENABLE_APPLICATIONS=true. The client must first callhh_prepare_application, show the preview to the user, and callhh_confirm_applicationonly after the user explicitly confirms it.
There is no one-call MCP tool for submitting an application. Confirmation is bound to the exact vacancy, resume, and cover letter, expires after 10 minutes, and can be used only once.
Related MCP server: HeadHunter API MCP Server
Requirements and installation
Python 3.10–3.13
HeadHunter application credentials from dev.hh.ru/admin
Windows Credential Manager for OAuth token storage (through
keyring)
python -m venv venv
venv\Scripts\Activate.ps1
python -m pip install --require-hashes -r requirements.lock
Copy-Item .env.example .envrequirements.txt contains direct dependency ranges. requirements.lock
contains the complete verified dependency set with hashes.
Configure HH_CLIENT_ID, HH_CLIENT_SECRET, HH_APP_TOKEN,
HH_REDIRECT_URI, and HH_USER_AGENT (with a real contact email) in the MCP
process environment or a secret manager. Treat .env as a development
template only; do not put real client secrets or OAuth tokens in it.
OAuth authorization
venv\Scripts\python.exe oauth_flow.pyThe script never prints tokens. It stores the access/refresh pair as one entry in the system credential store. Token refresh is automatic, persists rotated refresh tokens, and retries an authenticated request at most once after a 401.
HH_ALLOW_ENV_TOKENS=true enables an explicit development-only process
environment fallback. It must not be used with real tokens.
MCP configuration
Example configuration (adjust paths for your machine):
{
"mcpServers": {
"headhunter": {
"type": "stdio",
"command": "D:/path/to/headhunter-mcp-server/venv/Scripts/python.exe",
"args": ["D:/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.example/oauth/callback",
"HH_USER_AGENT": "HeadHunterMCP/0.1 (you@example.com)",
"HH_ENABLE_APPLICATIONS": "false"
}
}
}
}Tools
Read-only tools:
hh_search_vacancieshh_get_vacancyhh_get_employerhh_get_similarhh_get_areashh_get_dictionarieshh_get_negotiationshh_get_resumeshh_get_resume— minimized by default; excludes names and contactshh_get_resume_full— explicit bounded view including personal/contact data
Application tools:
hh_prepare_application— returns a preview and one-time token; never writeshh_confirm_application— submits only the exact stored previewhh_prepare_application_batch— prepares an ordered target plus fallback vacancies, skipping malformed, failed, or agent-flagged candidateshh_confirm_application_batch— submits the exact confirmed batch up to its hard target and returnssubmitted,skipped,unknown, andnot_attempted
Batch application limits are 20 target slots and 50 ordered candidates. Supply more candidates than the target so ordinary failures can be skipped. An ambiguous submission consumes a target slot because the POST may have succeeded; it is never retried automatically.
Example interaction:
“Prepare an application to vacancy
126209046using resume<resume_id>and this letter: …”Review the returned vacancy, employer, resume, and complete letter.
Explicitly say that the shown application may be submitted.
The client calls
hh_confirm_applicationwith the preview token.
For a batch, call hh_prepare_application_batch with one resume, the requested
target_count, and an ordered candidate list. Each candidate may include its
own exact letter or an agent-provided skip_reason. Review all prepared and
fallback vacancies, then explicitly approve the preview before calling
hh_confirm_application_batch.
If HH accepts the request, the result is submitted. A definite rejection is
not_submitted. A timeout or server-side ambiguity is unknown; the server
does not automatically repeat an ambiguous POST.
Data handling
IDs and pagination are validated before any HTTP request.
Vacancy/company HTML is converted to bounded plain text and marked as untrusted external content.
Default resume output excludes contact and identity fields.
Tokens are excluded from MCP output and diagnostic errors.
A vacancy description cannot create or alter an application confirmation.
Vacancy Hunter agent
The safe agent definition is docs/vacancy-hunter.md. It has no shell or file-write tools, contains no fixed resume IDs or absolute paths, and cannot confirm an application.
Local verification
venv\Scripts\python.exe -B -m unittest discover -s tests -v
venv\Scripts\ruff.exe check . --exclude venv
venv\Scripts\pip-audit.exe -r requirements.lock --disable-pipCI is intentionally not configured. The focused local tests cover validation, one-time confirmation, ambiguous application responses, token rotation and retry limits, output sanitization, and personal-data minimization.
Русский
Сервер по умолчанию работает только на чтение. Для откликов нужно явно задать
HH_ENABLE_APPLICATIONS=true, создать предпросмотр через
hh_prepare_application, проверить вакансию, работодателя, резюме и письмо, а
после явного согласия пользователя отдельно вызвать
hh_confirm_application. Токен подтверждения одноразовый и действует 10 минут.
OAuth-токены не выводятся и не сохраняются в .env: на Windows они хранятся в
Credential Manager через keyring. Обычный hh_get_resume не возвращает имя и
контакты; для них существует отдельный явный hh_get_resume_full.
Установка, конфигурация и команды проверки приведены выше. Безопасная версия агента находится в docs/vacancy-hunter.md.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
OAuth/API-key MCP for AI recruiting & sales: people search, contact data, authorized outreach.
LinkedIn API as MCP tools to retrieve profile data and publish content. Powered by HAPI MCP.
Kaer agents, workflows, mail, maps and calendar for any MCP client, with OAuth sign-in.
Recruiting platform MCP server for querying jobs, pipelines, candidate scores, and interviews.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search job vacancies, manage resumes, and apply to jobs on HeadHunter (hh.ru), Russia's largest job search platform. Includes OAuth 2.0 integration for secure job applications and an automated vacancy hunter agent with intelligent matching.40MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to access and manage HeadHunter job platform data, including vacancies, resumes, negotiations, and employer settings via 167+ tools.5MIT
- AlicenseAqualityDmaintenanceMCP server for SuperJob.ru API that enables searching for vacancies, employers, and reference data like towns and professions.534 npm1MIT
- AlicenseAqualityDmaintenanceEnables searching and retrieving job listings from multiple platforms through MCP.2MIT