Skip to content
MCP server

Gramps MCP MCP Server

Full Gramps Web API for genealogy: edit family trees, merge records, run DNA analysis

Gramps MCP MCP Server is an open-source MCP server for knowledge and memory. It can run locally on your machine or as a hosted remote server.

Pricing
Open source
Platforms
Self-hosted, API
Runs
Locally or Remotely
What it can do
Can change data (1 tool)
Version
0.2.1

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http gramps-mcp https://ghcr.io/oliverhruby/gramps-mcp:latest

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "gramps-mcp": {
      "type": "http",
      "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://ghcr.io/oliverhruby/gramps-mcp:latest

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gramps-mcp": {
      "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "gramps-mcp": {
      "type": "http",
      "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://ghcr.io/oliverhruby/gramps-mcp:latest

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add gramps-mcp --url https://ghcr.io/oliverhruby/gramps-mcp:latest

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.gramps-mcp]
url = "https://ghcr.io/oliverhruby/gramps-mcp:latest"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://ghcr.io/oliverhruby/gramps-mcp:latest

Enter a Name (for example "Gramps MCP MCP Server"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gramps-mcp": {
      "type": "http",
      "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "httpUrl": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http gramps-mcp https://ghcr.io/oliverhruby/gramps-mcp:latest

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "serverUrl": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "type": "streamableHttp",
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "gramps-mcp": {
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "gramps-mcp": {
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "gramps-mcp": {
          "url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GRAMPS_MCP_USERNAMEYour Gramps MCP usernameRequired
  • GRAMPS_MCP_PASSWORDYour Gramps MCP passwordRequired
  • GRAMPS_MCP_INSTANCESComma-separated account/instance identifiers (optional)

About Gramps MCP MCP Server

Where many Gramps servers split the API into dozens of near-identical tools, this one groups it into 27. Each object type, such as person, family, event, place, source, citation, note, media, repository and tag, has one manage tool that takes an action (get, list, create, update or delete).

On top of CRUD it offers genealogy-specific tools: search by full text or semantics, merging records, timelines for a person, family or tree, relationship degree and paths, living status with probable dates, and DNA analysis covering matches, Y-DNA and a segment parser. The media tool also handles uploads, thumbnails, OCR and face detection, and import and export cover GEDCOM and Gramps XML with privacy filters and dry runs.

It connects to one or more Gramps Web instances with token or JWT login, and has a read-only mode. The README warns that write tools change real tree data and should be used carefully. It is published on PyPI as gramps-mcp-full and as a streamable HTTP container on GHCR.

Tools this server provides (27)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 27 tools changes data; 18 names don't say.

From the server's own tool labels and tool names; not verified by us.

ping
Health check
get_instancesName suggests: reads
List configured Gramps Web base URLs
manage_person
CRUD for people
manage_family
CRUD for families
manage_event
CRUD for events
manage_place
CRUD for places
manage_source
CRUD for sources
manage_citation
CRUD for citations
manage_note
CRUD for notes
manage_media
CRUD for media, plus upload, download, thumbnails, OCR and face detection
manage_repository
CRUD for repositories
manage_tag
CRUD for tags
searchName suggests: reads
Full-text and semantic search
merge_objectsName suggests: changes
Merge objects
get_timelineName suggests: reads
Timeline for a person, family or tree
get_relationName suggests: reads
Relationship degree and paths
get_livingName suggests: reads
Living status or probable dates
analyze_dnaName suggests: reads
DNA matches, Y-DNA and segment parser
manage_import
List importers, import files, restore backups
manage_exportName suggests: reads
Export GEDCOM, Gramps XML or CSV
manage_report
List, generate and download reports
manage_transaction
Apply or undo raw transactions, history
manage_user
Manage users
manage_tree
Manage trees
manage_bookmark
Manage bookmarks
manage_type
Manage type vocabularies
get_server_infoName suggests: reads
Database, versions, locale, counts and capabilities

What it does

One tool per object type
Each manage tool takes get, list, create, update or delete actions for its record type.
Genealogy compute
Merge records, build timelines, work out relationship paths and estimate living status.
DNA analysis
Looks at matches, Y-DNA and parses segment data.
Media pipeline
Handles binary upload, downloads, thumbnails, OCR and face detection.
Import and export
Moves GEDCOM, Gramps XML and CSV with dry runs and privacy filters.
Administration
Manages users, trees, bookmarks and type vocabularies, and reports server info.
Multiple instances
Connects to one or more Gramps Web base URLs, with a read-only mode.

Good for

  • Search a family tree for a person and review their timeline
  • Merge duplicate records after a data cleanup
  • Export a GEDCOM file with privacy filters for sharing
  • Analyse DNA match data against people in the tree

Pricing

Open source

Free; requires your own Gramps Web instance

Gramps MCP MCP Server FAQ

What do I need to run Gramps MCP MCP Server?

A reachable Gramps Web instance with a user account that has the permissions you need, and an MCP-capable client.

Is there a read-only mode?

Yes, the README lists read-only mode as a feature.

Can Gramps MCP MCP Server change my family tree?

Yes. The manage tools, merge, import and transactions modify real data, so the README advises using them carefully.

How is Gramps MCP MCP Server installed?

It is on PyPI as gramps-mcp-full for stdio, and also offered as a streamable HTTP container image.

Is Gramps MCP MCP Server free?

Yes. Gramps MCP MCP Server is open source, so you can use and self-host it for free.

How do I add Gramps MCP MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http gramps-mcp https://ghcr.io/oliverhruby/gramps-mcp:latest

What are the best alternatives to Gramps MCP MCP Server?

The closest alternatives to Gramps MCP MCP Server are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers