Resume-Tailor MCP Server
by NmaaAlhawary
README.md
<div align="center">
<img src="https://raw.githubusercontent.com/NmaaAlhawary/MCP-Resume-Tailor/main/assets/hero.png" alt="Resume-Tailor MCP โ tailor your CV to any job, automatically" width="820">
<br><br>
An open-source **[Model Context Protocol](https://modelcontextprotocol.io)** server that gives
Claude Desktop (or any MCP client) a persistent master rรฉsumรฉ, a real ATS keyword score,
and clean PDF / DOCX export.
[](https://pypi.org/project/resume-tailor-mcp/)
[](https://nmaaalhawary.github.io/MCP-Resume-Tailor/)
[](https://github.com/NmaaAlhawary/MCP-Resume-Tailor/actions/workflows/ci.yml)
[](LICENSE)
[](https://www.python.org/)
[](https://modelcontextprotocol.io)
[](CONTRIBUTING.md)
[](https://claude.ai)
### [๐ View the live site โ](https://nmaaalhawary.github.io/MCP-Resume-Tailor/)
**[Quick start](#installation)** ยท **[Tools](#tools)** ยท **[How it works](#how-it-works)** ยท **[Contributing](#contributing)** ยท **[Releases](https://github.com/NmaaAlhawary/MCP-Resume-Tailor/releases)**
</div>
---
> **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](#why-this-exists)
- [How it works](#how-it-works)
- [Tools](#tools)
- [Installation](#installation)
- [Connect to Claude Desktop](#connect-to-claude-desktop)
- [Usage](#usage)
- [Configuration](#configuration)
- [ATS-safe export](#ats-safe-export)
- [Contributing](#contributing)
- [License](#license)
## 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
```text
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_posting` โ `extract_keywords`
3. **Rewrite** โ *Claude* rewrites the CV to honestly surface the missing keywords
4. **Check** the rewrite โ `ats_gap_check` (did the score go up?)
5. **Export** โ `export_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
### Option A โ install from PyPI (recommended)
```bash
pip install resume-tailor-mcp # or: uvx resume-tailor-mcp
```
That installs a `resume-tailor-mcp` command that runs the MCP server.
### Option B โ from source
```bash
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:
```bash
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).
**If you installed from PyPI** (simplest โ `uvx` fetches and runs it):
```json
{
"mcpServers": {
"resume-tailor": {
"command": "uvx",
"args": ["resume-tailor-mcp"],
"env": { "RESUME_STORE_PATH": "~/.resume-mcp/master.json" }
}
}
}
```
**If you installed from source**, point at your venv's Python and `server.py`:
```json
{
"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`](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:
```text
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 fetching** โ `fetch_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. `K8s`โ`Kubernetes`, `JS`โ`JavaScript`, `Postgres`โ`PostgreSQL`), 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.
```bash
# 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](CONTRIBUTING.md)** for the full step-by-step guide.
## License
Released under the [MIT License](LICENSE). By contributing, you agree your
contributions are licensed under the same terms.
<div align="center">
**Built by [Nmaa Hawary](https://github.com/NmaaAlhawary)** ยท If this helped, consider giving it a star.
</div>
TDQS
A4.4/5.0
Scored across 6 tools
Disambiguation5/5
Each tool has a distinct, non-overlapping purpose: fetching job posts, extracting keywords, analyzing gaps, managing the master resume, and exporting. An agent can clearly distinguish them.
Naming Consistency5/5
All tool names follow a consistent verb_noun pattern in snake_case (e.g., fetch_job_posting, extract_keywords), making them predictable and easy to understand.
Tool Count5/5
With 6 tools, the scope is well-balanced: each tool serves a necessary step in the resume tailoring workflow without redundancy or excessive complexity.
Completeness4/5
The set covers the core pipeline from job posting to export, but lacks a dedicated tool to save tailored resume versions separately from the master. This minor gap is manageable for agents.
Maintenance
ActivityStale
ResponsivenessNo issues