EuropassMCP
EuropassMCP is an MCP server that lets an AI agent build a Europass CV section by section and export it as schema-valid Europass XML or as a PDF with the XML attached.
Create named CV drafts that live in memory for the session
Set the CV owner's personal details (required section)
Add work experience entries, most recent first
Add education or training entries
Add language skills with CEFR levels and mother-tongue flag
Add digital/computer skills as free text
Look up Europass country, language, and ISCO-88 occupation codes
Validate a draft against the Europass 3.0.3 XML schema, with suggestions for refused code values
Export a finished CV as strictly schema-compliant Europass XML
Export a finished CV as a PDF containing the XML as an attachment, returned as a resource link
Refuse invalid or unexportable drafts rather than producing non-compliant output
Allows creating and managing Europass CVs, validating them against the official EU XML schema, and exporting them as schema-compliant Europass XML or as a PDF with the XML embedded.
Click on "Deploy 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., "@EuropassMCP Build my Europass CV and export it as XML"
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.
EuropassMCP
An MCP server that lets an AI agent assemble a Europass CV and export it as strictly schema-compliant Europass XML, or as a PDF carrying that XML inside it.
The Europass CV is the European Union's standardised curriculum vitae format. Its machine-readable form is an XML document conforming to the Europass CV XML Schema Definition version 3.0.3. This server gives an agent a handful of small, section-scoped tools for filling one in over the course of a conversation, and refuses to export anything the schema would reject, so "almost valid" is not a state a finished document can reach.
Unofficial
This project is not affiliated with, endorsed by, or produced by the European Union, the European Commission or Cedefop. It ships no EU emblem and no Europass wordmark; the PDF it produces is an independent look-alike of the Europass layout, not the official document, and says so on the page. Europass is a trademark of the European Union.
The one European Union asset this repository redistributes is the XML schema itself, under the EUPL-1.1 grant its authors published it with. See Licensing.
Requirements
Python 3.11 or newer.
An MCP client that can launch a server over stdio.
For PDF export only, four system libraries that pip cannot install. See With PDF export.
Related MCP server: Scribo MCP Server
Installation
One line
curl -fsSL https://raw.githubusercontent.com/Tsadoq/EuropassMCP/main/install.sh | bashThat installs uv if it is missing, installs the server as a uv tool, and
registers it with your client: through claude mcp add when the Claude
command-line interface is on your PATH, and otherwise by merging a single
mcpServers entry into claude_desktop_config.json. The merge rewrites that one
entry and leaves every other server in the file alone, so running the command
twice still leaves exactly one europassmcp.
Flags reach the script through the pipe by way of bash -s --:
curl -fsSL https://raw.githubusercontent.com/Tsadoq/EuropassMCP/main/install.sh | bash -s -- --with-pdf--with-pdf adds the PDF extra and then points you at
With PDF export for the system libraries it cannot install
for you. --config-only skips straight to registering the client, for an
install you already have.
Piping a URL into a shell runs whatever that URL serves. If that is not a trade you want, the script is a file like any other:
curl -fsSL https://raw.githubusercontent.com/Tsadoq/EuropassMCP/main/install.sh -o install.sh
less install.sh
bash install.shBy hand
The commands in this section name
europassmcpon PyPI, which is not there yet. See Until the PyPI release for the forms that resolve today.
The server speaks MCP over stdio, so in normal use a client launches it rather than you running it by hand. What the script does on your behalf is install the server and write that launch command into the client's configuration:
uv tool install europassmcp # or: uv tool install 'europassmcp[pdf]'followed by the stanza under Client configuration.
Installing up front is optional, though. The commands below launch the server
through uvx, which fetches it on demand; either one is what goes into that
stanza, and running one in a terminal starts a server that waits on stdin.
XML only
uvx europassmcpNothing outside Python is needed. Every tool works except export_pdf, which
refuses with a message naming the command that would fix it.
With PDF export
PDF export goes through WeasyPrint, which loads Pango, PangoFT2, HarfBuzz and
fontconfig through the C ABI at import time. pip cannot install any of them,
so europassmcp[pdf] installs cleanly on a machine that has none of them and
then refuses every PDF.
Install them with the system package manager before you install the extra. If
you do not, export_pdf answers with the same refusal it gives an install that
never had the extra at all: the underlying
OSError: cannot load library 'libpango-1.0-0' is caught and never reaches you.
So on an install that does already have europassmcp[pdf], that refusal means
these libraries are the part that is missing.
On Debian and Ubuntu:
sudo apt install libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz0b libfontconfig1On macOS, with Homebrew:
brew install pangoHomebrew pulls glib, harfbuzz and fontconfig in as dependencies of pango. WeasyPrint's installation guide is the authority for other platforms and for troubleshooting a load that fails anyway.
Optionally add libharfbuzz-subset0 (Debian and Ubuntu; Homebrew's harfbuzz
already includes it). Without it PDFs still render, but every font is embedded
whole instead of subsetted, which makes the file considerably larger.
Then:
uvx --from 'europassmcp[pdf]' europassmcpUntil the PyPI release
The repository is public, so the one-line installer downloads and runs. What is
still missing is the PyPI release, which is what every command above that names
europassmcp on its own needs: uv tool install europassmcp, uvx europassmcp,
and the [pdf] form of each fail to resolve until it exists.
A direct reference to this repository is the same two paths by another route, and both work today:
uvx --from 'europassmcp @ git+https://github.com/Tsadoq/EuropassMCP' europassmcp
uvx --from 'europassmcp[pdf] @ git+https://github.com/Tsadoq/EuropassMCP' europassmcpEither one is also what belongs in the args of the
client stanza, after --from.
The installer needs no such adjustment. It asks the index whether the package is published and installs from this repository for as long as the answer is no, so it installs the release the day there is one without being edited, and the stanza it writes names whichever source it installed from.
Against a clone, uvx --from . europassmcp and uvx --from '.[pdf]' europassmcp
are those two paths once more, and bash install.sh --config-only still
registers the client.
This section describes a state that ends with the first release, and docs/releasing.md is where the step that deletes it lives.
Client configuration
Most MCP clients take the same mcpServers stanza; in Claude Desktop it lives in
claude_desktop_config.json.
{
"mcpServers": {
"europassmcp": {
"command": "uvx",
"args": ["europassmcp"]
}
}
}With PDF export, the extra moves into the arguments:
{
"mcpServers": {
"europassmcp": {
"command": "uvx",
"args": ["--from", "europassmcp[pdf]", "europassmcp"]
}
}
}Until europassmcp reaches PyPI, those args have to name this repository
instead; see Until the PyPI release.
Compiling the schema takes roughly three seconds, once, while the server starts. A client that times out a server's first response quickly may need a longer startup allowance.
What the agent gets
Drafts live in memory for the length of the session, keyed by a name the agent chooses, and are built up section by section. Nothing is written to disk.
Tool | What it does |
| Starts a new empty draft under a name of the agent's choosing. |
| Records who the CV is about. The one section a valid CV cannot omit. |
| Appends one job, in the order it should be printed. |
| Appends one qualification or training period. |
| Appends one language with its CEFR levels, mother tongues included. |
| Appends one digital or computer skill. |
| Finds Europass country codes from a country name in any of the languages the schema documents. |
| Finds Europass language codes the same way. |
| Finds ISCO-88 occupation codes from a job description. |
| Reports everything the schema objects to, with the nearest valid values for a refused code. |
| Returns the finished CV as Europass XML. Refuses a draft that would not validate. |
| Lays the CV out as a PDF with the XML attached, and returns a link to it. |
Two of these carry most of the design. The lookup tools exist because the
vendored code lists hold 1350 members, including 564 occupations and 197 country
codes, which is far more than belongs in a tool description or in a model's
context; the agent searches instead of being handed a list. And validate_cv
answers a refused value with the valid values spelled most like it, so a rejected
ITA comes back with IT, which is the same search from the other direction.
The PDF comes back as a resource link rather than as inlined bytes, because a document of several hundred kilobytes would otherwise be replayed into the model's context on every later turn. The source XML travels inside the PDF as a file attachment, so the document a person receives is still the document a machine can read back.
The vendored schema
The twelve XSD files under src/europassmcp/schema/ are vendored rather than
fetched, because there is nowhere left to fetch them from: every URL under
europass.cedefop.europa.eu/xml/ has answered with a redirect to a marketing
page since roughly 2021. They were recovered from the Internet Archive.
docs/schema-provenance.md records where each file
came from, the one modification made to them, and how to repeat the recovery.
Licensing
This distribution aggregates two separately licensed bodies of work, kept in separate directories so that neither licence has to be read as covering the other.
First-party code, which is everything except
src/europassmcp/schema/, is under the MIT Licence inLICENSE.The vendored Europass XML Schema Definition, in
src/europassmcp/schema/, is Copyright European Union 2002-2010, published by Cedefop under the European Union Public Licence version 1.1 (EUPL-1.1). The MIT grant does not extend to it.
NOTICE states the EUPL-1.1 grant in full and travels inside the wheel
and the sdist, which is what keeps the schema redistributable. Redistributing
these files, modified or not, means carrying it with them.
Development
uv sync
uv run pytest
uv run pre-commit installuv run pre-commit run --all-files runs the same ruff, ruff-format and mypy
checks CI does. The generated binding under src/europassmcp/_generated/ is
xsdata output and is regenerated, never edited by hand; CI regenerates it and
fails on any diff. scripts/fetch_schema.py re-runs the schema recovery.
Available Tools
12 toolsadd_digital_skillA
Add one digital or computer skill, after those already added.
Add every skill as its own call. Europass prints these as free text, so a single call naming several skills is recorded as one skill with a long name rather than as the list it reads like.
Inputs: skill (required), draft_id (required). Returns: result
add_educationA
Add one qualification or training period, after those already added.
Inputs: studies (required), draft_id (required). Returns: result
add_language_skillA
Add one language the person speaks, with how well they speak it.
Add every language separately, mother tongues included. Look the language
code up with lookup_language if you are not certain of it.
Inputs: skill (required), draft_id (required). Returns: result
add_work_experienceA
Add one job to the CV, after the jobs already added.
Add jobs in the order they should be printed, which for a Europass CV is most recent first.
Inputs: job (required), draft_id (required). Returns: result
create_cvA
Start a new, empty CV under a name of your choosing.
Pick a short name you will use for the rest of the conversation, such as the surname of the person the CV is for. A name already in use is refused rather than replaced.
Inputs: draft_id (required). Returns: result
export_pdfA
Lay the finished CV out as a PDF, with its Europass XML inside it.
Refuses a draft that would not validate, exactly as export_xml does, and
refuses where this server cannot make PDFs at all; the message says what to
do instead. The XML travels inside the PDF as an attachment, so the document
a reader receives is still the document a machine can read back.
What comes back is a link rather than the file, because a CV is hundreds of kilobytes and would crowd out the rest of this conversation. Give the link to the user, or read the resource it names if you need the bytes yourself.
Refuses a draft whose name cannot be read back out of that link, which is why a draft meant for a PDF wants an ordinary name.
Inputs: draft_id (required).
export_xmlA
Write the finished CV as Europass XML.
A draft that would not validate is refused rather than exported, so what
comes back is always a schema-valid Europass document. Call validate_cv
first to find out what is still missing.
Inputs: draft_id (required). Returns: result
lookup_countryA
Find the country codes Europass recognises for a country you can name.
Answers a country in any of the languages the schema documents, so both
Italy and Italien find IT. Each match is a [code, label] pair, the
likeliest first, and a query close to nothing returns nothing.
Inputs: query (required). Returns: result
lookup_languageA
Find the language codes Europass recognises for a language you can name.
Each match is a [code, label] pair, the likeliest first. The search covers
every language Europass knows; a few of them are not accepted as a mother
tongue, which validation will say.
Inputs: query (required). Returns: result
search_occupationA
Find the occupation codes for a job you can describe.
These are job titles as the ISCO-88 classification words them, so search for
the profession rather than the person's own job title. Each match is a
[code, label] pair, the likeliest first.
Inputs: query (required). Returns: result
set_personal_infoA
Record who the CV is about, replacing anything set before.
This is the one section a finished CV cannot leave out. Send it again with the full details whenever you learn more; it overwrites rather than merges.
Inputs: info (required), draft_id (required). Returns: result
validate_cvA
Check the draft against the Europass schema and report what is wrong.
Safe to call at any point: an unfinished CV is expected to have issues, and each one says where it is and, for a value drawn from a code list, what valid values are spelled most like the one refused.
Inputs: draft_id (required). Returns: The verdict on a draft, and everything wrong with it. `valid` is not merely `is…
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Every tool targets a clear and separate concern: document creation, a specific CV section, validation/export, or a single code-list lookup. Even the lookup tools are unambiguously separated by resource type, and the add_* tools are distinguished by the section they populate.
All tool names follow a predictable lower_snake_case verb_noun pattern: create_, set_, add_, validate_, export_, lookup_, and search_. The add_* family clearly maps to CV sections, and the lookup_* tools consistently represent code-list lookups.
Twelve tools is well-scoped for a CV-building server: one for document creation, four for content sections, one validator, two exporters, and three code-list lookups. There are no redundant or near-duplicate tools inflating the set.
The core Europass sections and the validation/export pipeline are covered, but the entry lifecycle is incomplete: added work, education, language, and digital skill entries cannot be edited or removed, and there is no clean tool for reading back the current CV state. This creates avoidable dead ends when an agent makes a mistake.
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Deterministic European sovereign engine with 90 tools across 20 vertical suites for AI agents: EU Tax/KYB, FatturaPA/Peppol, AI Act, GDPR, DORA, NIS2, Italian Tenders (D.Lgs 36/2023), CBAM, EUDR, and Labour Law. Zero-Data-Retention with verifiable SHA-256 PDF/A audit certificates.
PDF tools for AI agents: validate, extract, merge, split, compress, OCR, sign and redact.
Deterministic EU Compliance, Tax, Public Procurement & Labour Law Engine for AI Agents
Related MCP Servers
AlicenseAqualityBmaintenanceResume tailoring, cover letter generation, CV PDF export, and job search tools for AI agents. 18 tools powered by the Laddro Career API.1861 npmMIT- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create and manage e-invoices through natural language, supporting EU compliance formats like ZUGFeRD and XRechnung, as well as US plain PDF invoices.7-
- AlicenseNot gradedqualityCmaintenanceMCP server for CVX, enabling AI assistants to create, validate, and build professional CV PDFs from YAML content, with tools for schema retrieval, project initialization, validation, and rendering.223 npm2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, retrieve, update, delete, and export CVs as PDFs through MCP, sharing documents with the web editor.MIT