mcp-overleaf-server
The mcp-overleaf-server automates tailoring LaTeX résumés and cover letters to job descriptions using your MCP client's AI model, with truthfulness enforcement, PDF compilation, and application tracking.
Tailoring & Compilation: Analyze job descriptions, select and rewrite bullets from your master
cv.md, inject into LaTeX template, and compile PDFs. Supports both résumés and cover letters, auto-detecting LaTeX file types.Truthfulness Enforcement: Every bullet must cite a source ID from the master CV; unverifiable numbers or skills are flagged and unknown IDs cause hard failures.
Batch Processing: Handle up to 10 jobs at once, clustering similar roles to reuse content and minimize LLM calls, with cross-session caching.
ATS Reporting: Generate keyword coverage reports, distinguishing skills addable from your master CV vs. absent entirely.
Application Tracking: Auto-log applications to
applications.csvwith intelligent upserting; manually list, add, or update records.Master CV Management: View parsed master CV with stable IDs for transparent content sourcing.
Overleaf Integration: Optionally sync with Overleaf via Git (requires paid access) to pull templates or push compiled documents.
Customizable Output: Integrates with existing LaTeX templates, preserving custom macros and typography.
Allows syncing templates from Overleaf and pushing compiled PDFs back to an Overleaf project using git.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-overleaf-serverTailor my resume for the software engineer role at Stripe."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-overleaf-server
An MCP server that tailors your LaTeX résumé and cover letter to any job description — injecting truthfully-selected content from a master cv.md into your own LaTeX document, compiling the PDF, and logging the application automatically. Paste a job description into any MCP client (Claude Desktop, Cursor, VS Code, Windsurf) and get back an ATS-optimized, one-page PDF.
Truthfulness is enforced by code, not just prompts. The server refuses to compile any bullet that can't be traced back to your master CV, and flags any new number or skill for review.
How it works
The reasoning (analyze the JD, rank experience, rewrite bullets) is done by your MCP client's model — no API key, no extra LLM cost. The server is a set of deterministic tools plus orchestrating prompts:
/tailor_resume "<paste JD>"
│
├─ prepare_tailoring(JD) → master CV (with ids) + JD keyword signals + rules + schema
│ … your model reasons here → emits TailoredContent JSON …
│ (only reorders/rewrites/shortens existing bullets; cites source ids)
└─ render_and_compile(json + coverLetter)
inject → validate → anti-fabrication check → compile
→ Company_Position.pdf + Company_Position_CoverLetter.pdf
→ auto-logged to output/applications.csvRelated MCP server: CV Resume Builder MCP
Requirements
Node.js ≥ 20 (developed on 26)
A LaTeX toolchain —
latexmk+pdflatex(install MacTeX / TeX Live). Check withlatexmk --version.An Overleaf git token — optional, only for the Overleaf sync/push tools. Overleaf git access is a paid feature; everything else works without it.
Setup
npm install && cp .env.example .env && npm run buildPut your master CV at cv.md (see cv.example.md for the structure — ## Summary, ## Experience, ## Projects, ## Education, ## Skills), and drop your polished résumé at templates/main.tex. Both are gitignored — they never get published.
.env:
OL_GIT_AUTHENTICATION_TOKEN=olp_xxxxxxxxxxxx # optional
OVERLEAF_PROJECT_URL=https://www.overleaf.com/project/xxxx # optional
CV_MASTER_PATH=./cv.md
CAREER_OUTPUT_DIR=./output
LATEX_ENGINE=latexmkConnect to an MCP client
All clients below launch the same process — node /ABSOLUTE/PATH/mcp-overleaf-server/dist/index.js — they just each want that command in their own config file/format. The server reads .env from its own directory, so secrets never need to go in any client config. Always use the absolute path (not ~ or a relative path) and fully restart the client after editing — MCP tool lists are only fetched at connection time.
Claude Desktop / Cursor / VS Code / Windsurf
Add to claude_desktop_config.json (or the equivalent MCP settings in Cursor/VS Code/Windsurf — same shape):
{
"mcpServers": {
"overleaf-resume": {
"command": "node",
"args": ["/ABSOLUTE/PATH/mcp-overleaf-server/dist/index.js"]
}
}
}See examples/claude_desktop_config.json.
Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.overleaf-resume]
command = "node"
args = ["/ABSOLUTE/PATH/mcp-overleaf-server/dist/index.js"]Or skip the file entirely:
codex mcp add overleaf-resume -- node /ABSOLUTE/PATH/mcp-overleaf-server/dist/index.jsVerify with codex mcp list. See examples/codex_config.toml.
Gemini CLI
Add to ~/.gemini/settings.json (global) — a project-level .gemini/settings.json works too, but this tool isn't tied to any one repo:
{
"mcpServers": {
"overleaf-resume": {
"command": "node",
"args": ["/ABSOLUTE/PATH/mcp-overleaf-server/dist/index.js"]
}
}
}See examples/gemini_settings.json. Gemini CLI expands $VAR references inside a server's env block if you ever need to inject a secret that way — not needed here since .env covers it.
Ollama
Ollama itself is a model runtime, not an MCP client — it has no built-in concept of "MCP servers" to connect to. To use this server with a local Ollama model, put an MCP-aware layer in between:
mcp-client-for-ollama (
ollmcp) — a terminal client that connects a local Ollama model to one or more MCP servers, this one included.ollama-mcp-bridge — exposes MCP tools through Ollama's API for other tooling to consume.
Either way, the command you register is the same node /ABSOLUTE/PATH/mcp-overleaf-server/dist/index.js — consult that project's docs for exactly where its config lives.
Usage
First: how to invoke a prompt in your client
The two prompts (tailor_resume, tailor_multiple_jobs) surface differently depending on the client:
Client | How to invoke |
Claude Code | Type |
Claude Desktop | The ➕ button next to the message box — not a typed slash command |
Codex / Gemini CLI / Cursor | Prompt support varies. If you don't see them, just ask in plain English (below) — the tools work regardless |
You never actually need the prompts. They're convenience wrappers. Asking in plain English works everywhere:
Tailor my resume for this job and write a cover letter: (paste the full posting)
Paste the full posting text, not a URL. Most job boards (Ashby, Greenhouse, Lever) render postings with JavaScript, so a link fetches nothing. An empty or stub jobDescription is now rejected outright — tailoring, ATS scoring, and the cover letter all depend on that text.
One job
/mcp__overleaf-resume__tailor_resumeArgument | Required | Notes |
| yes | The full posting text (≥100 chars) |
| recommended | Used for filenames and the tracker row |
| optional | Recorded in the tracker |
| optional | Portal questions, one per line — answered in chat |
| optional |
|
| optional |
|
Produces: Company_Position.pdf and Company_Position_CoverLetter.pdf, plus one tracker row — all from a single render_and_compile call. A separate CV is only produced when you explicitly configure your own templates/cv.tex and pass alsoCv: true.
Many jobs at once (up to 10)
/mcp__overleaf-resume__tailor_multiple_jobsPass jobs as ----separated blocks. Company:, Position:, Job URL:, and Question: lines are parsed as fields; everything else is the description:
Company: Nuro
Position: Software Engineer
Question: Why do you want to work here?
<paste the full JD>
---
Company: Waymo
Position: Backend Engineer
<paste the full JD>This is the credit-efficient path. batch_plan clusters jobs by keyword similarity and checks a cross-session cache, then names exactly which jobs need fresh reasoning. Similar roles share one pass:
Batch plan — 5 job(s), 2 reasoning pass(es) needed, 3 saved by reuse.
#0 Nuro — Software Engineer [resume] → GENERATE ← write content for this one
#1 Waymo — Backend Engineer [resume] → reuse job #0 (similarity 0.78)
#2 Figma — Frontend Engineer [resume] → GENERATE ← write content for this one
#3 Linear — Frontend Engineer [resume] → reuse job #2 (similarity 0.81)
#4 Stripe — Backend Engineer [resume] → reuse cache "acme|backend engineer" (0.72)Tune with threshold (0–1, default 0.6) — raise it toward 0.9 to force fresh reasoning per job.
Reuse means an identical résumé body, not a re-tailored one. For a role you care about, run it single-job or raise the threshold.
Calling tools directly
You can ask for any individual tool by name instead of running a whole prompt:
You want to… | Say something like |
See your parsed CV and its IDs | "Show me my master CV" → |
Score an existing résumé against a JD | "ATS-check this resume against this posting" → |
Review what you've applied to | "List my applications" → |
Add a row manually | "Mark the Nuro application as applied" → |
Write only a cover letter | "Write a cover letter for X" → |
Pull your Overleaf templates | "Sync my Overleaf project" → |
After it runs
Everything lands in output/:
open output/Company_Position.pdf— the one-page résuméCompany_Position_CoverLetter.pdf— the letterapplications.csv— the tracker (opens in Excel / Google Sheets).tailoring-cache.json— reuse cache; delete it to force fresh reasoning
Read the tool's response before sending anything out. It reports ATS coverage, which missing keywords are truthfully addable vs. absent from your CV, any provenance warnings (a number or skill it couldn't trace to cv.md), and a warning if a document ran past one page.
Troubleshooting
Symptom | Cause |
"No batch processing tool available" / tools missing | The client cached an old tool list — fully quit and reopen it (⌘Q, not just closing the window) |
No cover letter produced | The model didn't pass |
"job description is empty or too short" | Working as intended — paste the posting text, not a URL |
Overleaf sync says unavailable | Overleaf git access is a paid feature. Not an error; local templates are used instead |
Compile fails | Check |
Tools
Tool | What it does |
| Returns the brief: master CV with stable ids + JD keyword signals + rules + output schema |
| Inject → validate → anti-fabrication check → compile → save |
| Standalone one-page cover letter (usually unnecessary — pass |
| Clusters up to 10 jobs + checks the cache; reports which need fresh reasoning |
| Renders, compiles, writes letters, and logs a whole batch in one call |
| The parsed master CV with the ids used for tailoring |
| Keyword coverage vs. a JD; splits gaps into addable (in your CV) vs absent |
| Manual tracker access (logging is automatic) |
| Pull templates from / push results back to Overleaf |
Your own LaTeX document
Point the server at templates/main.tex and it auto-detects which kind of file it is:
A finished résumé (custom macros like
\roleheading/\bul, no placeholders) → rewrites only the Summary / Experience / Projects / Skills section bodies. Your preamble, fonts, colors, spacing, and Education section are preserved byte-for-byte.A
{{PLACEHOLDER}}template → the placeholder renderer fills each token.
Project links
Write a project heading in cv.md as a markdown link and it stays hyperlinked in the compiled PDF:
**[CarbonProxy](https://devpost.com/software/carbonproxy)** - Python, FastAPI, SQLite→ \projheading{\textbf{\href{...}{CarbonProxy}} $|$ \emph{...}}{Feb 2026}
The tracker sheet
output/applications.csv opens in Excel / Google Sheets and is git-diffable. Columns: Date Applied · Company · Position · Job Link · ATS % · Resume File · Git Link · JD Summary · Status · Notes.
Every render auto-logs, upserting on company+position — regenerating updates the row instead of duplicating.
Architecture & design decisions
TypeScript, not Python. The whole system is I/O orchestration (git, fs, subprocess, template injection). Building on the mature MCP TypeScript SDK avoided a rewrite and a second toolchain.
Host-model reasoning, not a server-side LLM. The MCP client already has a capable model; calling an API server-side would need a key, double the cost, and duplicate the model. The server hands the model a structured brief and renders the JSON it returns. No key required.
Template injection, never LLM-generated LaTeX. The renderer is the only component that emits LaTeX, and it escapes every field. Your macros and typography survive exactly.
Anti-fabrication by construction. Every source bullet gets a stable id (
EXP1.2). The model must cite one per bullet; unknown ids are a hard failure, and new numbers / off-CV skills become warnings. Cover letters get a prose-tuned variant that flags unverifiable figures. Seesrc/core/schema.ts.Reuse over regeneration. Deterministic Jaccard similarity over JD keywords decides what can be reused — no model call is needed to decide what to skip. See
src/core/batch.ts.Graceful Overleaf degradation. No git access (a paid feature) returns a normal "unavailable" result, not an error, and the failure is cached so the token is never re-spent.
CSV tracker, not a database. Excel-openable, git-friendly, zero infrastructure.
Project structure
src/
index.ts MCP bootstrap (tools + prompts, stdio)
config.ts env + resolved paths
tools.ts the MCP tools
prompts.ts tailor_resume + tailor_multiple_jobs
core/
cvParser.ts cv.md → structured model with stable ids
schema.ts TailoredContent + CoverLetterContent (zod) + provenance checks
latexRenderer.ts structured content → LaTeX (escaping, macros, \href)
documentInjector.ts rewrites section bodies of YOUR finished .tex
latexValidate.ts pre-compile structural checks
latexCompile.ts latexmk / pdflatex → PDF
coverLetter.ts one-page letter rendering
batch.ts similarity, clustering, cross-session cache, batch runner
atsNormalize.ts Unicode → ATS-safe ASCII
keywords.ts JD keyword extraction, coverage, gap analysis
tracker.ts CSV application sheet
overleafGit.ts project-URL → authed git; clone/pull/branch/commit/push
brief.ts the tailoring brief prepare_tailoring returns
pipeline.ts compose layer (render→validate→compile→save→log)
templates/ main.tex (yours, gitignored) · resume-template.tex
cover-letter-template.tex · AUTHORING.md
test/ 43 unit + integration tests (incl. real PDF compiles)Development
npm test # 43 tests, including real latexmk compiles
npm run typecheck
npm run buildRoadmap
Embedding-based bullet ranking · multiple role templates (SWE/AI-ML/Security/Quant) · preserving bold metrics through injection · optional server-side provider for a fully autonomous single call.
License
MIT. Résumé template derived from the sb2nov / Gabriel Sison template (MIT).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAutomates resume tailoring by formatting job descriptions, using AI to customize resumes for specific positions, and saving both jobs and tailored resumes to organized folders.Last updated
- AlicenseBqualityDmaintenanceAutomatically generates and updates CVs/resumes by aggregating data from git commits, Jira tickets, Credly certifications, and existing PDF resumes, with LaTeX formatting support.Last updated1413MIT
- AlicenseAqualityDmaintenanceGenerates professional PDF resumes using LaTeX templates through natural language descriptions. Supports 9 professional templates, AI-powered resume tailoring, and organized folder management for job applications.Last updated422MIT
- Flicense-qualityDmaintenanceGenerates professional PDF cover letters using LaTeX with advanced folder management capabilities. Integrates with Claude Desktop to create beautifully formatted cover letters with customizable organization by company, role, or industry.Last updated1
Related MCP Connectors
Tailor resumes, generate cover letters, render CVs as PDF, and browse 22+ templates.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Turn a description into a shareable, editable PDF — invoices, certificates, reports, resumes.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhi-ramtel/mcp-overleaf-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server