Skip to main content
Glama
@theyahia/hh-mcp

@theyahia/hh-mcp

by theYahia

@theyahia/hh-mcp

hh.ru API 用の MCP サーバー — ロシアおよび CIS の求人市場。19 のツール が、求人、履歴書、企業、給与統計、辞書、オートコンプリート、トークン診断をカバーします。

レスポンスはデフォルトでコンパクトで LLM に優しい要約として返されます。任意の検索・詳細ツールに raw: true を渡すと、完全な hh.ru JSON を取得できます。

npm CI License: MIT

Russian API MCP シリーズの一部です。@theYahia によるものです。

2つのモード

モード

利用可能なもの

トークンが必要?

トークンなし

求人検索、求人IDによる取得、類似求人、企業、給与統計、エリア、役割、業界、地下鉄、辞書、サジェスト、トークンチェック

いいえ

トークンあり

上記すべて + 履歴書検索、履歴書IDによる取得

はい (HH_ACCESS_TOKEN)

トークンは 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-mcp

VS 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 に追加し、独自の認証の背後に置いてください。

環境変数

変数

必須

説明

HH_ACCESS_TOKEN

いいえ

OAuth 2.0 Bearer トークン。履歴書エンドポイントに必要 (employer + 有料履歴書DB)。

HH_USER_AGENT

いいえ

カスタム HH-User-Agent (hh.ru で必須)。your-app/1.0 (you@example.com) を推奨。

HTTP_PORT / PORT

いいえ

HTTP モードのポート (デフォルト: 3000)。

HOST

いいえ

HTTP モードでバインドするインターフェース (デフォルト: 127.0.0.1)。

HH_ALLOWED_HOSTS

いいえ

HTTP モードの Host 許可リスト (カンマ区切り、デフォルト: loopback)。

HH_ALLOWED_ORIGINS

いいえ

HTTP モードの Origin 許可リスト (カンマ区切り)。

.env.example を参照してください。

ツール (19)

すべての検索・詳細ツールは raw: true を受け付け、コンパクトな要約の代わりに完全な hh.ru JSON を返します。

求人

ツール

説明

トークン?

search_vacancies

キーワード、地域、専門職ロール、業界、地下鉄、企業、給与、経験、勤務形態 / 雇用形態、日付範囲 (period または date_from/date_to)、ラベル、検索フィールドによる検索。並べ替えとページネーション対応。

いいえ

get_vacancy

求人の詳細: 説明、要件、主要スキル、連絡先。

いいえ

get_similar_vacancies

指定した求人に類似した求人を検索。

いいえ

履歴書 (employer トークン + 有料履歴書DB)

ツール

説明

トークン?

search_resumes

キーワード、地域、ロール、給与、経験による候補者の履歴書検索。

はい

get_resume

完全な履歴書: 経験、学歴、スキル、連絡先。

はい

企業

ツール

説明

トークン?

search_employers

名前と地域による企業検索。

いいえ

get_employer

企業プロフィール: 説明、業界、ウェブサイト、求人件数。

いいえ

get_employer_vacancies

特定の企業のアクティブな求人一覧。

いいえ

辞書とサジェスト

ツール

説明

トークン?

get_areas

地域と都市のツリー (id — name)

いいえ

get_areas_subtree

1つのエリアIDの下の地域/都市 — 完全なツリーより軽量。

いいえ

get_professional_roles

ID付きの専門職ロールのツリー。

いいえ

get_industries

ID付きの企業業界のツリー。

いいえ

get_metro

都市の地下鉄駅/路線とID。

いいえ

get_dictionaries

すべての参照データ: 通貨、雇用形態、勤務スケジュール、経験、ラベル。

いいえ

suggest_positions

職種名のオートコンプリート。

いいえ

suggest_companies

企業名のオートコンプリート。

いいえ

suggest_areas

地域/都市名のオートコンプリート。

いいえ

給与とアカウント

ツール

説明

トークン?

get_salary_statistics

推定 給与分布 (中央値、P25/P75、最小/最大) を、地域内のロールについて、掲載された求人給与から計算。偏ったサンプルであり、公式の市場データではありません。

いいえ

validate_token

HH_ACCESS_TOKEN が有効かどうかを (/me 経由で) 確認し、アカウントのロールを報告します。

いいえ

レート制限

組み込みのレートリミッターは、hh.ru API の1秒あたり5リクエストの制限を尊重します。429 および 5xx エラー時には指数バックオフで自動再試行します (最大3回)。注意: リミッターはプロセス全体で共有されるため、共有 HTTP モードではすべてのクライアントが1つの 5 req/s の予算を共有します。

デモプロンプト

Find remote Python developer jobs in Moscow paying over 300,000 RUB
Show me all open vacancies at Yandex and give me salary statistics for their top roles
Compare 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 test

API リファレンス

ライセンス

MIT

Available Tools

19 tools
get_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

    A3.8/5.0

    Scored across 19 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness5/5

    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

    ActivityStale
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      38
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables AI assistants to access and manage HeadHunter job platform data, including vacancies, resumes, negotiations, and employer settings via 167+ tools.
      5
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables 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.
      9
      4
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      7
      MIT