Skip to main content

MCP server that helps an AI client tailor a CV to a job: persistent master resume, deterministic ATS gap check, and ATS-safe PDF/DOCX export.

Project description

Resume-Tailor MCP — tailor your CV to any job, automatically



An open-source Model Context Protocol server that gives Claude Desktop (or any MCP client) a persistent master résumé, a real ATS keyword score, and clean PDF / DOCX export.

Website CI License: MIT Python 3.11+ MCP Release PRs Welcome Built for Claude

🌐 View the live site →

Quick start · Tools · How it works · Contributing · Releases


You: "Here's a job link — tailor my CV and export a PDF."

Claude reads the posting and your master CV, rewrites it to match, checks the ATS keyword score, and hands you a clean file ready to send.

Table of Contents

Why this exists

Claude can already rewrite a CV in a normal chat. This MCP is worth installing for the three things a plain chat can't do:

Feature What it gives you
Persistent master CV Stored locally as JSON. Set it up once, reuse it for every job.
Real ATS gap score Deterministic keyword math — not vibes. Tells you exactly which keywords you're missing.
Clean file export ATS-safe PDF / DOCX: single column, standard fonts, real selectable text.

[!IMPORTANT] The MCP does not rewrite your CV — Claude does that. The server supplies the persistence, the job fetch, the ATS math, and the export. Claude ties it together.

How it works

 load_master_resume ─┐                                                  ┌─►  export_resume
                     ├─►  Claude rewrites the CV  ─►  ats_gap_check  ─►──┤
 fetch_job_posting ─►│                                     ▲            └─►  export_cover_letter
 extract_keywords ───┘─────────────────────────────────────┘
  1. Load your master CV — load_master_resume
  2. Analyze the job — fetch_job_postingextract_keywords
  3. RewriteClaude rewrites the CV to honestly surface the missing keywords
  4. Check the rewrite — ats_gap_check (did the score go up?)
  5. Exportexport_resume → a clean PDF or DOCX
  6. Cover letter (optional)export_cover_letter → a matching PDF or DOCX

Tools

Tool Purpose
save_master_resume Store/update the base CV (structured JSON: contact, summary, experience, projects, skills, education).
load_master_resume Return the stored master CV so Claude can work from it.
fetch_job_posting Fetch a job URL → clean text. Falls back to pasted text if the site is blocked or login-walled.
extract_keywords Deterministically pull the ranked skills/tools an ATS scans for.
ats_gap_check Compare a CV against the job keywords → match score (%) + the exact missing terms.
export_resume Render finished CV content (markdown or JSON) → a clean PDF or DOCX. Returns the file path.
export_cover_letter Render a finished cover letter → a matching PDF or DOCX. Optionally adds a letterhead (name + contact) from the master CV. Returns the file path.

Installation

git clone git@github.com:NmaaAlhawary/MCP-Resume-Tailor.git
cd MCP-Resume-Tailor

python3 -m venv .venv
source .venv/bin/activate          # fish: source .venv/bin/activate.fish
pip install -r requirements.txt

Smoke-test that all seven tools register:

python -c "import asyncio, server; print([t.name for t in asyncio.run(server.mcp.list_tools())])"

[!NOTE] PDF export uses reportlab (pure Python — no system libraries needed on macOS/Windows/Linux). DOCX export uses python-docx.

Connect to Claude Desktop

Add this to your claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "resume-tailor": {
      "command": "/absolute/path/to/MCP-Resume-Tailor/.venv/bin/python",
      "args": ["/absolute/path/to/MCP-Resume-Tailor/server.py"],
      "env": {
        "RESUME_STORE_PATH": "~/.resume-mcp/master.json"
      }
    }
  }
}

Restart Claude Desktop — the seven tools appear under the tools menu.

Usage

First-time setup — store your master CV (once)

Copy master.template.json, fill in your details, then ask Claude:

"Save this as my master resume: (paste the JSON)"

Claude calls save_master_resume and it persists at RESUME_STORE_PATH.

Everyday flow — tailor to a job

You: Here's a job link — tailor my CV for it and export a PDF: https://example.com/careers/senior-frontend

Behind the scenes Claude runs:

