job-mcp
通用多源职位搜索 FastMCP 服务器(job-mcp)
一个企业级、隐私至上的 FastMCP 服务器,提供智能多源技术职位聚合、智能去重、动态简历技能提取、需求覆盖率评分以及自主职位申请工作流,覆盖 HireMeTech、Comeet ATS 和 AllJobs Israel。
架构概览
graph TD
Client([MCP Client: Claude / Cursor / Gemini Spark / Antigravity]) --> Tools[FastMCP Server Layer]
Tools --> Aggregator[JobAggregator]
Aggregator --> Registry[SourceRegistry]
subgraph Parallel Pluggable Sources Layer
Registry --> S1[HireMeTechSource<br/>Direct REST API + Session Fallback]
Registry --> S2[ComeetSource<br/>Direct ATS API + Concurrency Semaphore]
Registry --> S3[AllJobsSource<br/>Category Feeds + Anti-Blocking Headers]
end
subgraph Processing & Normalization Engine
S1 --> Dedup[Deduplication & Entity Merger]
S2 --> Dedup
S3 --> Dedup
Dedup --> NormKey["Key = slug(title) + '@' + slug(company)"]
NormKey --> Merge[Metadata & Links Merger]
Merge --> Scorer[Unified CV / Skill Matcher]
end
subgraph Dynamic Candidate Engine
CV["Candidate CV (.pdf / .docx / .txt)"] --> Extractor[Dynamic CV & Profile Extractor]
Extractor --> Skills["Extracted Skills (40+ tokens)"]
Extractor --> Seniority["Inferred Seniority & Exclusions"]
Extractor --> Roles["Target Job Roles"]
Skills --> Scorer
Seniority --> Scorer
end
Scorer --> Cache[Unified JobCache - 1h TTL]
Cache --> ToolsRelated MCP server: MCP Job Application Tracker & Resume Customizer
核心特性
动态简历与候选人画像提取:
多格式输入处理:支持
.pdf(通过pypdf)、.docx(通过python-docx)和.txt文件。NLP 技能分块与动态词库:无需脆弱的硬编码即可发现并提取 40+ 项技术技能,支持复杂多词技术(例如 FastAPI、LangGraph、PostgreSQL、Smart Contracts、GraphRAG)。
自动资历与排除检测:能准确推断候选人资历(Junior、Mid、Senior、Lead、Principal、Director),并生成智能否定关键词,自动过滤不匹配的职位。
停用词与噪声过滤:严格剔除简历结构残留、日期、和教育头衔,以及非技术性元数据。
智能需求覆盖率评分(0–100):
职位需求覆盖比率:计算候选人技能对特定职位的技能栈需求的满足程度(
matched_job_skills / total_job_skills),避免对简历内容广泛的候选人扣分。加权元素评分:
技术栈重合度与覆盖率:最高 40 分
求职 CV 全文关键词相关度:最高 25 分
工作方式与地点匹配度:最高 20 分
薪资期望吻合度:最高 15 分
排除性惩罚:当存在硬性资历/技术不合格项时,-100 分。
分段匹配分类:
顶级匹配($\ge 85$):自动申请 / 优先申请候选人。
强匹配($70 - 84$):高意向职位,标记以供审查/收藏。
失格($< 50$):自动隐藏或清除。
可插拔多源架构:
HireMeTech:直接 REST API 集成(
/api/jobs/search、/api/auth/me、/api/resume/profile),并带自动化 DOM 兜底。Comeet(直连 ATS):直连 Comeet Careers API(
/careers-api/2.0/company/{id}/positions),通过asyncio.Semaphore(5)限流、技术目录索引和按公司 TTL 缓存。AllJobs Israel:分类信息流接入,使用模拟真实浏览器请求头,并在来源层面实现错误隔离。
跨源去重与实体合并:
当同一职位在多平台展示时自动去重。
合并来源列表(
sources: ["hiremetech", "comeet"])、对技术栈取并集、保留最丰富的描述,并优先展示直连 ATS 申请链接。
自主与监督操作模式:
监督模式:每个工具均需标准 MCP 确认。
自主模式:无人工确认的安全读取/筛选/收藏链式操作,提交申请时设有两阶段安全护栏。
可观测性与高可用性:
使用结构化 JSON 日志(
structlog)并输出到stderr,自动对令牌/凭据进行脱敏。所有
ToolResponse返回体中自动附带跟踪 ID。
工具参考(9 个工具)
工具名 | 参数 | 描述 | |
| 无 | 列出所有已注册的职位源( | |
|
| 在所有平台或指定平台上拉取职位匹配结果,并自动去重。 | |
|
| 根据候选人简历与偏好,对聚合职位进行评分与筛选。 | |
|
| 在原始平台上收藏/置顶职位列表。 | |
|
| 在视图中将某职位列表移除/隐藏,并从缓存中删除。 | |
|
| 第 1 步:检查申请弹窗,生成预览并报告风险提示。 | |
|
| 第 2 步:执行提交申请。始终需要明确确认。 | |
| 无 | 基于在线页面,通过自修复启发式算法发现并校准 DOM 选择器。 | |
|
| 在“监督”与“自主”模式之间切换服务器运行模式。 |
快速开始与安装
1. 克隆并安装依赖
git clone https://github.com/zvieli/hireme_mcp.git
cd hireme_mcp
# Using uv (recommended)
uv venv .venv
uv pip install -e ".[dev]"
playwright install chromium2. 配置候选人简历与个人资料
将您的简历(cv.pdf、cv.docx 或 cv.txt)放在项目根目录:
cp /path/to/your/resume.pdf ./cv.pdf
cp .env.example .env编辑 .env 文件以配置默认的简历路径和联系方式:
DEFAULT_CV_PATH=./cv.pdf
CANDIDATE_EMAIL=your.email@example.com
CANDIDATE_NAME="Your Name"3.(可选)HireMeTech 首次登录认证设置
Comeet 与 AllJobs 无需登录即可全自动运行。 若需对您的 HireMeTech 账户进行认证以获得直连 API 和自动申请能力:
.venv/bin/python -m job_mcp.setup会打开一个 Chromium 浏览器窗口。
使用您的账号密码登录。
返回终端并按
[Enter]保存会话到文件夹./browser_profile。
运行服务器
方案 A:使用 Docker(推荐)
# Build and run in background
docker compose up -d
# View live multi-source aggregation logs
docker compose logs -f hireme-mcp方案 B:本地直接运行
# Streamable HTTP (Default for Web & Cloud Clients)
.venv/bin/python -m job_mcp --transport http --host 0.0.0.0 --port 8000
# Stdio (Default for Desktop Clients)
.venv/bin/python -m job_mcp --transport stdio可视化 CLI 流水线运行器
要在终端中运行一次全自动“探索 — 评分 — 申请”逐遍运行,并显示丰富可视化输出:
# Run with auto-extracted skills from your CV:
.venv/bin/python scripts/run_mock_llm_pipeline.py --cv ./cv.pdf
# Run with explicit stack override and remote filter:
.venv/bin/python scripts/run_mock_llm_pipeline.py --cv ./cv.pdf --stack "Python,FastAPI,LangGraph" --work-mode remote --location "Tel Aviv"
# Execute live application submissions (disabled by default in dry-run):
.venv/bin/python scripts/run_mock_llm_pipeline.py --cv ./cv.pdf --auto-applyMCP 客户端配置
1. Claude Desktop (claude_desktop_config.json)
在 Linux 上: ~/.config/Claude/claude_desktop_config.json
在 macOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"job-search-mcp": {
"command": "/absolute/path/to/hireme_mcp/.venv/bin/python",
"args": ["-m", "job_mcp", "--transport", "stdio"],
"env": {
"BROWSER_HEADLESS": "true",
"DEFAULT_CV_PATH": "/absolute/path/to/hireme_mcp/cv.pdf",
"CANDIDATE_EMAIL": "candidate@example.com",
"LOG_LEVEL": "INFO"
}
}
}
}2. Gemini Spark / Web MCP 客户端
端点 URL:
https://<your-host-or-devtunnel-id>/mcp传输方式:Streamable HTTP
认证方式:无 / 无需认证
环境变量
变量 | 默认值 | 说明 |
|
| 用于动态提取候选人技能的默认简历路径。 |
|
| 自动化申请弹窗中使用的候选人邮箱。 |
|
| 申请表填写所需的候选人全名。 |
|
| 传输协议( |
|
| HTTP / SSE 传输的主机绑定地址。 |
|
| HTTP / SSE 传输的监听端口。 |
|
| 是否以“浏览器无头”模式运行( |
|
| 用于持久化 Chromium 会话存储的目录。 |
|
| 已去重职位缓存的有效期(分钟)。 |
|
| 结构化日志级别( |
运行测试
运行完整自动化测试集(共 542 个测试):
.venv/bin/pytest tests/ -v开源许可证
本项目采用 MIT License 许可。
Available Tools
20 toolsauto_apply_jobA
Step 1: Inspect job application form and generate preview without submitting.
Uses HybridApplicationDispatcher to map form fields, evaluate safety guardrails,
and stage the application for subsequent confirmation via confirm_auto_apply.
Inputs: job_id (required), cv_path. Returns: object
bookmark_jobC
Save or bookmark a job listing by its ID.
Inputs: job_id (required). Returns: object
calibrate_selectorsA
Test, discover, and calibrate DOM selectors against the live page.
Tests all registered selectors against the live DOM, heuristically discovers alternative selectors if layout changes have occurred, and persists verified selectors into the dynamic selector registry.
Inputs: force_recalibrate. Returns: object
confirm_auto_applyA
Step 2: Confirm and execute job application submission.
Executes application submission through HybridApplicationDispatcher and records an immutable audit record in the ApplicationLedger.
Requires auto_apply_job to have been called first for this job_id.
Inputs: job_id (required), force, cv_path. Returns: object
delete_jobC
Dismiss or hide a job listing from view.
Inputs: job_id (required). Returns: object
discover_companiesA
Identify supported ATS portals from company names or career URLs using bounded deterministic discovery.
Returns evidence and optional validated registry configuration. Does not persist configuration.
Inputs: targets, career_url, company_name. Returns: object
filter_jobs_by_preferencesB
Filter and rank cached job listings based on tech stack, location, salary, or CV.
Inputs: limit, cv_path, keywords, location, +4 more. Returns: object
get_application_historyB
Retrieve historical job application submissions and outcomes from the persistent audit ledger.
Inputs: limit, status. Returns: object
get_job_matchesA
Fetch matched job listings from registered sources (HireMeTech, Comeet, AllJobs, LinkedIn, Workday, Eightfold, DirectTech).
Uses cached job listings unless cache is stale or force_refresh is True. Optionally filters by specific source IDs (e.g. ['hiremetech', 'comeet', 'alljobs']). When cv_path is provided, extracts candidate profile and dynamically populates queries, seniority exclusions, and scores.
Inputs: limit, cv_path, sources, category, +8 more. Returns: object
get_linkedin_job_detailsA
Retrieve full job details for a specific LinkedIn job posting.
Inputs: job_id (required). Returns: object
job_fetchA
Fetch one canonical job using an opaque ref returned by job_search.
Returns factual retrieval status only.
Inputs: ref (required). Returns: object
job_searchA
Search normalized jobs across enabled TechJobMCP sources.
Returns opaque refs that can be passed to job_fetch. Provider knowledge is not required.
Inputs: limit, query, cursor, company, +6 more. Returns: object
list_configured_sourcesB
Return configured source metadata only, not observed provider health.
This path does not use the aggregator, provider health, browser or model. A full MCP transport startup still runs the existing lifespan separately.
Inputs: no named parameters. Returns: object
list_job_sourcesC
List all registered job sources, their capabilities, and current health status.
Inputs: category. Returns: object
mark_job_as_appliedA
Manually record a job as applied in the persistent ledger and dismiss it from cache.
This ensures the job will never reappear in future job scout runs.
Inputs: job_id (required), notes, company, job_title. Returns: object
notify_new_jobsB
Scan aggregated jobs, filter unseen postings via JobTracker, and dispatch alerts.
Inputs: limit, channel, sources, keywords, +6 more. Returns: object
run_job_scoutA
Execute autonomous end-to-end multi-source job scouting pipeline.
Discovers available sources, aggregates job listings, evaluates CV match scores against the candidate profile, automatically bookmarks high-affinity positions, stages/submits applications via HybridApplicationDispatcher if enabled, and returns structured tracking metrics.
Inputs: limit, cv_path, sources, keywords, +16 more. Returns: object
search_linkedin_jobsB
Search LinkedIn jobs using the high-speed guest seeMoreJobPostings endpoint.
Inputs: f_E, f_AL, f_WT, f_TPR, +7 more. Returns: object
set_operation_modeA
Switch between supervised and autonomous operation modes.
In autonomous mode, the server signals the LLM client that it may chain
read-only and safe-action tools without per-tool user confirmation.
Only confirm_auto_apply (actual job submission) always requires explicit
user confirmation.
Inputs: mode (required). Returns: object
test_notifierA
Verify notifier connectivity, health check, and dispatch a test alert message.
Inputs: channel. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Several tools overlap in the job-discovery space: job_search, get_job_matches, filter_jobs_by_preferences, and run_job_scout all retrieve/aggregate jobs, while list_configured_sources vs list_job_sources and notify_new_jobs vs run_job_scout blur boundaries. Descriptions do help differentiate them (config vs health, one-shot search vs full pipeline), but an agent can still misselect among the search/aggregation tools.
Nearly all tools use snake_case verb_noun phrasing (list_job_sources, mark_job_as_applied, get_application_history), which is predictable and readable. The only deviations are job_search and job_fetch, which lead with the noun instead of the verb, but this is minor.
At 20 tools the surface is on the heavy side for a job-scouting server, and a few tools (job_search/job_fetch vs get_job_matches, notify_new_jobs vs run_job_scout) feel redundant. Each maps to some functionality, but the count is borderline rather than tight.
Coverage is strong: search, fetch, filter, bookmark, dismiss, two-step apply with audit history, notifications, full scout pipeline, source listing, and ATS discovery are all present. Minor gaps like no explicit preference/config update or source-management CRUD remain, but core lifecycles are covered.
Related MCP Connectors
Auto-apply to jobs: matches your CV, tailors a fresh CV per posting, and applies for you.
Auto-Apply That Ends on an Interview. AI job search, tailored resumes, job application tracker.
Run your tech job search from your AI agent: matches, job unlocks, applications and follow-ups.
Search 4M+ open jobs, see your matches and applications, and queue jobs for auto-apply.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables autonomous job search by scanning, scoring, and applying to jobs via APIs like Ashby, Greenhouse, and Lever, with a TUI dashboard for tracking.91MIT
- AlicenseNot gradedqualityDmaintenanceAutomates job application tracking and resume/cover letter generation using AI, integrating with Google Drive, Notion, and Gmail.1MIT
- AlicenseNot gradedqualityDmaintenanceAn AI-powered job search and application assistant that enables multi-source job hunting, OpenAI matching, cover letter generation, and hybrid application automation via Playwright, Chrome CDP, screen OCR, and manual assist.MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural-language job search and aggregation from multiple recruitment websites with zero configuration, providing filtered results and standardized output for AI assistants.1ISC