Skip to main content
Glama
huntflow-mcp

huntflow-mcp

by Gaivoronsky

huntflow-mcp

MCP server for HuntFlow ATS API v2 — vacancies, candidates, resumes, funnel stages, rejection reasons, comments, accounts. 16 tools, 3 prompts.

npm License: MIT

Works with HuntFlow v2 (api.huntflow.ru for Russia or api.huntflow.ai for international accounts). Transports: stdio and streamable HTTP. All data is read-only, except for adding comments.

Installation

🧑‍💼 Not a programmer? There is a step-by-step guide in plain language: INSTALL.md

In claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/):

{
  "mcpServers": {
    "huntflow": {
      "command": "npx",
      "args": ["-y", "@gaivoronsky/huntflow-mcp"],
      "env": {
        "HUNTFLOW_TOKEN": "your-token",
        "HUNTFLOW_BASE_URL": "https://api.huntflow.ai/v2"
      }
    }
  }
}

After editing the config, fully restart Claude Desktop (⌘Q and reopen).

From source (for development)

git clone https://github.com/Gaivoronsky/huntflow-mcp.git
cd huntflow-mcp
npm install
npm run build      # → dist/

Run from the built code with node dist/index.js. To connect to Claude Desktop from source, set "command" in the config to the absolute path to node (the GUI does not inherit the shell PATH; e.g. ~/.nvm/versions/node/<version>/bin/node) and "args" to ["/path/to/huntflow-mcp/dist/index.js"].

Streamable HTTP

HUNTFLOW_TOKEN=your-token node dist/index.js --http
# POST /mcp, GET /health on port 3000 (override with PORT=...)

Related MCP server: 100Hires MCP Server

Getting a token

  1. In HuntFlow: Settings → API → Add token.

  2. The system will issue a link like https://huntflow.ai/token_request/<hash>. Do not open it "just to check" — that deactivates it. Open it in a browser under your account and click Receive.

  3. Put the resulting access_token (a long string) into HUNTFLOW_TOKEN.

The access_token lives for 7 days, the refresh_token for 14. The server does not refresh the token automatically — once it expires, obtain a new token again.

Environment variables

Variable

Required

Description

HUNTFLOW_TOKEN

yes

API token (Settings → API)

HUNTFLOW_BASE_URL

no

Defaults to https://api.huntflow.ru/v2. For an international account — https://api.huntflow.ai/v2

HUNTFLOW_USER_AGENT

no

The User-Agent header (HuntFlow requires it). Default huntflow-mcp/<version> (+repo); a contact email is recommended

PORT

no

HTTP server port (defaults to 3000)

Tools (16)

Tool

Description

list_accounts

List of available accounts

list_vacancies

List of vacancies (open/all), pagination page/count

get_vacancy

Full information about a vacancy

list_applicants

Candidates filtered by vacancy/status, pagination (count≤30)

search_applicants

Full-text search of candidates (q, field), pagination (count≤100)

get_applicant

Full candidate card (external[], links[])

get_applicant_resume

Resume (CV) with body by external_id (from get_applicant)

list_stages

Recruiting funnel stages (statuses): code → name

list_rejection_reasons

Reference list of rejection reasons: code → name

list_account_sources

Resume sources (e.g. RG, HeadHunter): id → name/type. Use the id for account_source

list_applicant_comments

Comments about a candidate (log, defaults to type=COMMENT)

add_applicant_comment

✍️ Add a comment (write; editing/deletion is not available through the HuntFlow API)

create_applicant

✍️ Create a candidate card (write; first_name+last_name are required, resume as text/files; a repeat → duplicate, see doubles[])

attach_applicant_to_vacancy

✍️ Attach a candidate to a vacancy and place them on a stage (write; vacancy+status are required)

upload_resume

✍️ Upload a resume file (write, multipart; file_path or content_base64; parse recognizes the CV)

update_applicant_external

✍️ Update an existing resume/external (write, PUT): source, text, files (by external_id)

Prompts (3)

MCP prompts for typical recruiting scenarios:

Prompt

Description

skill-applicants

Candidates for a vacancy — a table with stages and a summary

skill-vacancy-stats

Vacancy statistics — funnel, timing, conversion

skill-vacancy-analytics

Analytics: days in progress, candidates at stages with the customer, timing for sending the CV to the client

Development

npm install
npm test           # vitest (unit tests, mocked fetch)
npm run dev        # tsx src/index.ts (run from TS without building)
npm run build      # tsc → dist/

