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.

Values you need

VariableWhat it is
MATRICULA_CACHE_DIRoptional Directory for the on-disk response cache. Default: ~/.cache/matricula-mcp
MATRICULA_TIMEOUToptional HTTP timeout in seconds for one request. Image downloads get 120 s to read. Default: 30
MATRICULA_MIN_INTERVALoptional Least seconds between two requests to Matricula. Never below 2. Default: 2
MATRICULA_SEARCH_INTERVALoptional Least seconds between two place searches. Never below 10. Default: 10
MATRICULA_CONTACToptional An email address or URL appended to the User-Agent, so ICARUS can reach whoever runs the server.
MATRICULA_DOWNLOAD_DIRoptional An existing folder. When set, matricula_page_image saves only inside it; needed to save under ~/Library, such as an iCloud Drive folder.
MATRICULA_IMAGE_ACCESSoptional Leave unset: page images are not fetched. Set to 'granted' only once ICARUS has granted this client access to its image host; needs MATRICULA_CONTACT.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add matricula-mcp -- uvx matricula-mcp==0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "matricula-mcp": {
      "args": [
        "matricula-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "matricula-mcp": {
      "args": [
        "matricula-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "matricula-mcp": {
      "args": [
        "matricula-mcp==0.1.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.matricula-mcp]
command = "uvx"
args = ["matricula-mcp==0.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: matricula_sections, matricula_parishes, matricula_registers, matricula_register, matricula_search, matricula_page_image, cache_status.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json