Claude Works

Claude Works

An MCP server that exposes a perpetual, honest job-application pipeline as typed tools an LLM agent can call, with fit scoring, verified resume building, and a submission planner enforced by code, not prompts.

Category
访问服务器

README

Claude Works

An MCP server that turns a perpetual, fit-first job-application pipeline into typed, honest tools an LLM agent can call.

What it is

Claude Works is a Model Context Protocol server built on FastMCP. It exposes a working, autonomous job-application loop (discovery sweeps, fit scoring, a verified resume builder, a fill-and-park submission planner, and an application ledger) as a small set of typed tools.

The point is not to wrap a chatbot around a job board. The point is to put the policy where it cannot drift: in code. An agent calling these tools cannot quietly inflate a fit score, claim a resume passed gates it never ran, or report a submission that did not happen. The honesty lives in the modules, not in a system prompt that the next conversation might forget.

The core (everything except the FastMCP wiring) imports with the standard library only. That keeps the domain logic fast to test, easy to read, and reusable outside the MCP runtime.

Architecture

The system is a five-stage pipeline. Each stage is a frozen or plain @dataclass defined in models.py, and each crosses the MCP boundary as a JSON-serializable dict:

SearchAngle  ->  Job  ->  Score  ->  Resume  ->  Application
  • SearchAngle is one reusable search lens (FDE, IoT, and so on). It biases discovery and scoring toward a lane without changing the rules.
  • Job is a single discovered role, normalized across every source. Its role_key (ATS plus org slug plus job id, parsed from the apply URL) is the canonical identity used for de-duplication. De-dup is by role, never by company, so the same company with a different role is allowed.
  • Score is the fit-rubric verdict for a job: a value from 0 to 10, a pursue boolean, one reason line per signal, and a hard_cap field set when a disqualifying signal applies.
  • Resume is a built artifact plus the verdicts of a four-gate verification pipeline (one-page render, style lint, anti-fabrication verify, and an agent claim-trace check).
  • Application is one row in the durable ledger.

Module layout:

Module Responsibility
models.py The five dataclasses, the de-dup role_key, and the slug normalizer. Standard library only.
config.py Paths, the comp floor, the rails (exclusions, over-level terms, hard-gap skills), and environment-only credential reads.
discovery.py Source sweeps, search-angle parsing, and the scoring function with its hard caps.
curation.py Queue triage: park poor-fit roles (off-lane, over-level, non-US, excluded, hard-skill-gap, already-applied) with an auditable reason, and fit-rank the rest so the loop applies to the strongest open match first instead of whatever is next in line.
resume.py The resume builder and the static verification gates.
submission.py ATS classification and the deterministic fill-and-park plan builder.
tracker.py Reading and appending the ledger and the discovery queue, de-duped by role.
server.py The FastMCP wiring. The only module that imports mcp.

Because __init__.py imports only models, import claude_works never requires the MCP runtime, and the unit tests run against the pure core with no network and no third-party dependencies.

Tools

Every tool returns JSON-serializable structures so results flow straight back into the model.

Tool Contract
discover_jobs Find fresh roles from a discovery source, ranked by fit and de-duped by role.
score_job Score one role 0 to 10 against the fit rubric and return the pursue verdict (with any hard cap).
get_search_angle Look up one search lens by name or trigger, or the default lane when the name is empty.
list_search_angles List every defined search lens (name, trigger, definition).
list_claim_fragments List the verified resume building blocks (roles, bullets, projects) that trace to the claims bank.
build_resume Build a tailored one-page resume from verified fragments and run the static gates.
render_resume Render a resume to PDF and report whether it is exactly one page.
verify_resume Run the two static gates (style lint plus anti-fabrication verify) on any resume HTML.
submit_application Build the fill-and-park submission plan for a role (no browser is driven here).
record_application Append one row to the ledger, de-duped by company and role.
list_queue List roles in the discovery queue by queue status (the queue-first gate).
list_applications List ledger rows, optionally filtered by status.
ledger_summary Return a count of ledger rows by status.

Install

git clone https://github.com/andrewaws26/claude-works.git
cd claude-works
pip install -e ".[dev]"

Run the test suite (pure core, no network):

pytest

Quickstart

Start the server over stdio:

python -m claude_works

Register it with Claude Desktop or Claude Code by adding it to your MCP server config:

{
  "mcpServers": {
    "claude-works": {
      "command": "python",
      "args": ["-m", "claude_works"],
      "env": {
        "JOBSEARCH_APPLY_EMAIL": "you@example.com",
        "JOBSEARCH_APPLY_LOCATION": "City, ST",
        "JOBSEARCH_COMP_FLOOR": "120000",
        "JOBSEARCH_PURSUE_THRESHOLD": "7.0"
      }
    }
  }
}

Configuration

All configuration is environment driven. Nothing sensitive is stored in the repo.

Variable Purpose
JOBSEARCH_DATA_DIR Directory holding the ledger, queue, and policy documents. Defaults to the package parent. Readers degrade gracefully when files are absent.
JOBSEARCH_RESUMES_DIR Directory holding the resume generator and render pipeline.
JOBSEARCH_COMP_FLOOR Base compensation floor in USD per year.
JOBSEARCH_PURSUE_THRESHOLD The 0 to 10 score at or above which a role is pursued.
JOBSEARCH_APPLY_EMAIL, JOBSEARCH_APPLY_PHONE, JOBSEARCH_APPLY_LOCATION Contact fields, read at submission time only.
JOBSEARCH_APPLY_USERNAME, JOBSEARCH_APPLY_PASSWORD Portal credentials, read from the environment only and never stored. A missing credential fails loudly instead of silently mis-filling a form.

Design principles

Honesty is enforced in the modules, not the prompt. Three concrete mechanisms:

  1. Score hard caps. An over-level title (Director, Principal, Staff, and the like), a required-skill gap, a non-US-only role, an excluded domain (defense, surveillance, and so on), or an active interview track caps the score and forces pursue=False. The agent cannot score its way past a disqualifier.
  2. Gate findings, not claims. The resume tools return the actual results of the lint and anti-fabrication gates with the specific findings attached. A resume is reported as passing only when every automated gate ran and passed.
  3. Fill-and-park plans, not faked submits. submit_application returns a deterministic plan (the ATS, the action, the field values, the honest screening answers, and the one human step left when parked). It never drives a browser and never reports a submission that did not happen. The real outcome is recorded afterward through record_application.

A self-improving ATS playbook. submission.py carries an ATS_GOTCHAS table: hard-won, per-ATS form-handling tactics (Ashby labeled-radio focus-plus-Space, Lever's hidden resume input behind an hCaptcha, Workable masked-date sequential typing, Hirebridge's ASP.NET postback cascade and FormValidation-gated submit, and so on). Every plan carries the relevant tactics so the browsing agent does not relearn them each run. When a better way to fill or submit a form is found, it is appended here and committed, so the knowledge persists across instances the way a person remembers a shortcut.

Typed dataclass boundaries. Every value that crosses a tool boundary is one of the five core dataclasses with an explicit to_dict. The schema is the contract, and the contract is the same whether a record was written by this server or by the underlying loop.

Zero-dependency, testable core. The domain logic depends on nothing but the standard library. The included tests cover the slug and role-key normalization, the dataclass round-trips, the de-dup-by-role behavior, the scoring hard caps, and the submission planner, all without touching the network.

License

MIT. See LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选