Awesome
Ancestry MCP Server
Built on top of the Model Context Protocol Python SDK
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)
- List a (or multiple)
-
rename_file
- Renames a (or multiple)
.ged
file within the directory - Inputs:
file_name
(string): Old file namenew_name
(string)
- Renames a (or multiple)
-
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)
- Parses and reads full contents of a
Usage with Claude Desktop
-
First, install the package:
pip install mcp-server-ancestry
-
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.