boss-agent-cli
boss-agent-cli
专为 AI Agent 设计的 BOSS 直聘双端 CLI 工具
求职者:搜索 · 福利筛选 · 个性化推荐 · 自动打招呼 · 求职流水线 · 增量监控 · AI 简历优化
招聘者:候选人检索 · 沟通回复 · 简历请求 · 职位上下线 · 多平台抽象
安装 · 快速开始 · 角色模式 · Agent 集成 · 命令参考 · 排障 · 架构 · 更新日志 · 路线图
中文 | English
A CLI tool designed for AI Agents to interact with BOSS Zhipin (China's largest recruitment platform). Structured JSON output, schema-driven capability discovery, 4-tier login fallback, recruiter workflow support, and a cross-platform adapter layer. See README.en.md for the English version.
💡 为什么用 boss-agent-cli?
传统求职:打开网页 → 翻几十页 → 逐个看详情 → 手动打招呼 → 忘了跟进谁。
boss-agent-cli 让 AI Agent 替你完成全部操作:
boss search "Golang" --city 广州 --welfare "双休,五险一金" # 搜索 + 福利筛选
boss detail <security_id> # 查看详情
boss greet <security_id> <job_id> # 一键打招呼
boss pipeline # 流水线追踪
boss digest # 每日汇报所有输出为 结构化 JSON,Agent 一调用就能理解,一调用就能行动。
Related MCP server: boss-cli
🧭 导航目录
🌟 核心能力
求职者工作流
🔍 职位发现:关键词搜索、8 维筛选、个性化推荐、按编号回看同一条结果。命令:searchrecommendshow🎯 福利筛选:--welfare "双休,五险一金"会自动翻页、补抓详情、按 AND 逻辑做真实匹配。命令:search --welfare👋 主动出击:从职位详情直接打招呼、批量打招呼、立即沟通投递。命令:detailgreetbatch-greetapply📊 流程推进:流水线、跟进提醒、每日摘要、投递转化漏斗一条线闭环。命令:pipelinefollow-updigeststats👀 增量监控:保存搜索条件、定期执行、标出新职位、沉淀 shortlist。命令:watchpresetshortlist💬 沟通管理:聊天列表、消息历史、结构化摘要、标签和联系方式交换。命令:chatchatmsgchat-summarymarkexchange🤖 AI 求职增强:JD 分析、简历润色、定向优化、模拟面试、沟通指导。命令:ai analyze-jdai polishai optimizeai interview-prepai chat-coach
招聘者工作流
👔 候选人运营:投递申请、候选人搜索、沟通列表、在线简历查看与附件简历请求。命令:hr applicationshr candidateshr chathr resumehr request-resume💬 招聘沟通:直接回复候选人消息,把 HR 场景纳入同一套 JSON 协议。命令:hr reply📌 职位管理:查看职位、上架、下架,作为招聘者端的最小可操作闭环。命令:hr jobs listhr jobs onlinehr jobs offline
平台与集成基础
🔌 多平台抽象:Platform/RecruiterPlatform双注册表已落地,BOSS 直聘可用、智联招聘骨架已接入。命令:--platform zhipin|zhilian📤 结构化输出:stdout 只输出 JSON 信封,适合 CLI 编排、Shell Agent、MCP 和 Python SDK。命令:schemaexport🧩 Agent 接入:同一套能力可通过 Skill、subprocess、MCP、Python SDK 四种路径暴露给 Agent。文档:docs/agent-quickstart.mddocs/agent-hosts.md
📦 安装
# 推荐:通过 uv 安装(秒级,自动隔离)
uv tool install boss-agent-cli
# 安装浏览器(用于登录)
patchright install chromium# pipx(隔离环境)
pipx install boss-agent-cli
patchright install chromium
# pip
pip install boss-agent-cli
patchright install chromium
# 从源码(开发用)
git clone https://github.com/can4hou6joeng4/boss-agent-cli.git
cd boss-agent-cli
uv sync --all-extras
uv run patchright install chromium🚀 快速开始
# 1. 环境自检
boss doctor
# 2. 登录(自动四级降级)
boss login
# 3. 验证登录态
boss status
# 4. 搜索广州的 Golang 职位,要求双休+五险一金
boss search "Golang" --city 广州 --welfare "双休,五险一金"
# 5. 查看详情 → 打招呼 → 投递
boss detail <security_id>
boss greet <security_id> <job_id>
boss apply <security_id> <job_id>
# 6. 推荐 + 导出
boss recommend
boss export "Golang" --city 广州 --count 50 -o jobs.csv
# 7. 流水线 + 每日摘要
boss pipeline
boss digest
# 8. 增量监控
boss watch add my-golang "Golang" --city 广州 --welfare "双休"
boss watch run my-golang
# 9. 招聘者模式(HR 视角)
boss hr applications # 候选人投递申请
boss hr candidates "Golang" # 搜索候选人
boss hr reply <friend_id> "你好" # 回复消息
boss hr jobs list # 我发布的职位🔐 登录链路
boss login 采用四级降级策略,适配不同环境:
级别 | 方式 | 说明 | 需要浏览器? |
1 | Cookie 提取 | 从本地 Chrome/Firefox/Edge 等 10+ 浏览器免扫码提取 | 否 |
2 | CDP 登录 | 复用带 | 需 Chrome |
3 | QR httpx | 纯 HTTP 二维码扫码,无需安装任何浏览器 | 否 |
4 | patchright | 反检测 Chromium 兜底 | 需 Chromium |
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 --user-data-dir=/tmp/boss-chrome
# Linux
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/boss-chrome
# 使用 CDP 登录
boss --cdp-url http://localhost:9222 login --cdp🎭 角色模式与多平台
boss-agent-cli 同时覆盖求职者和招聘者两端,并为后续接入更多招聘平台做了抽象。
角色切换
选项 | 说明 | 典型命令 |
| 求职者视角 |
|
| 招聘者视角 |
|
快捷入口:boss hr <子命令> 会自动把当前会话切换到招聘者角色,不必显式传 --role。
# 方式 A: --role 显式指定
boss --role recruiter ...
# 方式 B: 招聘者快捷组(自动切换 role)
boss hr applications
boss hr candidates "Golang"多平台抽象
Platform / RecruiterPlatform 双注册表让命令层不耦合具体平台协议:
平台 | 求职者 | 招聘者 | 状态 |
BOSS 直聘 ( | ✅ | ✅ | 默认 |
智联招聘 ( | 🟡 骨架 | — | 真实现追踪 Issue #140 |
# 指定平台
boss --platform zhilian search "Python"
# 设为默认
boss config set platform zhilian设计细节见 docs/platform-abstraction.md。
🤖 AI Agent 集成
推荐先阅读:Agent Quickstart · Host Examples · Capability Matrix
方式一:Skill 安装(推荐)
npx skills add can4hou6joeng4/boss-agent-cli安装后 Agent 自动获得调用 boss 命令的能力,无需手动配置。
方式二:手动配置
在 AI Agent 的规则文件中添加:
当用户要求搜索职位、投递、打招呼等 BOSS 直聘操作时,通过 Bash 调用 `boss` CLI:
1. 运行 `boss status` 检查登录态
2. 若未登录,运行 `boss login` 提示用户扫码
3. 根据用户意图调用 search / recommend / detail / greet
4. 解析 stdout JSON,`ok` 字段判断成败
5. 用户提到福利要求时使用 `--welfare` 参数方式三:Python 直接嵌入(不走 subprocess)
包已随 py.typed 标记发布,可直接作为类型化的 Python 库使用:
from boss_agent_cli import AuthManager, BossClient, AuthRequired
auth = AuthManager(data_dir=Path("~/.boss-agent").expanduser())
try:
with BossClient(auth) as client:
result = client.search_jobs("Golang", city="广州")
except AuthRequired:
... # 提示用户 boss login公开 API(详见 boss_agent_cli.__all__):AuthManager / BossClient / CacheStore / JobItem / JobDetail / AIService / ResumeData 等核心类型。
输出协议
所有命令输出 JSON 到 stdout,统一信封格式:
{
"ok": true,
"schema_version": "1.0",
"command": "search",
"data": [...],
"pagination": {"page": 1, "has_more": true, "total": 15},
"error": null,
"hints": {"next_actions": ["boss detail <security_id>"]}
}约定 | 说明 |
| 仅 JSON 结构化数据 |
| 日志和进度信息 |
| 命令成功 ( |
| 命令失败 ( |
📚 命令参考
基础操作
命令 | 说明 |
| 输出完整工具能力描述 JSON(33 个顶层命令 + hr 分组展开,Agent 首先调用) |
| 四级降级登录 |
| 退出登录 |
| 检查登录态 |
| 诊断环境、依赖、凭据完整性和网络 |
| 我的信息(用户/简历/期望/投递记录) |
职位搜索
命令 | 说明 |
| 搜索职位(支持 |
| 个性化推荐 |
| 职位详情( |
| 按编号查看上次搜索结果 |
| 40 个支持城市 |
求职动作
命令 | 说明 |
| 打招呼 |
| 批量打招呼(上限 10) |
| 投递/立即沟通(幂等) |
| 交换手机/微信 |
沟通跟进
命令 | 说明 |
| 沟通列表(导出 html/md/csv/json) |
| 聊天消息历史 |
| 结构化摘要 |
| 标签管理(9 种) |
| 面试邀请 |
| 浏览历史 |
流水线监控
命令 | 说明 |
| 求职流水线(各阶段状态) |
| 跟进提醒(超时未推进) |
| 每日摘要 |
| 增量监控 |
| 候选池 |
| 搜索预设 |
招聘者模式
命令 | 说明 |
| 查看候选人投递申请列表 |
| 查看或请求候选人简历 |
| 查看与候选人的沟通列表 |
| 职位列表与上下线管理 |
| 搜索候选人 |
| 回复候选人消息 |
| 请求候选人分享附件简历 |
简历与 AI
命令 | 说明 |
| 本地简历管理 |
| 配置 AI 服务 |
| 分析岗位要求 |
| 润色简历 |
| 针对目标岗位优化 |
| 求职建议 |
| 生成招聘者消息回复草稿 |
| 基于 JD 生成模拟面试题 |
| 基于聊天记录给沟通建议 |
支持 Claude 4.7 / GPT-5 / DeepSeek-V3 / Qwen3 等最新模型,详见 推荐模型与入口。
系统管理
命令 | 说明 |
| 配置管理 |
| 清理缓存 |
| 投递转化漏斗统计(greeted/applied/shortlist) |
| 导出结果(CSV/JSON) |
boss search "golang" \
--city 广州 \ # 城市(40 个可选)
--salary 20-50K \ # 薪资范围
--experience 3-5年 \ # 经验要求
--education 本科 \ # 学历要求
--scale 100-499人 \ # 公司规模
--industry 互联网 \ # 行业
--stage 已上市 \ # 融资阶段
--welfare "双休,五险一金" # 福利筛选(AND 逻辑)福利筛选工作原理:
先检查职位福利标签(
welfareList)标签不匹配时自动获取职位描述全文搜索
自动翻页(最多 5 页)
每个结果带
welfare_match说明匹配来源
支持关键词:双休 五险一金 年终奖 餐补 住房补贴 定期体检 股票期权 加班补助 带薪年假
🔧 诊断与排障
boss doctor检查项 | 说明 |
| Python 版本 >= 3.10 |
| CLI 已安装 |
| Chromium 已安装 |
| 本地浏览器 Cookie 可提取 |
| 登录态存在且可解密 |
| 核心凭据(wt2 / stoken) |
| 辅助凭据(wbg / zp_at) |
| Chrome 调试端口可连 |
| zhipin.com 可访问 |
# 安装浏览器内核
patchright install chromium
# 重建登录态
boss logout && boss login
# CDP 诊断
boss --cdp-url http://localhost:9222 doctorauth_session 显示"损坏":登录态来自旧机器指纹或文件损坏 → boss logout && boss login
auth_token_quality 各状态含义:
wt2/stoken 均存在:完整,可正常使用wt2 存在,stoken 缺失:部分可用,接口失败时boss login刷新wt2 缺失:无效 →boss logout && boss login
错误码 | 含义 | Agent 自动修复 |
| 未登录 |
|
| 登录过期 |
|
| 频率过高 | 等待后重试 |
| Token 刷新失败 |
|
| 风控拦截 | CDP Chrome 重试 |
| 参数错误 | 修正参数 |
| 已打过招呼 | 跳过 |
| 今日次数用完 | 告知用户 |
| 网络错误 | 重试 |
| AI 未配置 |
|
⚙️ 配置
boss config list # 查看所有配置
boss config set default_city 广州 # 设置默认城市
boss config reset # 恢复默认~/.boss-agent/config.json:
{
"default_city": null,
"default_salary": null,
"request_delay": [1.5, 3.0],
"batch_greet_delay": [2.0, 5.0],
"batch_greet_max": 10,
"log_level": "error",
"login_timeout": 120,
"cdp_url": null,
"export_dir": null
}配置项 | 说明 |
| 默认城市 |
| 默认薪资范围 |
| 请求间隔(秒), |
| 批量打招呼间隔 |
| 批量打招呼上限 |
| 日志级别(error/warning/info/debug) |
| 登录超时(秒) |
| CDP 地址 |
| 导出目录 |
🏗️ 技术架构
CLI (Click)
│
├── AuthManager ── Cookie 提取 / CDP / QR httpx / patchright
│ └── TokenStore (Fernet + PBKDF2 机器绑定加密)
│
├── Platform 抽象层(多平台注册表)
│ ├── BossPlatform (求职者) / BossRecruiterPlatform (招聘者)
│ └── ZhilianPlatform (骨架已接入,真实现 tracking Issue #140)
│
├── BossClient / BossRecruiterClient ── httpx (低风险) + 浏览器 (高风险) 双通道
│ ├── RequestThrottle (高斯延迟 + 突发惩罚)
│ ├── BrowserSession (CDP / Bridge / patchright)
│ └── BOSS 直聘 wapi (求职者 30 端点 + 招聘者 24 端点,共 54 端点)
│
├── CacheStore (SQLite WAL)
├── AIService (OpenAI / Anthropic / 兼容 API)
└── output.py → JSON 信封 → stdout层级 | 选型 |
语言 | Python >= 3.10 |
CLI | Click |
HTTP | httpx |
浏览器 | patchright(Playwright 反检测 fork) |
Cookie | browser-cookie3(10+ 浏览器) |
加密 | cryptography (Fernet + PBKDF2) |
数据库 | sqlite3 (WAL 模式) |
渲染 | rich |
AI | OpenAI / Anthropic Chat Completions API |
测试 | pytest(1042 项) |
🤝 贡献
欢迎提交 Issue 和 Pull Request。
# 本地开发
git clone https://github.com/can4hou6joeng4/boss-agent-cli.git
cd boss-agent-cli
uv sync --all-extras
uv run pytest tests/ -v # 运行测试
uv run ruff check src/ # 代码检查🙏 致谢
geekgeekrun — 浏览器自动化 + 反检测策略
boss-cli — CLI 结构化输出 + Agent 友好设计
opencli — Browser Bridge 架构理念
⚠️ 免责声明
本项目仅用于学习交流,使用时请遵守相关法律法规及 BOSS 直聘平台用户协议。因不当使用产生的一切后果由使用者自行承担,与本项目作者无关。
📑 许可证
👭 友情链接
Available Tools
80 toolsboss_agent_pendingA
招聘自动化兼容接口:查看旧版本遗留的待执行动作队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_reviewA
招聘自动化兼容接口:查看旧版本遗留的人工复核队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_review_approveB
招聘自动化兼容接口:处理旧版本复核项并写入 pending 队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: id (required).
boss_agent_review_rejectA
招聘自动化兼容接口:拒绝旧版本复核项并记录跳过事件 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: id (required), reason.
boss_agent_runA
招聘自动化:运行一轮自动扫描、决策、阈值控制、执行和线索生成。MCP 缺省 dry_run=true 仅演练;真实执行需显式 dry_run=false(CLI agent run 自身缺省为 live) [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: limit, resume, dry_run.
boss_agent_statsA
招聘自动化:查看执行、跳过、历史队列和熔断统计 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_stopA
招聘自动化:打开熔断,停止后续自动执行 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: reason.
boss_agent_trainC
招聘自动化:训练校准模式,默认演练满足阈值的动作 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: limit.
boss_ai_analyze_jdA
分析职位描述并评估简历匹配度,输出匹配分数和差距分析 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_chat_coachB
基于聊天记录诊断沟通状态并给出下一步行动建议与现成消息模板 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: chat_text (required), style, resume.
boss_ai_cover_letterA
基于本地简历与目标岗位起草求职信/自我介绍草稿(仅草稿,不发送) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), lang, tone, job_id, +1 more.
boss_ai_fitB
基于本地简历和候选池已缓存职位详情生成逐岗匹配度、能力缺口和关键词命中报告 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), limit.
boss_ai_interview_prepB
基于目标职位描述生成模拟面试题与准备建议(支持简历参考定制题目) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: jd_text (required), count, resume.
boss_ai_optimizeB
基于目标职位描述优化简历(输出优化后结构,不直接写回磁盘) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_replyB
基于招聘者消息生成回复草稿(2-3 条候选,支持简历参考和语气偏好) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: recruiter_message (required), tone, resume, context.
boss_ai_resume_optimizeB
基于目标岗位优化简历措辞(仅建议,不修改简历) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), job_id, jd_text.
boss_ai_suggestB
基于目标职位给出简历改进建议(按优先级排序,不修改简历) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_suggest_keywordsB
基于候选池职位分析推荐搜索关键词组合 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: limit.
boss_applyA
发起投递或立即沟通动作(幂等,不会重复投递) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), lid.
boss_batch_greetA
搜索后批量打招呼(上限 10);支持关键词、城市、薪资、经验、学历、行业、规模、阶段与职位类型筛选,未传 limit 时默认最多 5 个 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: query (required), city, limit, scale, +7 more.
boss_chatA
查看沟通列表,支持按发起方和时间筛选。返回项含稳定标识 uid,可用于 boss_chatmsg / boss_mark / boss_exchange。分页证据见 pagination.page / has_more(仅平台给出布尔 hasMore 时非 null)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: raw, days, page, format, +2 more.
boss_chatmsgA
查看与指定好友的聊天消息历史;信封 pagination 给出所读消息页证据(page / has_more / has_more_source / total) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), raw, page, count, +1 more.
boss_chat_summaryB
基于聊天历史生成结构化摘要与下一步建议;信封 pagination 给出所读消息页证据(page / has_more / has_more_source / total) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), page, count.
boss_citiesA
列出支持的城市列表(约 44 个,含不限城市的「全国」) [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_cleanC
清理过期缓存和临时文件 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: all, days, dry_run.
boss_configC
查看和修改配置项 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: action (required), key, value.
boss_crawl_resultsB
读取持久化 crawl 职位,可按页码和详情状态筛选。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required), page, detail_status.
boss_crawl_shortlistA
将 crawl results 返回的 selector 导入本地 shortlist,不请求 BOSS。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required), all, note, tags, +1 more.
boss_crawl_statusB
读取 crawl 页游标、职位数、详情进度和风险状态。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required).
boss_detailA
查看职位详情。参数为 security_id(从 search/recommend 结果获取)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), lid, job_id.
boss_digestA
汇总新增职位、待跟进会话和面试项的只读日报(支持 md 输出便于邮件/飞书直发) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: format, output, days_stale.
boss_doctorB
诊断本地运行环境、依赖、登录态和网络连通性 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_exchangeB
请求交换联系方式(手机号或微信) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), type.
boss_exportA
导出搜索结果为 CSV / JSON / HTML 文件,支持 BOSS 直聘搜索页 URL 复用筛选条件。默认脱敏 job_id/security_id/boss_name,HTML 始终省略平台标识、招聘者姓名和薪资。不传 output_file 时 csv/json 在信封内返回 jobs 列表,html 在 data.content 返回报表正文。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: url, city, count, query, +12 more.
boss_favorites_listA
预览 BOSS 职位收藏单页及有效状态(不落库)。分页证据见 pagination.has_more / has_more_source(缺失 hasMore 时为 null)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page.
boss_follow_upA
筛出需要优先跟进的候选项(未读、超时未推进、面试) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days_stale.
boss_greetB
向招聘者打招呼。需要 security_id 和 job_id。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), message.
boss_historyB
查看浏览历史,支持 --page 翻页 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page.
boss_hr_accept_resumeA
招聘者模式:同意指定候选人的附件简历请求;仅在操作者明确批准后传 yes=true,不自动下载或重试 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), message_id (required), yes, dry_run.
boss_hr_applicationsB
招聘者模式:查看候选人投递申请列表;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, job_id, label_id.
boss_hr_candidatesB
招聘者模式:搜索候选人;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: age, city, page, query, +8 more.
boss_hr_chatA
招聘者模式:查看与候选人的沟通列表(含未读数和最近消息摘要);结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, job_id, label_id, summary_limit.
boss_hr_chatmsgA
招聘者模式:查看与指定候选人的聊天消息历史;信封 pagination 给出游标分页证据(has_more / next_max_msg_id) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), count, max_msg_id.
boss_hr_download_resumeA
招聘者模式:下载指定候选人已收到且允许访问的附件简历;不自动同意、不覆盖已有文件 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: output (required), friend_id (required), message_id (required).
boss_hr_exchangeB
招聘者模式:请求交换候选人手机号或微信 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), type.
boss_hr_greetB
招聘者模式:单次建立会话、发送首次招呼;需操作者明确批准,不发送已读回执 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: lid (required), job_id (required), geek_id (required), message (required), +5 more.
boss_hr_jobsB
招聘者模式:查看职位管理列表,或执行上线/下线操作 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, action, job_id.
boss_hr_jobs_detailA
招聘者模式:查看指定职位的完整详情(包括岗位描述 postDescription) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: enc_job_id (required).
boss_hr_last_messagesA
招聘者模式:批量查看候选人最近消息摘要;按页取沟通列表时信封 pagination 给出平台 hasMore 证据(--friend-id 直查为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, limit, job_id, label_id, +1 more.
boss_hr_locationA
招聘者模式:向已有会话发送工作地点卡片;需操作者明确批准,同一会话不重复发送 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), yes, dry_run.
boss_hr_recommendationsA
招聘者模式:读取推荐牛人完整卡片和首次开聊所需参数;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: job_id (required), page.
boss_hr_replyB
招聘者模式:回复候选人消息 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: message (required), friend_id (required).
boss_hr_request_resumeB
招聘者模式:请求候选人分享附件简历 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required).
boss_hr_resumeB
招聘者模式:查看候选人在线简历 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: job_id (required), geek_id (required), security_id (required), raw.
boss_hr_whoamiA
招聘者模式:查看当前登录态是否处于招聘者侧。identity 为 1 才算就绪;profile_recruit 只回显,不切换身份 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_interviewsA
查看面试邀请列表 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_markB
给联系人添加或移除标签(新招呼/沟通中/已约面/不合适/收藏等) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: tag (required), security_id (required), remove.
boss_meB
获取当前登录用户信息(基本信息、简历、求职期望、投递记录);仅 section=deliver 的信封 pagination 给出投递列表分页证据,has_more 仅平台返回布尔 hasMore 时有效,缺失或类型不明确时为 null [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: section, deliver_page.
boss_pipelineA
聚合聊天和面试数据,生成统一候选进度视图 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days_stale.
boss_preset_addB
保存搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required), query (required), city, scale, +8 more.
boss_preset_listA
列出所有搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_preset_removeB
删除指定搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_recommendA
获取基于简历的个性化职位推荐;成功时 pagination.index_snapshot 给出本次写入的索引快照(source/page/count/saved_at),与 boss_show 的编号配套使用。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page, with_score.
boss_resume_listA
列出所有本地简历(名称、创建时间、关联职位数) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_resume_showA
查看指定简历的完整内容(基本信息、教育、工作经历、技能、项目) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_schemaA
返回 CLI 能力真源(命令、选项、枚举 choices、错误码与 wizard catalog);只读本地数据,不发平台请求 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: format.
boss_searchA
按关键词和筛选条件搜索 BOSS 直聘职位列表。支持城市、薪资、经验、学历、行业、公司规模、融资阶段、职位类型、福利等多维度筛选;成功时 pagination.index_snapshot 给出本次写入的索引快照(source/page/count/saved_at),与 boss_show 的编号配套使用。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: url, city, page, sort, +13 more.
boss_shortlist_addB
将职位加入本地候选池,可附加本地标签和备注 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), lid, city, +6 more.
boss_shortlist_annotateA
更新本地候选池职位的标签和备注;至少提供 add_tags、remove_tags 或 note 之一 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), note, add_tags, +1 more.
boss_shortlist_compareA
本地对比候选池职位,可按标签过滤 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: tag.
boss_shortlist_listB
查看候选池中的所有职位 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_shortlist_removeB
从候选池移除职位 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required).
boss_showA
按编号快速查看上次搜索或推荐结果中的职位详情;返回的 index_snapshot 给出编号所属快照的来源、页码、条数与保存时间 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: number (required).
boss_statsB
投递转化漏斗统计(只读聚合打招呼、投递、候选池、监控数据) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days, format, output_file.
boss_statusA
检查 BOSS 直聘登录态;默认只查本地登录态,live 会发一次只读在线验证请求 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: live.
boss_watch_addC
保存增量监控的搜索条件 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required), query (required), city, scale, +8 more.
boss_watch_listA
列出所有已保存的监控条件 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_watch_removeC
删除指定监控 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_watch_runB
执行监控并返回新增职位列表;name 与 all 互斥,必须且只能提供一个 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: all, name.
boss_wizardA
执行、恢复、查询或停止与真人向导共享的持久化 workflow;先调用 boss schema 发现 wizard_catalog [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: goal, role, action, inputs, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 80 tools
Several candidate-side clusters overlap: boss_search/boss_recommend/boss_crawl_results/boss_show/boss_detail all revolve around discovering and opening jobs, while boss_ai_optimize/boss_ai_resume_optimize/boss_ai_suggest and boss_chat_summary/boss_ai_chat_coach are easy to confuse. Role prefixes and detailed descriptions help, but an agent must parse long notes and explicit 'legacy compatibility' labels to choose correctly.
Nearly all tools use a boss_ + snake_case pattern with clear module prefixes such as boss_hr_, boss_ai_, boss_agent_, boss_shortlist_, and boss_watch_. A few bare names like boss_me, boss_search, and boss_detail deviate from a strict verb_noun pattern, but overall grouping remains predictable.
80 tools is far beyond practical MCP tool-set scope, even for a dual candidate/recruiter CLI. The surface includes many redundant or legacy compatibility endpoints, which significantly increases selection overhead.
Coverage is broad: search/recommend/detail, watch/presets/shortlist, greet/apply/chat/interviews, resume/AI helpers, stats/export/digest, plus recruiter-side candidate, chat, and resume flows. Minor gaps such as candidate-side direct message sending and recruiter job creation/editing prevent a perfect score.
Maintenance
Related MCP Connectors
LinkedIn outreach MCP server — 19 tools for AI agents to prospect, sequence, and manage contacts.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
The LinkedIn API for AI agents. Search, inbox, posts and outreach over MCP.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAutomates job searching and initial communication on the Boss Zhipin platform by parsing resumes and matching them with relevant job listings. It includes anti-bot detection features and supports automated messaging to HR representatives through various MCP clients.10-
- AlicenseNot gradedqualityDmaintenanceMCP server for searching BOSS直聘 (Boss Zhipin) job listings. It provides a boss_search tool that supports multi-city queries, keyword filtering, and JSON output for AI agents.17MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for job discovery, welfare filtering, resume and AI-assisted applications, and recruiter workflows across Chinese job platforms such as BOSS Zhipin, Zhilian, and 51job.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to drive a logged-in BOSS Zhipin recruiter account through the Model Context Protocol, running multi-keyword candidate searches, capturing Canvas-rendered resume screenshots, extracting permanent share links, auto-filtering and scoring candidates, sending greetings, and exporting Markdown reports. Results persist in a local database so interrupted pipelines can resume without losing data.-