@theyahia/hh-mcp
@theyahia/hh-mcp
hh.ru API 用の MCP サーバー — ロシアおよび CIS の求人市場。19 のツール が、求人、履歴書、企業、給与統計、辞書、オートコンプリート、トークン診断をカバーします。
レスポンスはデフォルトでコンパクトで LLM に優しい要約として返されます。任意の検索・詳細ツールに raw: true を渡すと、完全な hh.ru JSON を取得できます。
Russian API MCP シリーズの一部です。@theYahia によるものです。
2つのモード
モード | 利用可能なもの | トークンが必要? |
トークンなし | 求人検索、求人IDによる取得、類似求人、企業、給与統計、エリア、役割、業界、地下鉄、辞書、サジェスト、トークンチェック | いいえ |
トークンあり | 上記すべて + 履歴書検索、履歴書IDによる取得 | はい ( |
トークンは dev.hh.ru/admin で取得できます。注意: 履歴書検索にはさらに employer アカウントと 有料の履歴書データベース購読 が必要です。応募者・匿名トークンは 403 になります。validate_token を使用して、トークンで何ができるかを確認してください。
Related MCP server: HeadHunter API MCP Server
インストール
Claude Desktop
{
"mcpServers": {
"hh": {
"command": "npx",
"args": ["-y", "@theyahia/hh-mcp"],
"env": {
"HH_ACCESS_TOKEN": "optional-oauth-token"
}
}
}
}Claude Code
claude mcp add hh -- npx -y @theyahia/hh-mcp
# With token:
claude mcp add hh -e HH_ACCESS_TOKEN=your-token -- npx -y @theyahia/hh-mcpVS Code / Cursor
{
"servers": {
"hh": {
"command": "npx",
"args": ["-y", "@theyahia/hh-mcp"]
}
}
}Windsurf
{
"mcpServers": {
"hh": {
"command": "npx",
"args": ["-y", "@theyahia/hh-mcp"]
}
}
}HTTP モード (Streamable HTTP)
npx @theyahia/hh-mcp --http
# or
HTTP_PORT=8080 npx @theyahia/hh-mcp --httpエンドポイント: http://localhost:3000/mcp (POST) · ヘルスチェック: http://localhost:3000/health (GET)
HTTP モードはステートレスで、デフォルトでは 127.0.0.1 にバインドされ、DNS リバインディング保護が有効です。公開するには、HOST=0.0.0.0 を設定し、ホスト/オリジンを HH_ALLOWED_HOSTS / HH_ALLOWED_ORIGINS に追加し、独自の認証の背後に置いてください。
環境変数
変数 | 必須 | 説明 |
| いいえ | OAuth 2.0 Bearer トークン。履歴書エンドポイントに必要 (employer + 有料履歴書DB)。 |
| いいえ | カスタム |
| いいえ | HTTP モードのポート (デフォルト: 3000)。 |
| いいえ | HTTP モードでバインドするインターフェース (デフォルト: |
| いいえ | HTTP モードの Host 許可リスト (カンマ区切り、デフォルト: loopback)。 |
| いいえ | HTTP モードの Origin 許可リスト (カンマ区切り)。 |
.env.example を参照してください。
ツール (19)
すべての検索・詳細ツールは raw: true を受け付け、コンパクトな要約の代わりに完全な hh.ru JSON を返します。
求人
ツール | 説明 | トークン? |
| キーワード、地域、専門職ロール、業界、地下鉄、企業、給与、経験、勤務形態 / 雇用形態、日付範囲 ( | いいえ |
| 求人の詳細: 説明、要件、主要スキル、連絡先。 | いいえ |
| 指定した求人に類似した求人を検索。 | いいえ |
履歴書 (employer トークン + 有料履歴書DB)
ツール | 説明 | トークン? |
| キーワード、地域、ロール、給与、経験による候補者の履歴書検索。 | はい |
| 完全な履歴書: 経験、学歴、スキル、連絡先。 | はい |
企業
ツール | 説明 | トークン? |
| 名前と地域による企業検索。 | いいえ |
| 企業プロフィール: 説明、業界、ウェブサイト、求人件数。 | いいえ |
| 特定の企業のアクティブな求人一覧。 | いいえ |
辞書とサジェスト
ツール | 説明 | トークン? |
| 地域と都市のツリー ( | いいえ |
| 1つのエリアIDの下の地域/都市 — 完全なツリーより軽量。 | いいえ |
| ID付きの専門職ロールのツリー。 | いいえ |
| ID付きの企業業界のツリー。 | いいえ |
| 都市の地下鉄駅/路線とID。 | いいえ |
| すべての参照データ: 通貨、雇用形態、勤務スケジュール、経験、ラベル。 | いいえ |
| 職種名のオートコンプリート。 | いいえ |
| 企業名のオートコンプリート。 | いいえ |
| 地域/都市名のオートコンプリート。 | いいえ |
給与とアカウント
ツール | 説明 | トークン? |
| 推定 給与分布 (中央値、P25/P75、最小/最大) を、地域内のロールについて、掲載された求人給与から計算。偏ったサンプルであり、公式の市場データではありません。 | いいえ |
|
| いいえ |
レート制限
組み込みのレートリミッターは、hh.ru API の1秒あたり5リクエストの制限を尊重します。429 および 5xx エラー時には指数バックオフで自動再試行します (最大3回)。注意: リミッターはプロセス全体で共有されるため、共有 HTTP モードではすべてのクライアントが1つの 5 req/s の予算を共有します。
デモプロンプト
Find remote Python developer jobs in Moscow paying over 300,000 RUBShow me all open vacancies at Yandex and give me salary statistics for their top rolesCompare Senior Backend salaries in Moscow vs Saint Petersburg, and suggest similar vacancies to the best-paying one開発
git clone https://github.com/theYahia/hh-mcp.git
cd hh-mcp
npm install
npm run build
npm testAPI リファレンス
ライセンス
MIT
Available Tools
19 toolsget_areasA
Get the full tree of regions and cities as id — name lines (pass raw:true for nested JSON). Use to find area IDs for search filters.
Inputs: raw.
get_areas_subtreeA
Get the regions/cities subtree under one area id (e.g. 113=Russia) — lighter than the full /areas tree.
Inputs: area_id (required), raw.
get_dictionariesA
Get all reference dictionaries: currencies, employment types, schedules, experience levels, vacancy labels, and more.
Inputs: no named parameters.
get_employerA
Get detailed employer profile: description, industries, website, vacancy count.
Inputs: employer_id (required), raw.
get_employer_vacanciesC
List active vacancies for a specific employer.
Inputs: employer_id (required), raw, page, per_page.
get_industriesA
Get the tree of company industries with IDs. Use to find industry IDs for the search_vacancies industry filter.
Inputs: raw.
get_metroA
Get metro stations and lines with IDs for a city (city_id), or for all cities. Use to find metro IDs for the search_vacancies metro filter.
Inputs: city_id.
get_professional_rolesA
Get the tree of professional roles with IDs. Use to find role IDs for vacancy/resume search and salary stats.
Inputs: raw.
get_resumeA
Get full resume details: experience, education, skills, contacts. Requires an EMPLOYER OAuth token + paid resume-database access.
Inputs: resume_id (required), raw.
get_salary_statisticsA
Estimate salary distribution (median, P25/P75, min/max) for a professional role in a region by sampling posted vacancy salaries client-side. Biased sample (only vacancies that disclose salary) — not official market data.
Inputs: professional_role_id (required), raw, text, area_id, +1 more.
get_similar_vacanciesB
Find vacancies similar to a given one. Useful for expanding a candidate's job search.
Inputs: vacancy_id (required), raw, page, per_page.
get_vacancyB
Get full vacancy details: description, requirements, key skills, contacts, employer info.
Inputs: vacancy_id (required), raw.
search_employersA
Search companies/employers on hh.ru by name. Returns company info and open vacancy count.
Inputs: text (required), raw, area, page, +1 more.
search_resumesA
Search candidate resumes by keywords, region, professional role, salary, experience. Requires an EMPLOYER OAuth token (HH_ACCESS_TOKEN) AND a paid hh.ru resume-database subscription — applicant/anonymous tokens get 403.
Inputs: raw, area, page, text, +4 more.
search_vacanciesA
Search job vacancies on hh.ru by keywords, region, professional role, industry, metro, salary, experience, employment form, work format, date range and labels. Returns a compact paginated summary (pass raw:true for full JSON).
Inputs: raw, area, page, text, +19 more.
suggest_areasA
Autocomplete region/city names. Returns matching area suggestions for partial input.
Inputs: text (required), raw.
suggest_companiesB
Autocomplete company names. Returns matching employer suggestions for partial input.
Inputs: text (required), raw.
suggest_positionsA
Autocomplete job titles / professional roles. Returns matching role suggestions for partial input.
Inputs: text (required), raw.
validate_tokenA
Check whether HH_ACCESS_TOKEN is valid via /me and report the user role (applicant/employer). Use to diagnose resume-search access.
Inputs: raw.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Each tool targets a distinct resource or action: search/get for vacancies, resumes, employers, plus reference data and suggestions. Even similar tools like get_areas vs get_areas_subtree have clearly separated purposes.
All tool names follow a consistent verb_noun pattern in snake_case (search_vacancies, get_vacancy, suggest_areas). No mixing of conventions or vague verbs.
19 tools is on the higher end but well-justified for a comprehensive job API covering search, retrieval, suggestions, and reference data. Not excessive enough to be a problem.
The tool surface covers all major read-only operations for hh.ru: vacancy/resume/employer search and retrieval, similar vacancies, salary stats, and reference dictionaries. No obvious gaps for the intended purpose.
Maintenance
Related MCP Connectors
Search remote jobs, read full postings, and get application links from Claude, Codex, Cursor, and other compatible MCP clients. Tools: search_jobs, get_job, get_filters. Supports cursor pagination and location, category, skill, seniority, employment type, and salary availability filters. Free, read-only Streamable HTTP; no account or API key required. Posting-based facts; remote does not imply worldwide eligibility. Setup: https://heyrole.ai/developers
Job-posting search (jobicy, HN Who is Hiring, arbeitnow) and US H-1B salary data as agent tools.
Salary and H-1B disclosed-wage data as agent tools.
Web scraping and search, geocoding, IP and domain checks, translation, weather. 15 tools, x402.
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.38MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to access and manage HeadHunter job platform data, including vacancies, resumes, negotiations, and employer settings via 167+ tools.5MIT
- FlicenseAqualityDmaintenanceEnables to interact with hh.ru (a Russian job platform) through browser automation, allowing users to search for jobs, manage resumes, apply to vacancies with cover letters, and track application statuses via natural language.94-
- AlicenseAqualityBmaintenanceEnables LLM agents to query and analyze hh.ru job vacancies via full-text and semantic search, with tools for vacancy lookup, skill statistics, market overview, and candidate profile comparison.7MIT