Matricula Church Books

v0.1.0
io.github.ianderso/matricula-mcp Checked 4 days ago Published 1 month ago

Find parishes and registers on Matricula, the church-book portal; open any page in its viewer.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

matricula_sections

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.

ParameterTypeDescription
countrystringOne country: its key ('oesterreich', 'LU'), German name or English name. Empty lists every country.
refreshbooleanTrue asks Matricula again instead of using the cache, and replaces the cached copy. Lists are kept 28 days, parish and register pages 7, searches 1.

matricula_parishes

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.

ParameterTypeDescription
section *stringA section key from matricula_sections, e.g. 'deutschland/passau', or its Matricula address.
countintegerMost parishes to return (1-1000).
querystringKeep parishes whose name contains this, ignoring case, accents and hyphens, e.g. 'kirchberg'.
refreshbooleanTrue asks Matricula again instead of using the cache, and replaces the cached copy. Lists are kept 28 days, parish and register pages 7, searches 1.

matricula_registers

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.

ParameterTypeDescription
parish *stringA parish key, e.g. 'oesterreich/salzburg/krimml', or its Matricula address.
kindstringKeep registers of this kind (indexes included).
refreshbooleanTrue asks Matricula again instead of using the cache, and replaces the cached copy. Lists are kept 28 days, parish and register pages 7, searches 1.

matricula_register

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.

ParameterTypeDescription
register *stringA register key from matricula_registers, e.g. 'oesterreich/salzburg/krimml/TFBI', or its Matricula address.
countintegerPages to list (1-1000).
firstintegerFirst page to list, 1-based.
label_containsstringKeep pages whose label contains this, e.g. 'Index' or '0041'.
refreshbooleanTrue asks Matricula again instead of using the cache, and replaces the cached copy. Lists are kept 28 days, parish and register pages 7, searches 1.

matricula_page_image

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.

ParameterTypeDescription
register *stringA register key, e.g. 'oesterreich/salzburg/krimml/TFBI', or a page's viewer address (?pg=N).
destinationstringAbsolute path of a new .jpg file, e.g. '/path/to/images/krimml-12.jpg'. Used only when image access is on.
pageThe page's position, 1-based, as matricula_register gives.

cache_status

Report this session's requests, the pacing, cache use, and whether images are on. Makes no network call.