ancestry-mcp

The Ancestry MCP Server is a Python-based server designed to handle GEDCOM files. Built on the Model Context Protocol, it offers functionalities for reading, parsing, and searching within .ged files. It is particularly tailored for managing genealogical data, compatible with formats commonly used on platforms like Ancestry.com.

GitHub Stars

25

User Rating

Not Rated

Favorites

0

Views

23

Forks

5

Issues

0

README
Ancestry MCP Server

smithery badge
MIT licensed
Python Version
PyPI version

Built on top of the Model Context Protocol Python SDK

Ancestry MCP server

Overview

Python server implementing Model Context Protocol (MCP) for interactibility with .ged files (GEDCOM files, commonly seen on Ancestry.com)

Features
  • Read and parse .ged files
  • Rename .ged files
  • Search within .ged files for certain individuals, family, etc

Note: The server will only allow operations within the directory specified via args

Resources
  • gedcom://{file_name}: .ged operations interface
Tools
  • list_files

    • List a (or multiple) .ged file within the directory
    • Input: name (string)
  • rename_file

    • Renames a (or multiple) .ged file within the directory
    • Inputs:
      • file_name (string): Old file name
      • new_name (string)
  • view_file

    • Parses and reads full contents of a .ged file
    • Can also parse and read multiple files
    • Can get specific information out of file(s), such as date of birth, marriage, etc.
    • Input: name (string)
Usage with Claude Desktop
Installing via Smithery

To install Ancestry GEDCOM Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-server-ancestry --client claude
Installing Manually
  1. First, install the package:

pip install mcp-server-ancestry

  1. Add this to your claude_desktop_config.json
{
  "mcpServers": {
     "ancestry": {
       "command": "mcp-server-ancestry",
       "args": ["--gedcom-path", "path/to/your/gedcom/files"]
     }
  }
}
License

This project is licensed under the MIT License - see the LICENSE file for details.