Structure: a thin HTTP client src/client.ts (Bearer + User-Agent, passing through API error bodies, retries only for GET), tools in src/tools/*.ts, server assembly in src/index.ts.

License

MIT. Based on theYahia/huntflow-mcp (MIT) with adaptations for the real HuntFlow v2 API.

Available Tools

16 tools
add_applicant_commentA

Add a comment to an applicant (WRITE operation: creates a log entry; it cannot be edited or deleted via the API).

Inputs: comment (required), account_id (required), applicant_id (required), vacancy.

attach_applicant_to_vacancyA

Attach an applicant to a vacancy and place them on a funnel stage (WRITE operation). vacancy + status (stage ID from list_stages) are required. For rejection — rejection_reason; for hiring — fill_quota + employment_date.

Inputs: status (required), vacancy (required), account_id (required), applicant_id (required), +5 more.

create_applicantA

Create an applicant card (WRITE operation: POST /applicants). first_name+last_name are required. Resume — as text (externals[].data.body) and/or file IDs from upload_resume. Repeating creates a DUPLICATE (no idempotency) — check doubles[] in the response.

Inputs: last_name (required), account_id (required), first_name (required), site, +10 more.

get_applicantC

Full applicant card (external[], links[]).

Inputs: account_id (required), applicant_id (required).

get_applicant_resumeA

Applicant resume (CV) with body. external_id is taken from get_applicant → external[].id.

Inputs: account_id (required), external_id (required), applicant_id (required).

get_vacancyC

Full information about a vacancy.

Inputs: account_id (required), vacancy_id (required).

list_accountsB

List of available HuntFlow accounts.

Inputs: no named parameters.

list_account_sourcesA

Applicant resume sources (e.g. "RG", "HeadHunter"): id → name/type. Use the numeric id for create_applicant → externals[].account_source and update_applicant_external.

Inputs: account_id (required).

list_applicant_commentsB

Comments about an applicant (log, by default only type=COMMENT). Pagination page/count≤100.

Inputs: account_id (required), applicant_id (required), page, count, +3 more.

list_applicantsA

Account applicants filtered by vacancy and/or status (stage). Pagination: page, count≤30. For "applicants for vacancy X" pass vacancy.

Inputs: account_id (required), page, count, status, +2 more.

list_rejection_reasonsC

Directory of rejection reasons: code → name.

Inputs: account_id (required).

list_stagesC

Recruitment funnel stages (vacancy statuses): code → name.

Inputs: account_id (required).

list_vacanciesC

List of vacancies (open/all), with pagination.

Inputs: account_id (required), page, count, opened.

search_applicantsC

Text search for applicants (name/email/resume). Pagination: page, count≤100. The q parameter actually filters results.

Inputs: account_id (required), q, page, count, +3 more.

update_applicant_externalA

Update an EXISTING resume (external) of an applicant (WRITE operation: PUT). Set the source (account_source from list_account_sources), resume text (body) and/or files. external_id comes from get_applicant → external[].id. NOTE: there is no API to ADD a new resume to an applicant created without one — attach the resume at creation via create_applicant → externals[].

Inputs: body (required), account_id (required), external_id (required), applicant_id (required), +2 more.

upload_resumeA

Upload a resume file (WRITE operation: multipart). Source: file_path (local path) OR content_base64+file_name. parse=true parses the CV (returns text/fields/photo). Put the id from the response into create_applicant → externals[].files / photo.

Inputs: account_id (required), parse, file_name, file_path, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 16 tools

    Disambiguation5/5

    Each tool has a distinct purpose: listing sources, accounts, vacancies, applicants, stages, rejection reasons, comments; getting details; creating/appending data. No two tools overlap in functionality, and descriptions clearly differentiate similar operations like list_applicants vs search_applicants.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case, using verbs like list, get, search, add, create, attach, upload, update. No mixing of conventions, making it predictable for agents.

    Tool Count5/5

    16 tools cover the core recruitment workflow: accounts, vacancies, applicants, resumes, comments, stages, and rejection reasons. This is well-scoped for an ATS integration, not excessive nor sparse.

    Completeness3/5

    Coverage includes listing and creating applicants, uploading resumes, and attaching to vacancies, but missing updates for applicants and vacancies, no deletion operations, and no way to add a resume post-creation. These are notable gaps that could cause agent failures.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers