# Gramps MCP MCP Server

> Gramps MCP MCP Server is an open-source MCP server for knowledge and memory. Full Gramps Web API for genealogy: edit family trees, merge records, run DNA analysis. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Self-hosted, API
- **Repository:** https://github.com/oliverhruby/gramps-mcp
- **MCP Registry name:** io.github.oliverhruby/gramps-mcp
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
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.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

```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.

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_instances` (name 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
- `search` (name suggests: reads): Full-text and semantic search
- `merge_objects` (name suggests: changes): Merge objects
- `get_timeline` (name suggests: reads): Timeline for a person, family or tree
- `get_relation` (name suggests: reads): Relationship degree and paths
- `get_living` (name suggests: reads): Living status or probable dates
- `analyze_dna` (name suggests: reads): DNA matches, Y-DNA and segment parser
- `manage_import`: List importers, import files, restore backups
- `manage_export` (name 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_info` (name suggests: reads): Database, versions, locale, counts and capabilities

## 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.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Source Library](https://ai-powered.com/mcp/source-library): Source Library is an open-source MCP server for knowledge and memory.
- [keepplain-plugin](https://ai-powered.com/mcp/keepplain-plugin): keepplain-plugin is a freemium MCP server for knowledge and memory.
- [Second Brain](https://ai-powered.com/mcp/second-brain-2): Second Brain is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/gramps-mcp-mcp-server
