MCP server for the Gramps Web genealogy platform

MCP server for the Gramps Web genealogy platform

gramps-web-mcp•byscormave

A companion Model Context Protocol server that lets AI agents read and edit a family tree in an existing Gramps Web instance.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Exposes up to 35 MCP tools to read, create, update, merge, and delete people, families, events, places, sources, citations, notes, media, repositories, and tags.
  • •Provides full-text search, filtered listings, ancestry, kinship and timeline tools, plus duplicate detection.
  • •Supports careful edits with linkMode, single-transaction record creation, and undo of one transaction with confirmation for destructive actions.
  • •Ships 8 MCP resources and guided prompts, a read-only mode, and media previews/uploads with EXIF and GPS stripped.

BEST FOR

  • •Researching family history through an AI agent, such as describing a person, finding ancestors, or explaining how two people are related.
  • •Transcribing genealogical scans and entering register entries or new people into the tree as structured records.
  • •Auditing edit history and reverting a single transaction when changes need to be undone.

ABOUT GRAMPS-WEB-MCP

MCP server for the Gramps Web genealogy platform is cataloged as an MCP server attributed to scormave. A companion Model Context Protocol server that lets AI agents read and edit a family tree in an existing Gramps Web instance. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for the Gramps Web genealogy platform are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does it replace the Gramps Web interface?

No, it is not a genealogy UI; it runs alongside an existing Gramps Web instance where users, trees, media and permissions stay.

Can agents make changes to the tree?

Yes by default, but a read-only mode publishes only read tools and blocks writes, and it is enabled by default in the Claude Desktop extension.

Upstream README

View this exact version on GitHub

README.md · fe9cf064e211 · Fetched 2026-11-13 10:05:23 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

gramps-web-mcp

License: AGPL v3 .NET 10 MCP server version CI Docker on GHCR Gramps Web MCP MCP server – quality and maintenance score on Glama Sponsor on GitHub

