freehire
freehire MCP 服务器
一个基于 freehire 职位 API 的 MCP 服务器。它让任何 MCP 宿主——Claude Desktop、Claude Code 或兼容的智能体——无需浏览器即可搜索、筛选和申请 IT 职位,并使用个人 API 密钥进行认证。职位发布直接抓取自公司招聘官网——覆盖 294K 家公司的 3.3M+ 个在招职位,规范化为统一结构,并标记了技术栈、资历、地区和工作模式(实时数据)。
它与 freehire CLI 保持一致:相同的 API、相同的凭据,只是以 MCP 工具而非 shell 命令的形式暴露。
安装
无需全局安装——宿主通过 npx 运行它。将其添加到宿主的 MCP 配置中(Claude Desktop → 设置 → 开发者 → 编辑配置,或 Claude Code 的 ~/.claude.json):
{
"mcpServers": {
"freehire": {
"command": "npx",
"args": ["-y", "freehire-mcp"],
"env": { "FREEHIRE_TOKEN": "fhk_xxxxxxxx" }
}
}
}在 Web 应用中创建 fhk_… 密钥(freehire.me → 账户菜单 → API 密钥)。如果你已经在使用 freehire CLI(freehire auth login),你可以省略 env——服务器会读取相同的 ~/.freehire/creds.json。
Related MCP server: jobfinder-mcp
认证
令牌和 API 基础 URL 按以下优先级解析:环境变量 → ~/.freehire/creds.json → 默认 https://freehire.me:
项目 | 来源 |
令牌 |
|
API 基础 URL |
|
服务器只读取凭据文件(绝不写入——登录仍是 CLI 的职责)。如果未配置令牌,工具会返回明确的“未认证”错误,而不是让服务器启动失败。
工具
Tool | Purpose |
| 当前登录用户(验证密钥)。 |
| 筛选器/技能词汇表:每个维度的实时值及计数。请先调用。 |
| 关键字 + 维度职位搜索;返回职位 及其完整描述(markdown 格式) 和匹配总数。 |
| 根据实时市场需求为技能列表打分(覆盖情况 + 差距)。 |
| 按 slug 获取单个职位的完整内容。 |
| 按 slug 获取公司及其在招职位。 |
| 将职位标记为已申请。 |
| 添加书签 / 移除书签。 |
| 设置申请阶段(服务器校验)。 |
| 附加一条自由文本备注。 |
| 调用者跟踪的职位(全部/已查看/已保存/已申请),包含阶段和备注。 |
| 开始(或重新打开)针对空缺职位的定制;返回其他 |
| 调用者定制过的 CV,以及每个 CV 所针对的空缺职位。 |
| 定制 CV 应重新聚焦的匹配度分析(missing_have 与 missing_gap)。 |
| 定制 CV 的完整文档。 |
| 以原子方式对定制 CV 应用一批按路径寻址的编辑(服务器校验;无引用依据的陈述会被拒绝)。 |
| 将定制 CV 渲染为 PDF,以 base64 |
| 候选人的经历库,包含每项成就的来源。 |
| 记录一个工作地点,或一条证据。 |
| 更正其中一项。字段级:未指定的内容将保留。 |
| 删除其中一项。不可撤销;工作地点必须为空才能删除。 |
| 提交空缺职位以供审核。 |
| 调用者的提交记录及状态。 |
| 审核员:创建 / 编辑职位(无此角色返回 403)。 |
| 审核员:待审核队列。 |
| 审核员:对提交做出决定。 |
筛选器。 search、market_fit 和 facets 共享相同的市场筛选参数:remote、region、country、city、company、category、role、seniority、employment_type、english_level、exclude_skill、salary_min、visa,外加一个通用的 facets 映射({"source": "greenhouse"}),用于词汇表中的任何其他维度。使用 facets 工具发现有效值——不要凭空臆造。在 search 中,skills 是筛选条件;在 market_fit 中,skills 是被评估的集合。
地理范围会扩大。 region、country 和 city 是一个“或”分组:region: ["eu"] 搭配 country: ["IT"] 表示“在欧洲或意大利”,并返回仅用 region 时本应返回的所有结果。要搜索单个国家,请传入 country 并省略 region。这三个参数命名的是同一个概念——地点——因此同时选择两个地点会被理解为“任一”,这正是 region: ["eu"] 搭配 country: ["BR"](“欧洲或巴西”)之所以有用的原因。没有可切换的 AND:_mode=and 不适用于地理范围。
未识别的参数会被忽略,而不是被拒绝。 API 无法识别的筛选键不会使请求失败,而是会扩大请求范围。此类键会出现在结果的 ignored 列表中;如果只是语法上的单复数错误,还会附带 did_you_mean。search 会将它与 total 一起报告;facets 和 market_fit 返回的是单个对象,因此它们会将其包装为 {data, ignored}——并且仅在这种情况下,保持干净调用的返回结构不变。任何带有 ignored 的结果中的数字,所回答的问题都比原问题更宽泛——在报告之前,请先用建议的名称重试。
描述。 search 读取 API 的 agent 端点,因此每条命中结果都已带有渲染为 markdown 的完整职位描述——宿主无需对每条命中调用 job 即可筛选结果集。描述很长,所以请将 limit 保持在适中的值。
证据规则。 经历库中的每项成就都记录了断言者。cv_import、stated_in_chat 和 manual 表示由候选人本人断言,可以在 CV 中引用;agent_inferred 表示由模型读入记录,不得引用。cv_edit 会拒绝任何没有 evidence_id 指向可引用证据的关于候选人的陈述,这正是 experience_list 是让 cv_edit 真正可用的工具的原因。
更正一项成就不会改变该标签:agent_inferred 的成就无论怎样改写都仍然不可引用。使其可引用的唯一方法是询问候选人,然后用 experience_add_achievement 记录他们所说的话。
删除是最终的——经历库没有撤销功能。一个工作地点必须先清空才能删除,因为删除它会带走其下所有成就。将两项成就合并为一项并保留两者的数字,这一操作在网站上完成。
每个工具都以 JSON 文本形式返回原始 API data;API 错误会变成带有 HTTP 状态的 isError 结果(401 会附加认证提示)。
开发
npm install
npm test # vitest: config, client (mock server), facets, tool dispatch
npm run build # tsc → dist/许可证
MIT——参见 LICENSE。freehire 后端和 CLI 同样是 MIT 许可。
Available Tools
46 toolsapplyBIdempotentInspect
Mark a job as applied for the authenticated user. Idempotent.
Inputs: slug (required).
check_jobs_openARead-onlyInspect
Check whether postings are still open, by the public_slug search results carry — up to 50 per call. Use it before presenting a shortlist or acting on a saved one: each posting answers open, closed or not_found, with when it closed or was last seen live.
Inputs: slugs (required).
contributeAInspect
Hand freehire a link to a vacancy or an ATS company career board (the same intake the website and CLI use). If the posting already exists you get its slug back; if we can read the page it is imported into the catalogue; if the company's board is one we do not crawl yet, it is queued for onboarding. The answer's status is one of found, tracked, imported, review or queued. Check sent links later with my_contributions.
Inputs: url (required).
cv_contextARead-onlyInspect
Show the cached fit-analysis context a tailored CV should reframe toward: verdict, recommendation, dimension comments, and the requirement split — missing_have (reframe existing evidence) vs missing_gap (ask the candidate before adding). Read this before editing.
Inputs: id (required).
cv_editAInspect
Apply a batch of path-addressed edits to a tailored CV, atomically. Read cv_context and cv_get first — indices are counted over the document cv_get returned. THE HONEST WALL: editing with an API key edits as the tailoring agent, and the server enforces it — the candidate's own name, email, phone and links are refused, and anything stating what they DID needs evidence_id, the id of something they asserted themselves. One uncited op rejects the whole batch. For a missing_have requirement, reframe an existing bullet; for a missing_gap, ask the candidate before writing anything. A bad path is a 422 and the CV is untouched. Export with cv_render.
Inputs: id (required), ops (required), note.
cv_getARead-onlyInspect
Fetch a tailored CV with its full document (header, summary, experience bullets, skill groups).
Inputs: id (required).
cv_listARead-onlyInspect
List the caller's tailored CVs, newest edit first, each with the vacancy it was written for. Use this to find the id the other cv_* tools take, or to check whether a vacancy already has a tailored copy.
Inputs: no named parameters.
cv_renderARead-onlyIdempotentInspect
Render a tailored CV to an ATS PDF, returned as a base64 resource (application/pdf). The bytes are large and not human-readable to the model — call it to produce the deliverable, not to inspect content.
Inputs: id (required).
cv_tailorAInspect
Start tailoring a CV to a vacancy, returning the tailored CV's id (plus the base it was copied from and the bound session). Idempotent per vacancy — calling it again for the same slug reopens the copy that already exists, so it is safe when you do not know whether one exists. It spends one of the candidate's AI credits the first time it creates the copy (402 when the balance will not cover it) and 409s when they have no résumé on the site to seed a base CV from — tell them to upload one; you cannot. It does not call a model: the reframing is your work, through cv_context and cv_edit.
Inputs: job_slug (required).
experience_add_achievementAInspect
Record one piece of evidence — the sentence a CV bullet would carry. Only record what the CANDIDATE told you; the server stamps anything created here manual, which means they asserted it, and that stamp is what lets it be cited on a CV. A claim already in the bank, under any spelling, is refused as 409 rather than duplicated — so correct the existing one with experience_update_achievement instead of re-adding it.
Inputs: claim (required), skills, context, metrics, +1 more.
experience_add_employmentAInspect
Record a place where evidence was produced — a job or a side project. At least company or role is required. Use the returned id to attach achievements with experience_add_achievement.
Inputs: end, kind, role, start, +4 more.
experience_listARead-onlyInspect
Read the candidate's whole experience bank: every employment and the achievements attached to it, plus the ones attached to no place under unplaced. Each achievement carries a PROVENANCE — cv_import, stated_in_chat and manual mean the candidate asserted it and it may be cited on a CV; agent_inferred means a model read it into the record and it may NOT. Take evidence_id for cv_edit from here.
Inputs: no named parameters.
experience_remove_achievementADestructiveInspect
Delete one achievement from the bank. There is no undo, so confirm with the candidate first — read it back to them and remove it only on a clear yes. It takes nothing else with it. This is how a duplicate goes: keep the richer entry, remove the other.
Inputs: id (required).
experience_remove_employmentADestructiveInspect
Delete a place from the bank. It must hold no achievements — removing a place would delete everything recorded under it, and the server refuses that here (409). To retire a duplicate place, move its achievements to the one being kept with experience_update_achievement, then remove the empty shell. There is no undo; confirm with the candidate first.
Inputs: id (required).
experience_update_achievementAInspect
Correct an achievement already in the bank — most often a typo in the claim, which cannot be fixed by re-adding it. Only the fields you pass change; metrics and skills REPLACE the whole list when given. Correcting does NOT change who is held to have said it: an agent_inferred achievement stays agent_inferred and stays uncitable on a CV. Confirming it with the candidate then recording what THEY said is the only way it becomes citable.
Inputs: id (required), claim, skills, context, +2 more.
experience_update_employmentAInspect
Correct a place already in the bank. Only the fields you pass change — everything else is carried over from what is banked, because the API replaces the whole row. Use this to fix a name, a role, or dates.
Inputs: id (required), end, kind, role, +5 more.
facetsARead-onlyInspect
List the market's filter vocabulary: every facet's live values with a vacancy count each, plus the skills list and numeric ranges. Call this FIRST to discover real values for search and market_fit — do not invent facet values. A filter key the API does not recognise is ignored rather than refused, so a result wrapped as {data, ignored} counted a broader market than the one asked for — retry with the suggested name before quoting any number from it. A VALUE it does not recognise comes back in ignored_values (e.g. {"skills": ["golangg"]}): it matched nothing, so fix the spelling from this list rather than reporting an empty market.
Inputs: city, role, visa, facets, +10 more.
jobARead-onlyInspect
Fetch a single job's full content by slug (title, company, location, posting URL, description).
Inputs: slug (required).
job_market_statsARead-onlyInspect
How many open postings match a set of filters, and their most common role families, seniorities, skills, work modes, countries and regions. Values a filter does not recognise are dropped and named in the answer — fix them before quoting a figure.
Inputs: query, cities, skills, regions, +16 more.
jobs_addAIdempotentInspect
Moderator: create a hand-curated job. URL is the dedup key — re-adding the same URL updates the posting. description is stored and rendered as HTML. Requires the moderator role (403 otherwise).
Inputs: url (required), title (required), company (required), remote, +4 more.
jobs_editAIdempotentInspect
Moderator: partially update a manual job by slug. Only the provided fields change; the URL identity is not editable. Requires the moderator role (403 otherwise).
Inputs: slug (required), title, remote, company, +3 more.
list_filter_valuesARead-onlyInspect
The values one job-search filter accepts — skills, categories, seniorities, sources, countries and the rest — each with how many open postings carry it, most common first. A value not listed matches no posting. Use it before filtering on a value you are not sure of, and to fix one a search reported in ignored_values.
Inputs: filter (required), limit, contains.
list_subscriptionsARead-onlyInspect
List the person's job alerts with every setting: id, name, a readable filter summary AND the search as the structured object the alert tools take (query, filters, salary_min/max; other holds website-only filters an update keeps), whether it is paused, and each delivery channel with its active flag, pending matches and last delivery. delivery_schedule is the account-wide digest timing every alert shares.
Inputs: no named parameters.
market_fitARead-onlyInspect
Score a skill list against the live open-vacancy market for a filtered role: headline coverage (% of vacancies listing ≥1 skill), must-have skills held, and the missing skills that unlock the most vacancies. Here skills is the MEASURED set, not a filter — use facet params to define the role. One skill probes that skill's demand. A result wrapped as {data, ignored, ignored_values} measured something other than what was asked: fix the named param or value and retry before quoting it.
Inputs: skills (required), city, role, visa, +11 more.
myARead-onlyInspect
List the caller's tracked jobs (viewed/saved/applied) with their stage and note. Filter narrows the set.
Inputs: limit, filter, offset.
my_contributionsARead-onlyInspect
List the vacancy and company career board links the caller has contributed, with their status: pending (queued for onboarding), review (manual triage), onboarded (now crawled) or rejected.
Inputs: no named parameters.
my_submissionsARead-onlyInspect
List the caller's own vacancy submissions with their moderation status.
Inputs: no named parameters.
noteAIdempotentInspect
Attach a free-text note to a tracked job (overwrites the existing note).
Inputs: note (required), slug (required).
profileARead-onlyInspect
Return the caller's saved job-search profile: their specializations, target skills, excluded skills, location preferences, and contact-free CV. Call this before searching or tailoring to ground your work in what the candidate already told freehire.
Inputs: no named parameters.
salary_statsARead-onlyInspect
Salary percentiles (25th, median, 75th) from open postings that state pay, scoped by role family, seniority and country, with the sample size behind each figure. Currencies and pay periods are reported separately, never converted.
Inputs: country, category, seniority.
searchARead-onlyInspect
Search open jobs by keyword with optional facet filters. Each result carries the job's FULL description as markdown alongside title, company, location and public_slug, plus the total match count — so you can screen a whole result set without calling job per hit. Use the returned slug with job, apply, save, etc. How to search well: a role has several names, so join two or three in one query with an uppercase OR, e.g. title:SRE OR title:"site reliability". Location, work mode, seniority and skills go in their filters, never in the query. If suspiciously few results come back, loosen one constraint at a time and say which. Present results as a table of title, company, location, posted date and link, naming the source. Two traps worth knowing. Geography (region/country/city) is ONE OR-group: passing region AND country widens rather than narrows, so drop the region to search a single country. And a filter param the API does not recognize is ignored rather than refused — the search still runs, just broader — so when a result carries an ignored list, its total answers a wider question than the one asked; retry with the suggested name before reporting the number. A value the API does not recognise (a misspelt skill, say) is reported in ignored_values and matches nothing — a total of 0 beside it is a typo, not an empty market: take the right value from list_filter_values and retry.
Inputs: query (required), city, role, visa, +14 more.
similar_jobsARead-onlyInspect
Postings most similar to one posting, by its slug, nearest first — for "show me more like this". Empty for the newest postings, whose neighbours are not computed yet.
Inputs: slug (required), limit.
stageAIdempotentInspect
Set a job's application stage. The server validates the value; valid stages are applied/screening/responded/interview/offer/accepted/rejected/withdrawn.
Inputs: slug (required), stage (required).
submission_approveAInspect
Moderator: approve a pending submission, minting a live job. Requires the moderator role (403 otherwise).
Inputs: id (required).
submission_rejectAInspect
Moderator: reject a pending submission with an optional reason. Requires the moderator role (403 otherwise).
Inputs: id (required), reason.
submissions_pendingARead-onlyInspect
Moderator: list the pending submission review queue. Requires the moderator role (403 otherwise).
Inputs: no named parameters.
submitBInspect
Submit a vacancy for moderation. The server stores it as pending and returns it. URL (the dedup key), title, and company are required.
Inputs: url (required), title (required), company (required), remote, +4 more.
subscribeAInspect
Create a job alert: a saved search over ANY of the job search's filters whose new postings are delivered to the person on the channels their account has connected (email, Telegram, the mobile app, a webhook) — this conversation is not notified. e.g. remote senior Go roles in the EU paying at least 80k EUR is {"filters":{"work_mode":["remote"],"seniority":["senior"],"skills":["go"],"regions":["eu"],"salary_currency":["EUR"]},"salary_min":80000}. Run the same search with search first so the person sees what they will get. The search must narrow the catalogue. Values not in a filter's vocabulary are dropped and named in ignored_params. Leave channels empty for the default (email when alert mail is on, otherwise the first connected channel). The answer's alert.id addresses the alert from then on. Saves the search on the account (or reuses the one already selecting the same postings); nothing existing is changed.
Inputs: name, query, filters, channels, +2 more.
subscription_updatesARead-onlyInspect
List the new postings the person's job alerts have matched — the same matches their alerts are built from, newest first, still-open postings only. Narrow to one alert by id, and to a window by since (RFC 3339) or days (default 7, max 30). An alert only matches postings that appeared after it was created, and matching runs every few minutes, so a new one starts empty. delivered says whether an alert already carried the posting.
Inputs: id, days, limit, since.
unsaveAIdempotentInspect
Remove a job's bookmark. A no-op if it was not saved.
Inputs: slug (required).
unsubscribeADestructiveInspect
Stop one job alert by its id, on every channel or on the one named. Deletes the alert's delivery on those channels and their record of matches; the saved search itself stays on the account as a bookmarked search. To hold an alert for a while, pause it with update_subscription instead.
Inputs: id (required), channel.
update_profileAIdempotentInspect
Change the caller's saved job-search profile: skills, specializations, seniorities, job languages, location preferences, headline and summary. It changes their account, so say what you are about to change and get their agreement first; call profile first. Send only the fields that change: a list you send REPLACES the stored one, so use add_skills to add skills without touching the rest. Skills are matched against freehire's skill dictionary; unknown ones are not saved and come back in not_in_dictionary. The result lists which fields were saved.
Inputs: skills, summary, headline, add_skills, +5 more.
update_subscriptionAIdempotentInspect
Change one of the person's job alerts by its id. Read its current search from list_subscriptions and pass only what changes — every field is optional: name; the search (query, filters, salary_min, salary_max — each replaces that part, an empty filters object clears the facet filters, a salary bound of 0 clears it; website-only filters in other are kept); channels (the full set to deliver on — added ones must be connected, missing ones stop); paused (true stops every channel, false resumes them — prefer it to unsubscribe for holding an alert). The new search must still narrow the catalogue, and unknown values are dropped and named in ignored_params. e.g. remote senior Go roles in the EU paying at least 80k EUR is {"filters":{"work_mode":["remote"],"seniority":["senior"],"skills":["go"],"regions":["eu"],"salary_currency":["EUR"]},"salary_min":80000}. Digest timing is account-wide and not changed here. A removed channel's record of matches is deleted with it.
Inputs: id (required), name, query, paused, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 46 tools
Several pairs are near-duplicates: `facets` and `list_filter_values` both enumerate filter vocabulary with per-value vacancy counts, `submit` and `contribute` both take a vacancy URL and push it into the catalogue, and `my_submissions` and `my_contributions` both list what the caller has handed in. `market_fit` versus `search` with facets, and `job_market_stats` versus `facets`, also require careful reading to separate. The verbose descriptions partially rescue these, but an agent can easily pick the wrong member of each pair.
Everything is snake_case, which is good, but there is no single convention: bare nouns/verbs (`profile`, `my`, `stage`, `note`, `job`, `company`, `facets`, `search`, `apply`, `save`, `submit`) sit alongside verb_noun (`list_subscriptions`, `check_jobs_open`, `update_profile`) and noun_verb (`cv_tailor`, `experience_add_employment`, `jobs_add`, `submission_approve`). Related families are also split — `my_submissions` vs `submissions_pending`, `jobs_add`/`jobs_edit` vs `experience_add_achievement`. Readable, but the pattern is not predictable.
46 tools is well past the point where a single agent can hold the surface in mind, and the server covers at least six distinct domains (search, CV tailoring, experience bank, alerts, tracking, moderation). Several domains are duplicated rather than merely numerous, so the count is inflated on top of being heavy.
Coverage is genuinely broad: full CRUD on the experience bank and on alerts, a complete CV lifecycle (tailor → context → get → edit → render → list), job tracking with stage/note, plus stats and a moderator queue. Minor gaps only: no way to delete or reset a tailored CV, no profile creation path, and no delete for tracked jobs.
Maintenance
Related MCP Connectors
Public MCP server for discovering open jobs. Search, filter, and get application links.
Search Thousands of jobs, Thousands of companies. MCP for Claude, ChatGPT, Codex and Cursor.
Search live startup jobs from Claude, Cursor, or ChatGPT via MCP. Free, no account needed.
A job-search companion: tailor your CV to a role, score fit, fix ATS issues. Also via MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSearches LinkedIn, Indeed, USAJobs, and Google Jobs from the command line, deduplicates across sources, and optionally finds hiring manager emails; also runs as an MCP server for AI agents.MIT
- FlicenseAqualityDmaintenanceEnables searching job listings, tracking applications, managing resumes, and tailoring resumes to job posts, all locally via MCP.20-
- AlicenseAqualityBmaintenanceEnables searching and retrieving job listings from multiple platforms through MCP.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving tech job listings in the US and Canada from MCP-compatible apps, with tools for job search, full job details, and category browsing.MIT