Skip to main content

Gramps Web MCP

io.github.Scormave/gramps-web-mcp

v2.11.4Updated Nov 23, 2026stdio · Docker

MCP server for structured access to Gramps Web genealogy data

Install

Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add gramps-web-mcp -e 'GRAMPS_API_URL=<your-gramps-api-url>' -e 'GRAMPS_TREE_ID=<your-gramps-tree-id>' -e GRAMPS_READ_ONLY=false -e GRAMPS_MUTATION_SERIALIZE=true -e GRAMPS_MUTATION_MIN_INTERVAL_MS=0 -e GRAMPS_CONFIRMATION=when-supported -e GRAMPS_REQUIRE_USER_INTERACTION=true -e GRAMPS_LOG_LEVEL=Information -e GRAMPS_MEDIA_RESOURCES_ENABLED=false -e GRAMPS_MEDIA_MAX_BYTES=5242880 -e GRAMPS_MEDIA_ALLOW_PRIVATE=false -e GRAMPS_MEDIA_UPLOAD_MAX_BYTES=52428800 -- docker run -i --rm -e GRAMPS_API_URL -e GRAMPS_TREE_ID -e GRAMPS_READ_ONLY -e GRAMPS_MUTATION_SERIALIZE -e GRAMPS_MUTATION_MIN_INTERVAL_MS -e GRAMPS_CONFIRMATION -e GRAMPS_REQUIRE_USER_INTERACTION -e GRAMPS_LOG_LEVEL -e GRAMPS_MEDIA_RESOURCES_ENABLED -e GRAMPS_MEDIA_MAX_BYTES -e GRAMPS_MEDIA_ALLOW_PRIVATE -e GRAMPS_MEDIA_UPLOAD_MAX_BYTES ghcr.io/scormave/gramps-web-mcp:2.11.4

Configuration

18 settings.

  • GRAMPS_API_URL
    Env var· required
    Base URL of your Gramps Web instance
  • GRAMPS_TREE_ID
    Env var· required
    Gramps Web tree UUID
  • GRAMPS_PASSWORD
    Env var· optional· secret
    Gramps Web API password; required with GRAMPS_USERNAME unless GRAMPS_REFRESH_TOKEN is set
  • GRAMPS_REFRESH_TOKEN
    Env var· optional· secret
    Refresh token for instances with password login disabled; replaces GRAMPS_USERNAME and GRAMPS_PASSWORD
  • MCP_TRANSPORT
    Env var· optional
    Pinned to stdio for registry-installed containers that the client spawns itself. The image's own default is http (Streamable HTTP on port 8080) for networked Docker deployments; see the README for that setup.
  • GRAMPS_USERNAME
    Env var· optional
    Gramps Web API username; required with GRAMPS_PASSWORD unless GRAMPS_REFRESH_TOKEN is set
Show 12 more
  • GRAMPS_READ_ONLY
    Env var· optional
    Set to true to block create, update, and delete toolsDefault: false
  • GRAMPS_MUTATION_SERIALIZE
    Env var· optional
    Serialize create/update/delete HTTP calls in-process (set false to allow parallel writes)Default: true
  • GRAMPS_MUTATION_MIN_INTERVAL_MS
    Env var· optional
    Minimum milliseconds between mutation HTTP calls. Use 250 or 500 on SQLite if you see database is lockedDefault: 0
  • GRAMPS_CONFIRMATION
    Env var· optional
    Whether delete_object, merge_objects and undo_change ask the user to confirm through MCP elicitation: when-supported, required (refuse in clients that cannot ask), or offDefault: when-supported
  • GRAMPS_REQUIRE_USER_INTERACTION
    Env var· optional
    Set to false to publish delete_object, merge_objects and undo_change without the anthropic/requiresUserInteraction tool metadata, so the client's own permission settings decide whether to askDefault: true
  • GRAMPS_LOG_LEVEL
    Env var· optional
    Server log level: Trace, Debug, Information, Warning, Error, Critical, or None. Debug and Trace also log request and response bodies, which contain genealogy dataDefault: Information
  • GRAMPS_MEDIA_RESOURCES_ENABLED
    Env var· optional
    Set to true to expose read_media and the media resources for thumbnails and full files, and to allow uploads from GRAMPS_MEDIA_UPLOAD_DIRS and GRAMPS_MEDIA_UPLOAD_HOSTSDefault: false
  • GRAMPS_MEDIA_MAX_BYTES
    Env var· optional
    Maximum bytes returned by read_media or a media resourceDefault: 5242880
  • GRAMPS_MEDIA_ALLOW_PRIVATE
    Env var· optional
    Set to true to return bytes for media records marked privateDefault: false
  • GRAMPS_MEDIA_UPLOAD_DIRS
    Env var· optional
    Absolute folders, separated by : (; on Windows), that create_media and update_media may upload photos, scans and PDFs from while GRAMPS_MEDIA_RESOURCES_ENABLED is true. With this and GRAMPS_MEDIA_UPLOAD_HOSTS unset, uploading is off and create_media is hidden
  • GRAMPS_MEDIA_UPLOAD_HOSTS
    Env var· optional
    Host names, separated by commas, that files attached in the chat (ChatGPT file parameters) may be downloaded from over HTTPS by create_media and update_media while GRAMPS_MEDIA_RESOURCES_ENABLED is true; each also allows its subdomains, and the first label may hold one * matched within that label (ChatGPT: oaiusercontent.com,oaisdmntpr*.blob.core.windows.net). Unset turns uploading attached files off
  • GRAMPS_MEDIA_UPLOAD_MAX_BYTES
    Env var· optional
    Largest file create_media or update_media uploadsDefault: 52428800

Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.