job-search-mcp
job-search-mcp
一个用于在签证受约束条件下找工作的 MCP 服务器。
如果你需要雇主担保(sponsorship),大多数求职工具回答的是错误的问题。它们只会告诉你某个职位存在。它们不会告诉你这个雇主能否合法雇用你,也不会告诉你"mid-level"(中级)这个头衔背后是否藏着一份高级职位的要求,更不会告诉你发布职位的公司其实只是一家完全没有担保执照的招聘中介。
这个服务器负责回答这些问题。它通过 Model Context Protocol 暴露四个工具,让 AI 助手可以自己核查结果,而不是靠猜。
工具
工具 | 回答的问题 |
| 这家雇主是否持有英国 Skilled Worker 担保执照?我可以在多大程度上相信这个匹配结果? |
| 这里存在哪些硬性门槛?职位头衔是否如实反映真实资历等级? |
| 现在真正活跃的职位有哪些,过滤掉中介之后? |
| 我之前是不是已经在这家投递过了? |
Related MCP server: JobFindsMe
为什么需要置信分级
检查担保执照最显而易见的做法是在登记表中搜索公司名称。这个项目就是这样起步的,但这种方法出错频率高到足以产生风险。
公司名会互相冲撞。要把 Pimberly 匹配到它的注册名称 Pimberly Software Development Limited,你必须剥离 "Software"、"Limited" 这类词。但同样的规范化处理又会让 Minerva Defence 变成 minerva,从而匹配到十三个不相关的公司:一家家具企业、一家信贷机构、一家支持性居住服务商。
所以 check_sponsor 返回的是一个置信等级,而不是布尔值:
high—— 名称中具有区别性的部分精确匹配了一次。verify—— 有东西匹配上了,但也有可能只是巧合。先确认雇主注册的法人实体,再查询 那个 名称。none—— 没有命中。这不能证明他们不能提供担保。 很多持执照雇主经营时使用的名称与其注册名完全不同。
真正塑造了这一设计思路的真实案例:
被搜索的名称 | 匹配结果 | 真实情况 |
Minerva Defence | 13 条无关的 "Minerva" 记录 |
|
Prevail | Prevail Technology Limited (Poole) | 雇主是 |
MAGIC | MAGIC SOFTWARE SERVICES LTD | 答案正确,但证据是从另一家公司来的。雇主是 |
TransPerfect | PERFECT DIGITAL LTD | 仅凭 "perfect" 这个词匹配上了 |
eFinancialCareers | eFinancialCareers Ltd | 正确且完全没用:持有执照,但它是个招聘信息聚合。以它的名字发布的短程职位实际属于未具名的第三方 |
为什么 screen_posting 要看正文,而不是只看标题
一条标题为 "Software Engineer" 的招聘信息,开头却是 "As a Senior Software Engineer you will",并邀请应聘者加入 "创始团队"。另一条标题为 "Software Engineer (Java Mid)" 的招聘信息,在第三段之后才表明职位实际上是高级级别。仅按标题过滤都会漏掉这两条。
screen_posting 还会拦截所有无法通过任何包装绕过的硬性门槛:
You must be a UK citizen and have lived in the UK for the past 10 years.
You must already hold high-level UK security clearance.以及在你需要担保时最要紧的那一条——来自一家持有 A 级执照的公司:
We are unable to offer visa sponsorship for this role. Candidates who need visa
sponsorship now or will need it in the future will not be considered.持有执照意味着公司 能够 提供担保,但并不代表 愿意 担保。
为什么 search_roles 返回的是一个漏斗
英国招聘平台被招聘中介占据,而且中介并不会为它发布的职位持有担保人执照。把这些中介过滤掉既必要又简单得近乎残忍:一个典型的搜索会把七条结果压缩到一条。
只有一条结果却没有解释,看起来像 bug。所以工具会返回每个阶段到底过滤掉了什么:
{
"totalFromSource": 7,
"funnel": { "fromSource": 7, "afterAgencyFilter": 2, "afterSalaryAndAge": 1 },
"notes": ["5 of 7 results were recruitment agencies or job boards. ..."]
}未公布薪水的职位仍然会被保留,绝不会被过滤掉。因为薪资相关信息的沉默并不是薪酬低的证据。
安装
npm install && npm run build下载当前的登记表(约 11 MB,会定期更新):
https://www.gov.uk/government/publications/register-of-licensed-sponsors-workers
把它保存为 data/register.csv,或者将 SPONSOR_REGISTER_PATH 指向它。
Claude Desktop / Claude Code
配置说明:
{
"mcpServers": {
"job-search": {
"command": "node",
"args": ["/absolute/path/to/job-search-mcp/dist/index.js"],
"env": {
"SPONSOR_REGISTER_PATH": "/absolute/path/to/data/register.csv",
"REED_API_KEY_FILE": "/absolute/path/to/.reed-api-key"
}
}
}
}变量 | 是否必需 | 用途 |
| 否 | 登记表 CSV。默认是 |
| 使用 | 指向包含密钥的文件路径。推荐这样做:密钥只存在于一处,客户端配置里只存放一个路径 |
| 替代方案。方式 | 把密钥直接写进去。更简单,但会把密钥复制到你的 MCP 配置里 |
| 否 | NDJSON 格式的申请历史记录 |
任何凭据都不会从仓库内的某个文件读取,而登记表会被 .gitignore 忽略。
你还可以通过 Claude Code CLI 来配置:
claude mcp add job-search --scope user \
--env SPONSOR_REGISTER_PATH=/path/to/data/register.csv \
--env REED_API_KEY_FILE=/path/to/.reed-api-key \
-- node /path/to/job-search-mcp/dist/index.js测试
运行测试:
npm test一共 54 个测试。每个 fixture 都是一条真实的岗位信息或一条真实的登记表记录,而这些记录曾让早期版本的逻辑失效。Reed 相关的测试用 mock 的 fetch,所以整个测试套件可以离线运行,不会产生 API 配额消耗。
有两类 bug 是这套测试在编写过程中发现并拦住的:
£40,000-85,000被解析为一整个固定的 40,000,因为第二个数值没有带货币符号。这在对照薪资门槛时,就是“达标”和“不达标”的差别。一个写成
\brecruit\b的中介过滤器从未命中过 Recruitment 或 Consultcy。大致上有五十万个中介直接从它中间穿过去了。
设计说明
core() 会主动丢弃一些信息。 剥离描述性词让品牌名到法人名称的匹配得以生效,而这正是导致误匹配的源头。置信分级并不是隐藏这种取舍,而是为这种取舍明确标出价格。
查无结果不等于否定。 none 会附带这样的说明。在这个领域里代价最高的错误,是以为“登记表里没有的公司一定不能提供担保”。
只读。 服务器读取申请台账,但绝不写入。是否要记录一条结果,是应该由人来做出的决定。
许可证
MIT
Available Tools
4 toolsapplication_historyPrior applicationsA
Read the local application ledger. Use it before applying to avoid duplicate submissions to the same employer, and to see what has already been tried. Read-only.
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | Filter to one employer; omit for the full history |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and aptly declares 'Read-only', telling the agent this is a safe, non-mutating operation. It also notes the data is a 'local' ledger. It doesn't specify edge cases (e.g., empty history) or return format, but for a simple read this is solid disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences, front-loaded with the core purpose, then usage guidance and a behavioral flag. Every sentence earns its place with zero filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for a low-complexity tool (one optional param, no output schema). It covers purpose, use case, and read-only behavior. The only gap is that the return contents aren't described, but for this simple ledger-read it's mostly sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the single optional parameter is already fully documented ('Filter to one employer; omit for the full history'). The description adds no parameter-level detail beyond this, which lands at the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Read the local application ledger') that clearly distinguishes it from siblings like search_roles (searching postings) and check_sponsor (visa status). The purpose is immediately actionable and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to use it ('Use it before applying to avoid duplicate submissions to the same employer, and to see what has already been tried'). It gives clear context, though it doesn't name sibling tools as explicit when-not-to-use alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_sponsorCheck UK visa sponsor licenceA
Look up whether a company holds a UK Skilled Worker sponsor licence. Returns a confidence grade, because company names collide: a match on a generic word like 'global' or 'minerva' is not evidence. A result of 'none' does NOT mean the employer cannot sponsor; it means they are not listed under that name, and the registered legal entity should be checked instead.
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | Employer name as it appears on the job posting | |
| skilledWorkerOnly | No | Restrict to the Skilled Worker route (default true) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that results include a confidence grade, that generic-word matches are unreliable, and that a 'none' result does not rule out sponsorship and should prompt checking the registered legal entity. This is substantial behavioral context beyond a basic lookup, though it does not cover aspects like rate limits or authentication.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences and immediately states the action, then adds caveats about confidence and interpretation. Every sentence adds value, and the most important information (the lookup) comes first. No redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema and no annotations, the description covers the essential aspects: what it checks, what result to expect (confidence grade), and how to interpret negative results. It does not specify the exact response format, but the description gives enough for an agent to decide whether to call the tool and how to interpret its output. Some detail on the confidence grade scale might be missing, but overall it is quite complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters (company and skilledWorkerOnly) are already documented in the schema. The description adds no additional parameter-level detail; it only implies that company names may collide but does not clarify formatting or validation beyond what the schema states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action: 'Look up whether a company holds a UK Skilled Worker sponsor licence.' It names the resource (company) and the licence type, and the wording clearly distinguishes it from the unrelated siblings like screen_posting or application_history.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly specify when to use this tool versus alternatives, nor does it state exclusions. The purpose implies the use case (checking sponsorship), but there is no direct guidance on when not to use it or what to use instead. However, the description does provide interpretive guidance for results, which indirectly helps the agent decide next steps.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
screen_postingScreen a job postingA
Screen a posting for hard eligibility bars (citizenship, residency, existing security clearance, explicit refusal to sponsor), for seniority the body implies but the title hides, and for salary and stack. Run this before investing effort in an application.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Job title | |
| description | Yes | Full posting text: description plus requirements |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose what the tool evaluates (the explicit criteria list), which is genuinely useful context. But it never states whether the call is read-only, what it returns, or any side effects — for an analysis tool with zero annotation coverage these gaps are felt.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a tight two sentences with no filler and front-loads the core purpose and criteria. The usage directive is placed at the end, which is acceptable given the value of the criteria list, though it could arguably lead with the 'run before applying' guidance for maximum salience.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter analysis tool with no output schema, the inputs are fully covered and the screening categories are spelled out. However, the description does not indicate what the result conveys — whether it returns a verdict, a risk score, or flagged bars — leaving an agent unsure what to expect from the call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both title and description fully; this earns the baseline 3. The description adds marginal semantic value by signaling why the parameters matter (the analysis centers on the posting text), but does not add syntax or format detail beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Screen') and resource ('a posting') with enumerated screening dimensions: hard eligibility bars (citizenship, residency, clearance, refusal to sponsor), hidden seniority, salary, and stack. This precise scope clearly differentiates it from siblings like check_sponsor, which covers only the sponsorship angle.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Run this before investing effort in an application' gives explicit timing and tells the agent to call it early in the workflow. However, it does not name alternatives or state exclusions — e.g., it never routes sponsorship-only cases to check_sponsor — so the guidance stops short of full alternative differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_rolesSearch live UK rolesA
Search live UK job listings via Reed, excluding recruitment agencies and job boards, which cannot sponsor roles they merely advertise. Returns a funnel showing what each filter removed, so a small result set can be explained rather than mistaken for an error. Requires REED_API_KEY.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum listings to return (default 25) | |
| keywords | Yes | Search terms, e.g. "react developer" | |
| location | No | UK town or city; omit for nationwide | |
| maxAgeDays | No | Maximum posting age in days (default 30) | |
| minSalaryGBP | No | Drop roles whose published band tops out below this. Unpublished salaries are kept. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits. It does: it states the auth requirement (REED_API_KEY), explains the funnel output (showing what each filter removed so a small result set is understandable), and notes the exclusion logic. These go beyond the schema and help the agent anticipate how the tool behaves. It lacks details on error handling or rate limits, but core behaviors are covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences. The first sentence states the core purpose and exclusions; the second explains the funnel and the auth requirement. No wasted words. The information is front-loaded: an agent gets the gist immediately, then the important behavioral details. This is exemplary conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given there is no output schema, the description explains the return format (a funnel) and the API key requirement. The parameters are fully documented elsewhere. The only minor gap is the precise structure of the funnel output, but that is not essential for calling the tool correctly. The description covers the key operational aspects an agent needs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All five parameters are fully described in the input schema (coverage 100%), so the baseline is 3. The description does not add parameter-specific guidance beyond what the schema provides; it mentions the funnel generally but doesn't tie specific parameters to outcomes. Since the schema already handles semantics, there is no deficit requiring compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb-resource pair ('Search live UK job listings via Reed') and adds a key scoping detail: exclusions of recruitment agencies and job boards, with the reason they cannot sponsor. This distinguishes it from sibling tools (check_sponsor, screen_posting, application_history) whose purposes are plainly different. An agent can tell exactly what this tool does and for whom.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives context: it searches live UK roles on Reed and excludes entities that can't sponsor, implying it is used to find roles that can sponsor visas. It also explains the funnel output, which helps an agent interpret results. However, it doesn't explicitly state when to prefer this over siblings or when not to use it, though the tool names make alternatives obvious. The use case is well implied, if not formally stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
application_history - First observed
check_sponsor - First observed
screen_posting - First observed
search_roles
TDQS
Scored across 4 tools
Each tool addresses a clearly distinct aspect: sponsor verification, posting screening, application history, and job searching. No overlap in purpose and each has a specific trigger condition.
Three tools follow a verb_noun pattern (check_sponsor, screen_posting, search_roles), but application_history deviates as noun_noun. The naming is still descriptive and predictable, with only minor inconsistency.
Four tools is well-scoped for a focused job-search assistant, covering the core workflow without bloat. Each tool contributes a distinct function and none seem redundant.
The surface covers search, screening, sponsor checks, and local history, which addresses the primary workflow. A minor gap is the lack of a tool to update or add to the application ledger, but this may be handled externally.
Maintenance
Related MCP Connectors
Job search, application materials, and application tracking for AI assistants.
Job platform for AI agents. Track tech jobs from companies that match your stack.
Analyze job listings against your resume, track applications, and generate cover letters.
AI job search MCP — fact-checked jobs, application tracker, alerts. ChatGPT, Claude, Cursor.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-driven job application automation for LinkedIn and SEEK platforms with intelligent cover letter generation, automated application submission, and application tracking management. Supports anti-detection measures and complies with platform usage policies for safe job hunting automation.-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to discover, filter, and track job openings based on the user's local resume, without uploading data to the cloud.24MIT
- AlicenseAqualityAmaintenanceAI job search and job application tracker. Search live jobs by title, location, salary, date posted, and remote or on-site, and see each one checked on real data: pay against market rates, ghost-job signals, visa sponsorship history, and how well it matches your resume. Check how hiring software reads your resume, track applications, set follow-up reminders, and get email alerts.121594 npmISC
- AlicenseAqualityAmaintenanceEnables local job-search automation, from finding and scoring postings to drafting tailored CVs and cover letters, compiling PDFs, and tracking applications through your AI assistant.19MIT