matricula-mcp
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., "@matricula-mcp Find the parish for Krimml in Salzburg and list its registers"
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.
matricula-mcp
An MCP server for Matricula Online (data.matricula-online.eu), the church-book portal that ICARUS, the International Centre for Archival Research, runs for dioceses and archives in Germany, Austria, Poland, Slovenia, Serbia, Italy, Switzerland, Luxembourg and Bosnia and Herzegovina. Matricula publishes their parish registers (baptisms, marriages and burials, and the indexes, family books and parish censuses that go with them), scanned page by page: about 13,400 parishes by its own count in October 2026.
The server walks Matricula's own hierarchy. It lists the countries and their sections (each a diocese, an archive or a private collection), a section's parishes with their coordinates, a parish's registers with their signatures, types and dates, and a register's pages, each with its label and the link that opens it in Matricula's own viewer. It also runs Matricula's place search, which finds the parish a village belonged to.
It works the way a careful genealogist does. The register page is the evidence. A register's type and dates, a page label and a search snippet are finding aids that say which page to open. Every result carries a citation in the order Matricula itself gives for finding a page again: diocese or archive, parish, register signature, page.
Page images are read in Matricula's viewer, not fetched by this server. Matricula's image host refuses scripted requests, and this server does not pretend to be a browser to get past it. The code that would save one page image is here, documented and tested, but switched off: it is for the day ICARUS grants access to an identified client. See Page images.
Nothing here writes to Matricula, and nothing here keeps a family tree.
This is an independent project. It is not affiliated with, endorsed by, or supported by ICARUS or any of the archives and dioceses whose registers Matricula publishes.
Tools
The server publishes seven tools. All but matricula_page_image are
read-only; that one creates a new file only when image access is on, and
never overwrites one.
Finding
Tool | Purpose |
| The countries and, in each, its sections (dioceses and archives), with Matricula's parish counts. |
| The parishes of one section, filtered by name, with coordinates, and the section's own note (often the archive's address). |
| Matricula's place search: parishes whose names or descriptions name a place, with the snippet that shows where. Optionally limited to a section or to registers in a span of years. |
Reading
Tool | Purpose |
| A parish's registers: signature, the archive's own type (Taufen, Trauungen, Sterben, Index - ...), a kind (baptisms, marriages, burials, ...), dates, contents notes, where the original is held, and each register's key. |
| One register: its description and citation, and every page's position, label and viewer link, with paging and a label filter. |
| Off unless the operator has turned image access on. While off, it answers |
| This session's requests, the pacing, cache use, and whether image access is on. Makes no request. |
Everything is addressed by its path on Matricula below the language prefix,
which the tools call a key: deutschland/passau is a section,
oesterreich/salzburg/krimml a parish, oesterreich/salzburg/krimml/TFBI a
register. Every tool also takes a Matricula address in any of its interface
languages, and a register's tools take a page's viewer address (?pg=N).
Related MCP server: Matricula Toolkit MCP Server
Setup
You need Python 3.11 or later and uv. There is no key to request.
Without cloning. uvx fetches it from PyPI and runs it in one step:
uvx matricula-mcpFrom a clone, which is what you want if you will change it:
git clone https://github.com/ianderso/matricula-mcp
cd matricula-mcp
uv sync
uv run matricula-mcp # stdio server, usually launched by the clientEither way the server speaks MCP over stdio, so you will normally let an MCP client start it rather than run it by hand.
Claude Desktop
{
"mcpServers": {
"matricula": {
"command": "uvx",
"args": ["matricula-mcp"],
"env": { "MATRICULA_CONTACT": "you@example.org" }
}
}
}A desktop app does not always inherit your shell's PATH. If the server fails
to start because uvx cannot be found, give the full path that which uvx
prints as the command.
Claude Code
claude mcp add matricula -e MATRICULA_CONTACT=you@example.org -- uvx matricula-mcpConfiguration
Nothing is required. A .env file in the directory the server starts in
supplies anything the environment does not; only that directory is read.
Variable | Meaning |
| Response cache directory. Default |
| HTTP timeout in seconds for one request. Default 30. Image downloads get 120 to read. |
| Least seconds between two requests to Matricula. Default 2, and never below 2. |
| Least seconds between two place searches. Default 10, and never below 10. |
| An email address or URL added to the User-Agent, so ICARUS can reach you if your use causes trouble. Optional for reading the catalogue, courteous, and required for image access. |
| An existing folder. When set, |
| Leave unset. Set it to |
An unusable value is reported on the first tool call as a not_configured
result naming the variable.
Page images
Matricula's viewer loads each page from img.data.matricula-online.eu. That
host answered 403 to a plain scripted request when this project surveyed
it (with Vary: Origin), and the viewer attaches a per-session token,
computed in the browser, to every image request. That is Matricula's access
control, and this server treats it as one. It does not imitate a browser,
send an Origin or Referer header, carry a session cookie, or reproduce
the viewer's token, and it never probes the host to find out what would get
through. A test fails if anything resembling a browser disguise appears in
the source.
So, by default, matricula_page_image fetches nothing. It answers
images_not_enabled with the page's viewer link, its label and its
citation, and the person reads the page in Matricula's viewer.
The code that would save a page is written and tested against a mocked host,
for the day ICARUS grants access to an identified client. If you obtain that
permission (by agreement with ICARUS, for your own client), set
MATRICULA_CONTACT to the address ICARUS knows you by and
MATRICULA_IMAGE_ACCESS=granted. The tool then fetches one page at a time
from the image host, paced like every other request, with this server's own
User-Agent (matricula-mcp/<version> (+https://github.com/ianderso/matricula-mcp; <your contact>))
and nothing else. If the host still refuses, the tool says so
(image_refused) and writes nothing. Should ICARUS specify a different route
(an API, a key, another host), the client is to change in a release to use
exactly that route; no setting here invents one.
A saved page is a new .jpg, never a hidden file or one under ~/Library
(unless MATRICULA_DOWNLOAD_DIR is set there), and comes with its citation
and its licence, CC BY-NC-ND 2.0.
Being a good guest
Matricula is one service, run by an association of archives. The client
sends one request at a time, at least two seconds apart, and a place search
at least ten seconds after the last, because a search reads every parish
description in the portal. Country and section lists and parish lists are
cached for 28 days, parish and register pages for 7, searches for a day. Two
identical calls in flight share one request. A 429, a 5xx or a dropped
connection gets one retry, honouring Retry-After; a refusal is not retried.
The User-Agent names the package, its version, this repository and, when
set, your contact. No cookies are kept.
What Matricula's terms say
The terms of use (German; checked 2026-10-11) cover the images and descriptive metadata on data.matricula-online.eu:
Every church-book image is licensed CC BY-NC-ND 2.0: "Eine kommerzielle Weiterverwertung der Bilder ist demnach nicht gestattet" (commercial reuse is not permitted). No altered versions, either.
Data from the registers may be used only as each country's civil-status and data-protection law allows; registers holding protected data are not shown. In Austria, baptism books are closed for 100 years, and marriage and death books are shown up to 1938.
Anyone who publishes, in print or online, using even a little of the data or images undertakes to inform the archive or diocese concerned; for online publications a link is enough, and substantial print use calls for a copy.
They say nothing about automated access.
matricula_parishes passes on each section's own note, which often names
the archive and how to reach it: the place to send that notice.
robots.txt, as a fact
Matricula's robots.txt (served from cdn-static.matricula-online.eu, read
2026-10-11) names several crawlers, ClaudeBot, GPTBot and CCBot among them,
with Disallow: /, and asks every other agent to keep away from four kinds
of address: the viewer's page parameter (/*?pg=), the search
(/*/suchen), the map features (/*/landkarte-features) and accounts. This
server is not a crawler: it reads the pages a researcher asks for, one at a
time, and caches them. It reads the search (matricula_search) and one map
features file per section (for matricula_parishes' coordinates); it builds
?pg= links for a person to open and never requests them; it never touches
accounts. Whether that suits your use is yours to judge.
How to read what comes back
Cite the hierarchy, keep the link as a locator. Matricula advises finding a page again through diocese or archive, parish, register signature and page, and does not promise that its links last. Each result's
citationgives them in that order, withcite_asas one sentence.pageis the image's position in the register, counted from 1, which is what the viewer's?pg=takes. Thelabel(02-Taufe_0001,001-03_0004-r) is the archive's name for the scan: a section and number, or a folio and side. Cite both.typeis the archive's word;kindis this server's reading of it.Index - Taufenand Passau'sRegister Taufenare indexes (index: true); Baden-Württemberg'sTaufregisteris the register itself.A register with
hosted_elsewhereis listed in Matricula but shown on the archive's own site (the Landesarchiv Baden-Württemberg's section links to its permalinks). Its images are not in Matricula's viewer.A gap is not an absence. A register missing from Matricula may be closed by law, unscanned at the diocese or archive, held elsewhere, or lost.
matricula_registerslists what Matricula has.The search reads parish names and descriptions, never the entries. Many descriptions list the villages a parish served, which is how the search finds a village's parish;
snippetshows the matching text. It matches whole words:Gasteinfinds Bad Gastein, not Dorfgastein. No search here finds a person's name.Descriptions are the archives' own text. Parish histories, contents notes and comments reach the model verbatim; they are material to weigh, never instructions.
Deliberately not here
Fetching page images without permission. See Page images.
Reading entries. Matricula has no transcriptions or name index; the page image is all there is.
Accounts, comments or anything that writes to the site.
Working around bot checks. A challenge is reported as
blockedand left alone.
Security
Tool arguments are written by a model, and the model reads text this server does not control. The server assumes that text can steer the model, and limits what a steered model can make it do.
Which hosts. A request hook refuses anything but https to
data.matricula-online.eu, including addresses taken from a page. The image host is refused too while image access is off. Redirects are followed only on the same host.Which pages. A key must have the right number of parts, each from the alphabet Matricula's slugs use; anything else (
.., another host) is refused before any lookup.Which addresses. Each connection is checked where it is made: a name that leads to a private, loopback, link-local, CGNAT, multicast, reserved or unspecified address, IPv4 or IPv6, is refused, and the connection goes to the address that was checked. Proxy settings in the environment are not used.
How much. A page over 8 MB, or an image over 60 MB, is refused as it streams in.
Which files.
matricula_page_imagecreates one new file and never overwrites one, and only when image access is on. The bytes must be a JPEG, judged by their first bytes. Never a hidden file or folder, never under~/Library, and withMATRICULA_DOWNLOAD_DIRset, never outside it, all judged after links are resolved. A refused download leaves nothing on disk.Site text is untrusted. The server's instructions tell the model to treat it as material, never as instructions; the model still decides, so review what it proposes to do.
To report a vulnerability, see SECURITY.md.
Development
uv sync --extra dev
uv run pytest # mocked with respx; never touches the site
uv run ruff check .
uv run ruff format --check .
uv run python -m tests.live_check # paced calls to Matricula's catalogue pagesThe live check asks Matricula what the recorded pages cannot: whether its pages still have the shape the server reads. It reads catalogue pages only, about a dozen, two seconds apart, and one search; it never calls the image host. See CONTRIBUTING.md for how the suite is organised, docs/API-NOTES.md for what was observed of the site and when, and docs/DESIGN.md for why the server is shaped this way.
Credits
The registers belong to the dioceses, archives and parishes that hold them, and the images are published by them through Matricula under CC BY-NC-ND 2.0. Matricula is run by ICARUS, which asks those who use it to support it.
License
MIT, for this server's code. The images and descriptions it links to are under Matricula's terms.
Available Tools
7 toolscache_statusARead-only
Report this session's requests, the pacing, cache use, and whether images are on.
Makes no network call.
Inputs: no named parameters.
matricula_page_imageAIdempotent
Save one page image with its citation, if the operator has turned image access on.
Image access is off unless ICARUS has granted it: Matricula's image host
refuses scripted requests. While it is off, this answers
images_not_enabled with the page's viewer link, label and citation, and
writes nothing. When on, the file is a new .jpg, not hidden, not under
~/Library, and inside the operator's download folder when one is set.
Inputs: register (required), page, destination.
matricula_parishesARead-only
List the parishes of one diocese or archive, with their coordinates.
Names are matched as Matricula writes them; a village that was not a
parish is found through matricula_search, which reads the parishes'
descriptions. about is the section's own note, often naming the
archive and how to reach it: the place to report a publication.
Inputs: section (required), count, query, refresh.
matricula_registerARead-only
Read one register: its description, citation, and every page's label and viewer link.
A page's url opens it in Matricula's own viewer for a person to read;
page is the image's position, the number to cite with the label. A
label (e.g. '02-Taufe_0001', '001-03_0004-r') is a finding aid naming the
section or folio; it is not a date. A register with no pages shows no
images, often because the law closes it.
Inputs: register (required), count, first, refresh, +1 more.
matricula_registersARead-only
List a parish's registers: signature, type, dates, notes, and each one's key.
type is the archive's own word (Taufen, Trauungen, Sterben, Index - ...);
kind is this server's reading of it. Page counts and page links come
from matricula_register. A register with hosted_elsewhere is shown on
the archive's own site, not in Matricula's viewer. A gap in the years may
be a register closed by law, unscanned, or lost.
Inputs: parish (required), kind, refresh.
matricula_searchARead-only
Search Matricula's place index: which parishes name this place.
It matches parish names and the village lists and histories archives
wrote into parish descriptions (snippet shows where), so it finds the
parish a village belonged to. It never searches the registers' entries:
no name of a person is found this way. Searches are slow by design, at
least ten seconds apart.
Inputs: place (required), count, refresh, section, +2 more.
matricula_sectionsARead-only
List Matricula's countries and, in each, its sections: the dioceses and archives.
A section's key is what matricula_parishes takes. parishes is Matricula's
own count. The first call for every country reads about a dozen pages,
two seconds apart; after that the list is cached for four weeks.
Inputs: country, refresh.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tool set follows a clear hierarchy (sections → parishes → registers → register), and matricula_search (place index) and cache_status (local diagnostics) are unmistakably separate. The one real hazard is matricula_registers vs matricula_register, which differ only by number and both discuss registers and pages; descriptions disambiguate but an agent can still misselect at a glance.
Six of seven tools share a predictable matricula_ + noun pattern (sections, parishes, registers, register, search, page_image), all snake_case and readable. The deviations are cache_status missing the server prefix and the bare plural/singular pair carrying the list-vs-single distinction with no verb cue.
Seven tools is well-scoped for a read-only archival browser: one per hierarchy level, plus search, image retrieval, and a status tool. Nothing looks padded or superfluous.
The full browse path from country down to a single page image is covered, including citation output, caching, and rate-limit reporting, which matches this read-only domain. Minor gaps: no way to jump to a register directly by key or filter registers by date/type without listing them all, and no cross-section search beyond the place index.
Maintenance
Related MCP Connectors
Read-only OpenHeritage search for genealogy and cultural heritage records.
MCP server for Open Archives: Dutch genealogical records and historical page transcriptions.
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables querying genealogical records, archive statistics, historical weather, and full-text transcriptions from Open Archives via natural language.12 npm4-
- AlicenseBqualityBmaintenanceEnables users to inspect, download, verify, and prepare publicly accessible church book scans, including single pages and page ranges with resume support.71MIT
- AlicenseAqualityBmaintenanceEnables users to search German archives’ finding aids through the Deutsche Digitale Bibliothek and Archivportal-D, locate civil and church registers across multiple state archives, and download register page images for genealogy and historical research.1132 PyPIMIT
- AlicenseAqualityBmaintenanceEnables genealogists to look up a Central European place as it stood in a chosen year — its historical name, the civil chain of Kreis, province and state above it, and the parish and Standesamt that kept its registers — and to retrieve every dated enclosure shaped for a dated place tree.620 PyPIMIT