Skip to main content
Glama
EuropassMCP

EuropassMCP

by Tsadoq

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 | bash

That 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.sh

By hand

The commands in this section name europassmcp on 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 europassmcp

Nothing 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 libfontconfig1

On macOS, with Homebrew:

brew install pango

Homebrew 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]' europassmcp

Until 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' europassmcp

Either 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

create_cv

Starts a new empty draft under a name of the agent's choosing.

set_personal_info

Records who the CV is about. The one section a valid CV cannot omit.

add_work_experience

Appends one job, in the order it should be printed.

add_education

Appends one qualification or training period.

add_language_skill

Appends one language with its CEFR levels, mother tongues included.

add_digital_skill

Appends one digital or computer skill.

lookup_country

Finds Europass country codes from a country name in any of the languages the schema documents.

lookup_language

Finds Europass language codes the same way.

search_occupation

Finds ISCO-88 occupation codes from a job description.

validate_cv

Reports everything the schema objects to, with the nearest valid values for a refused code.

export_xml

Returns the finished CV as Europass XML. Refuses a draft that would not validate.

export_pdf

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 in LICENSE.

  • 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 install

uv 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 tools
add_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

    A4.2/5.0

    Scored across 12 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP 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 npm
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to create, retrieve, update, delete, and export CVs as PDFs through MCP, sharing documents with the web editor.
      MIT