1. load_master_resume()                          → your stored CV
2. fetch_job_posting(url="…/senior-frontend")    → clean job text
3. extract_keywords(job_text)                    → ["REST APIs", "GraphQL", "TypeScript",
                                                     "Docker", "AWS", "Next.js", "CI/CD", …]
4. ats_gap_check(resume_text, keywords)          → { match_score: 20.0,
                                                     missing: ["GraphQL","Docker","AWS",…] }
5. ── Claude rewrites the CV to surface real, matching skills ──
6. ats_gap_check(new_resume_text, keywords)      → { match_score: 85.0 }
7. export_resume(content=<rewritten>, format="pdf")
                                                 → { path: "~/.resume-mcp/exports/…​.pdf" }
8. export_cover_letter(content=<letter>, format="pdf")
                                                 → { path: "~/.resume-mcp/exports/…​_cover_letter.pdf" }

Claude: Tailored your CV — keyword match went from 20% → 85%. I added your Docker/AWS and testing experience to match their stack, and drafted a matching cover letter. Exported here: ~/.resume-mcp/exports/Jane_Developer_….pdf ~/.resume-mcp/exports/Jane_Developer_…_cover_letter.pdf

Configuration

Env var Default Purpose
RESUME_STORE_PATH ~/.resume-mcp/master.json Where the master CV JSON lives. Exports go to exports/ next to it.

Everything runs locally. No secrets, no external accounts.

Safety & robustness

  • SSRF-guarded fetchingfetch_job_posting only follows http/https URLs to public hosts. Requests to localhost, private/LAN ranges, or cloud metadata (169.254.169.254) are refused, and redirects are re-checked on every hop. Downloads are capped at ~3 MB.
  • Synonym-aware ATS scoring — the gap check treats common equivalents as a match (e.g. K8sKubernetes, JSJavaScript, PostgresPostgreSQL), so scores reflect real coverage.
  • Unicode-safe PDFs — a bundled Unicode font renders accented names (José, résumé) correctly instead of empty boxes.
  • Master-CV backup — saving over an existing master CV first writes a .bak copy.

ATS-safe export

  • Single column — no text boxes or multi-column tricks that break ATS parsers
  • Standard fonts (Calibri for DOCX, a Unicode sans for PDF)
  • Real, selectable text — never image-rendered
  • Plain headings and bullet lists that map cleanly to resume sections

Contributing

Contributions of any size are welcome. The quickest way in: fork the repo, make your change, and open a pull request.

# 1. Fork on GitHub, then clone your fork
git clone git@github.com:YOUR-USERNAME/MCP-Resume-Tailor.git
cd MCP-Resume-Tailor

# 2. Set up and branch
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
git checkout -b my-improvement

# 3. Change, commit, push
git commit -am "Describe your change"
git push origin my-improvement

# 4. Open a Pull Request on GitHub

Great first contributions: add skills to KNOWN_TERMS / KNOWN_PHRASES in server.py, filter a filler word in STOPLIST, or improve the export layout. See CONTRIBUTING.md for the full step-by-step guide.

License

Released under the MIT License. By contributing, you agree your contributions are licensed under the same terms.

Built by Nmaa Hawary · If this helped, consider giving it a star.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resume_tailor_mcp-0.1.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resume_tailor_mcp-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file resume_tailor_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: resume_tailor_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for resume_tailor_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aaef990308e560b49d7cc9a1db36aeb3dd06ff694be8dcc8ed40e2ee7b4e7976
MD5 74e569bcccb91d09e568452ade5ff074
BLAKE2b-256 184025fe043716c90fcb698b6ffd252e52d299c8fdfe529e67bf7e947831f496

See more details on using hashes here.

Provenance

The following attestation bundles were made for resume_tailor_mcp-0.1.0.tar.gz:

Publisher: release.yml on NmaaAlhawary/MCP-Resume-Tailor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file resume_tailor_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for resume_tailor_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14543fa621e3ed4d207f7a30e8831f623b66e188faa64efa1ccd1d50a6fc017a
MD5 8ea7001d5c04eb9660b9621685b1d2ec
BLAKE2b-256 f5a6022e69cced51dc2f8bf88ab7ac5bdef517757454fe61ffb6fb7f6878f0fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for resume_tailor_mcp-0.1.0-py3-none-any.whl:

Publisher: release.yml on NmaaAlhawary/MCP-Resume-Tailor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page