GEDCOM MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GEDCOM MCP Servershow me the home person's biography"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GEDCOM MCP Server
A FastMCP server that enables AI assistants to query genealogy data from GEDCOM files.
Features
24 MCP Tools for comprehensive genealogy research:
Core Tools:
get_home_person- Get the tree owner's recordget_statistics- Tree stats (counts, date ranges, top surnames)get_individual- Get basic details by IDget_biography- Get comprehensive narrative package for one personget_family- Get family info (spouses, children, marriage)
Navigation Tools:
get_parents- Get parents of an individualget_children- Get all children from all marriagesget_spouses- Get all spouses with marriage detailsget_siblings- Get siblings (same parents)get_ancestors- Ancestor tree up to N generationsget_descendants- Descendant tree up to N generationstraverse- Generic graph traversal for custom navigation
Search & Discovery:
search_individuals- Search by name (partial match)semantic_search- Vector-based semantic search (e.g., "farmers in Scotland")search_nearby- GIS proximity search or bounding box search
Relationship Analysis:
get_relationship- Calculate relationships between two peopledetect_pedigree_collapse- Find ancestors appearing multiple timesfind_associates- FAN Club technique (Friends, Associates, Neighbors)
Timeline & Events:
get_timeline- Chronological life events for an individualget_military_service- Find all veterans in the tree
Place & Surname Analysis:
get_place_cluster- Get all people connected to a locationget_surname_origins- Analyze surname distribution and geographic origins
Natural Language:
query- Natural language questions (fallback for non-agent MCP clients)
4 MCP Resources:
gedcom://individual/{id}- Individual record by IDgedcom://family/{id}- Family record by IDgedcom://stats- Tree statisticsgedcom://surnames- All surnames with counts
Optimized for large files - Parses GEDCOM once at startup, builds in-memory indexes for fast search
Optional Features
Semantic Search Enable natural language semantic matching (e.g., "coal miners in Pennsylvania", "emigrated from Ireland"):
export SEMANTIC_SEARCH_ENABLED=trueRequires sentence-transformers (included in dependencies). First run builds embeddings (~15-30 seconds for large files), subsequent runs load from cache.
GIS Proximity Search Find people within X miles of a location or within a region's bounding box. Enabled by default with background geocoding. Results include:
Proximity mode: Within X miles of a point
Within mode: Inside a region's bounding box
No configuration needed - geocoding runs automatically at startup and caches results.
Telemetry & Observability OpenTelemetry tracing with Arize Phoenix for debugging and performance monitoring:
export PHOENIX_ENABLED=trueRequires Phoenix server running (see .env.example and docker-compose.yml).
Related MCP server: GEDCOM MCP Server
Installation
Using uvx (recommended, no install needed)
uvx gedcom-server --gedcom-file /path/to/your/tree.gedUsing uv tool install
uv tool install gedcom-server
gedcom-server --gedcom-file /path/to/your/tree.gedFrom source
git clone git@github.com:sjmatta/gedcom-mcp.git
cd gedcom-mcp
uv syncConfiguration
The server requires a GEDCOM file path. Optionally, you can specify a "home person" (the tree owner).
Configuration Options
Method | Option | Description |
CLI arg |
| Path to GEDCOM file |
Env var |
| Path to GEDCOM file |
CLI arg |
| GEDCOM ID of home person (e.g., |
Env var |
| GEDCOM ID of home person |
CLI arguments override environment variables.
If --home-person is not specified, the server auto-detects the most connected individual in the tree.
Examples
# Using CLI arguments
gedcom-server --gedcom-file ~/Documents/family.ged
# Using environment variables
export GEDCOM_FILE=~/Documents/family.ged
gedcom-server
# With explicit home person
gedcom-server -f ~/Documents/family.ged -p @I500@Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Using uvx (recommended)
{
"mcpServers": {
"gedcom": {
"command": "uvx",
"args": ["gedcom-server"],
"env": {
"GEDCOM_FILE": "/path/to/your/tree.ged"
}
}
}
}Using uv tool install
{
"mcpServers": {
"gedcom": {
"command": "gedcom-server",
"args": ["--gedcom-file", "/path/to/your/tree.ged"]
}
}
}From source
{
"mcpServers": {
"gedcom": {
"command": "/path/to/gedcom-mcp/.venv/bin/python",
"args": ["-m", "gedcom_server"],
"env": {
"GEDCOM_FILE": "/path/to/your/tree.ged"
}
}
}
}GEDCOM File
The server supports GEDCOM 5.5.1 format, which can be exported from:
Ancestry.com
FamilySearch
MyHeritage
Gramps
Most other genealogy software
Development
# Install dev dependencies
uv sync
# Run tests
uv run poe test
# Run linter
uv run poe lint
# Run formatter
uv run poe format
# Run type checker
uv run poe typecheck
# Run all checks
uv run poe check
# Start server (requires GEDCOM_FILE env var)
uv run poe serveFor detailed development instructions, see CONTRIBUTING.md.
Pre-commit Hooks
Pre-commit hooks are configured for:
Pre-commit: ruff linting, ruff formatting, mypy type checking
Pre-push: pytest test suite
Install hooks:
uv run pre-commit install --install-hooksLicense
MIT License - see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sjmatta/gedcom-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server