Enables automatic extraction of genealogical information from Wikipedia pages to populate GEDCOM files with biographical data, dates, places, and family relationships
GEDCOM MCP Server
Genealogy for AI Agents, by AI Agents
A robust MCP server for creating, editing and querying genealogical data from GEDCOM files. Works great with qwen-cli and gemini-cli
This project provides a comprehensive set of tools for AI agents to work with family history data, enabling complex genealogical research, data analysis, and automated documentation generation.
The server has been recently improved with fixes for critical bugs, enhanced error handling, and better code quality while maintaining full backward compatibility.
Some sample complex prompts:
or
or
Features
- Data Management: Load and parse GEDCOM files, add/edit people, families, events, and places
- Powerful Querying: Search across people, families, events, and places with flexible criteria
- Relationship Analysis: Find relationships between individuals, common ancestors, and family connections
- Family Trees: Generate multi-generational ancestor and descendant trees with detailed information
- Timeline Generation: Create chronological timelines of life events
- Data Analysis: Analyze genealogical data with comprehensive statistics, duplicate detection, and surname analysis
- Historical Context: Extract date ranges and historical period information
- Metadata Handling: Rich support for notes, sources, and detailed event information
- Data Validation: Validate date consistency and data integrity
- Batch Operations: Efficient bulk processing capabilities
Installation
- Clone the repository:
- Install the required dependencies:
Usage
To start the server with the default HTTP transport:
To start the server with stdio transport:
To specify a different host or port for the HTTP transport:
Running Tests
To run all tests:
To run tests with verbose output:
To run a specific test file:
To run a specific test:
Project Structure
src/gedcom_mcp/
: Main source codefastmcp_server.py
: Main server application and tool definitionsgedcom_context.py
: GEDCOM parsing context and caching managementgedcom_data_access.py
: Data retrieval and extraction functionsgedcom_data_management.py
: Data modification and management functionsgedcom_analysis.py
: Statistical analysis and reporting functionsgedcom_search.py
: Relationship finding and path analysisgedcom_utils.py
: Utility functions for data processinggedcom_constants.py
: GEDCOM event and attribute definitionsgedcom_date_utils.py
: Advanced date parsing and validationgedcom_name_utils.py
: Name parsing and normalizationgedcom_place_utils.py
: Place name normalization and geographic hierarchygedcom_models.py
: Data models and structures
tests/
: Comprehensive unit and integration testsrequirements.txt
: Project dependenciespyproject.toml
: Build configurationprompts/
: Template files for LLM prompt generation
Recent Improvements
This project has undergone significant improvements including:
- Fixed critical bugs in note processing and attribute handling
- Resolved syntax errors and improved code quality
- Enhanced error handling with better error messages
- Removed debug statements from production code
- Improved documentation consistency
- Maintained full backward compatibility
- All 99 automated tests continue to pass
Contributing
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them with descriptive messages
- Push your changes to your fork
- Create a pull request to the main repository
License
This project is licensed under the MIT License.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI agents to create, edit, and query genealogical data from GEDCOM files. Supports complex genealogy searches, automatic data enrichment from web sources, relationship analysis, and biography generation for individuals and families.
Related MCP Servers
- -securityAlicense-qualityAllows the AI to read .ged files and genetic data.Last updated -25MIT License
- AsecurityFlicenseAqualityLeverages large language models to analyze users' WeGene genetic testing reports, providing access to report data via custom URI schemes and enabling profile and report management through OAuth authentication and API utilization.Last updated -43
- -securityAlicense-qualityEnables AI assistants to query and analyze medical imaging metadata from DICOM servers, including patient information, studies, series, and instances, as well as extract text from encapsulated PDF documents.Last updated -63MIT License
- AsecurityFlicenseAqualityEnables AI assistants to query genetic variant data, gene constraints, and population genetics information from the gnomAD (Genome Aggregation Database) through its GraphQL API. Supports searching for genes and variants, retrieving constraint scores, analyzing population frequencies, and accessing genomic coverage data.Last updated -911