[!WARNING] Update to 2.3.1 or later. Before 2.3.1 the update_* tools could drop stored data that the call did not mention (#5). If you edited a tree with an earlier version, check it for dropped data.

Companion MCP server for the Gramps Web open-source genealogy platform. It lets AI agents read and edit your family tree through the Model Context Protocol. It is not a genealogy UI: run it alongside an existing Gramps Web instance, where your users, trees, media and permissions stay.

Install in VS Code Install in VS Code Insiders Add to Cursor

The buttons add the server to VS Code or Cursor, which start it from the Docker image, so Docker must be installed. For Claude Desktop, install the MCPB extension; other clients are listed under Install.

Features

  • Up to 35 MCP tools — read, create, update, merge, and delete people, families, events, places, sources, citations, notes, media, repositories, and tags
  • Search and kinship — full-text search, listings filtered by Gramps QL or Gramps filter rules, ancestors, descendants, relationships, and timelines
  • Careful edits — add or remove one link with linkMode and keep the rest; save a whole register entry in one transaction with create_records; dates in every Gramps form and calendar
  • Duplicates — find_duplicates pairs people entered twice, across spellings and name forms, and the create tools refuse a person the tree already has
  • Undo and confirmation — undo_change reverts one transaction of the edit history; it, delete_object and merge_objects ask the user, not the model, before they change the tree, in clients that support MCP elicitation
  • Scans and photos — opt-in previews that vision-capable agents can read, with EXIF/GPS metadata stripped, and uploads from a folder you choose
  • 8 MCP resources and guided prompts — type vocabularies, tree metadata, filter rules, and workflows for research, imports, citing facts, and tree audits
  • Read-only mode — publish only read tools and block direct mutation calls
  • Any MCP client — stdio, Streamable HTTP, and legacy SSE, from a Claude Desktop extension, a Docker image, or a single-file release binary

The tool catalog describes every tool, resource and prompt. Upgrading from 1.x? Follow the 2.0 migration guide.

What to ask

Ask in your own words; the agent chooses the tools. The names stand for people in your tree, and a Gramps ID such as I0012 works as well.

You askYou get
"Tell me about Maria García."Her names, events with dates and places, parents, spouses and children, citations and notes
"Who were Kenji Tanaka's great-grandparents?"Each ancestor with a kinship label such as Father's mother, and birth and death dates and places
"How is Ivan Petrov related to Maria García?"The relationship in words, such as second cousin once removed, and the common ancestors by name
"Transcribe the baptism scan O0012."The scan for the agent to read, and the transcription in its reply
"Add Thomas Weber, born 3 May 1881 in Hamburg, son of Karl and Anna Weber."The new records with their Gramps IDs, people already in the tree reused, and what the text left open
"Enter entry 12 of the 1884 marriage register: the couple, their fathers and the witnesses."The citation, the marriage, the new people and families saved in one transaction, which one undo_change takes back
"What changed today? Undo the last edit."The edit history, then the earlier versions back, or a refusal naming the later edits the undo would overwrite

Reading scans needs media access. The tool catalog lists more requests and the tools each one uses.

Install

You need a running Gramps Web instance and an account on it. Choose the setup by client:

ClientSetup
Claude DesktopThe MCPB extension, installed from one file; no Docker
VS Code, CursorThe install buttons above; the client starts the Docker image
Claude Code, Codex, Gemini CLI, Antigravity CLI, Open WebUI and othersConnecting MCP clients: over HTTP to a shared server, or started by the client from the Docker image or the release binary
Several clients or machinesOne server in Docker, Docker Compose or on Unraid, reached over HTTP

Claude Desktop

  1. Download the .mcpb bundle for your platform from the latest release, such as gramps-web-mcp-claude-desktop-osx-arm64-v*.mcpb for Apple Silicon.
  2. Double-click it, or drag it into the Claude Desktop window.
  3. Enter your Gramps Web URL, username, password/token, and tree UUID.
  4. Leave Read-only mode enabled for your first session; disable it only when you want Claude to create or edit records.
  5. Complete installation and start a new chat.

Claude Desktop connects to servers added by URL from Anthropic's cloud, not from your computer, so it cannot reach a server on your home network; use the extension there. Installation lists the bundle for each platform.

Docker

For one server that several clients share:

docker run -p 8080:8080 \
  -e GRAMPS_API_URL=https://your-gramps.example.com \
  -e GRAMPS_USERNAME=your-user \
  -e GRAMPS_PASSWORD=your-password \
  -e GRAMPS_TREE_ID=your-tree-uuid \
  -e MCP_API_KEY=your-secret-api-key \
  ghcr.io/scormave/gramps-web-mcp:latest

Clients then connect to http://<host>:8080/mcp with the API key, as shown in Over HTTP. Add -e GRAMPS_READ_ONLY=true for read-only mode. Installation covers refresh tokens, health checks, image verification, Docker Compose with Gramps Web, Unraid and upgrades.

Configuration

Every setting is an environment variable. The main ones:

VariableDescriptionDefault
GRAMPS_API_URLBase URL of your Gramps Web instance (no trailing slash)—
GRAMPS_USERNAME, GRAMPS_PASSWORDThe Gramps Web account the server works as—
GRAMPS_REFRESH_TOKENUsed instead of the user name and password when Gramps Web has password login turned off—
GRAMPS_TREE_IDTree UUID on that server—
GRAMPS_READ_ONLYtrue publishes only read tools and blocks writesfalse (the Claude Desktop extension: true)
GRAMPS_MEDIA_RESOURCES_ENABLEDLets agents read scans and photos, and enables uploadsfalse
GRAMPS_MEDIA_UPLOAD_DIRSFolders that create_media may upload fromunset (off)
MCP_TRANSPORTstdio, http (Streamable HTTP) or ssestdio (the Docker image: http)
MCP_API_KEYKey that HTTP clients must send; set it whenever other machines can reach the port—

Configuration describes every setting, including write pacing for SQLite, confirmation dialogs, media limits, transports, browser origins and logging.

Documentation

DocumentDescription
InstallationClaude Desktop, Docker, Docker Compose, Unraid, health checks, and upgrades
Connecting MCP clientsClaude Code, VS Code, Cursor, Codex, Gemini and Antigravity CLI, and Open WebUI, over HTTP or stdio
ConfigurationEvery environment variable
Tool catalogEvery tool, resource and prompt, and more example requests
System promptSuggested prompt for MCP clients
Migrating to 2.0Tool replacements and setup changes for 1.x users
Claude Desktop MCPBDesktop extension packaging
ArchitectureSystem design overview
Developer guideRunning from source, tests, and adding tools
docs indexAll documentation files

Contributing

Contributions are welcome. ./run-local-server.sh runs the server from source against the public demo.grampsweb.org tree at http://127.0.0.1:8080/mcp, and dotnet test runs the tests. See CONTRIBUTING.md and the developer guide.

Sponsors

gramps-web-mcp is free and open source. If it helps your research, you can support its development through GitHub Sponsors, monthly or once. Sponsors whose tier includes a mention are listed here.

Security

To report a vulnerability, see SECURITY.md.

Privacy Policy

The Claude Desktop extension is a local MCP server. It sends data only to the Gramps Web instance you configure and does not collect analytics or conversation data. See PRIVACY.md for full details.

License

Copyright (c) Scormave

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later). Because this is network server software, hosting a modified version requires making the corresponding source available to users interacting with it over a network.

Bundled third-party components, such as ImageSharp, the MCP C# SDK, and the .NET runtime, keep their own Apache 2.0 or MIT licenses; see THIRD-PARTY-NOTICES.txt. The MCP Bundles and the Docker image ship that file next to LICENSE.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for the Gramps Web genealogy platform from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/gramps-web-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage