基于 Model Context Protocol Python SDK 构建。
<a href="https://glama.ai/mcp/servers/pk5j4bp5nv"><img width="380" height="200" src="https://gips0.baidu.com/it/u=2663350515,3288963306&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Ancestry MCP 服务器" /></a>
这是一个使用 Python 实现的 Model Context Protocol (MCP),用于与 .ged 文件(通常在 Ancestry.com 上看到的 GEDCOM 文件)进行交互的服务器。
.ged 文件.ged 文件.ged 文件中搜索特定的个人、家庭等信息注意: 该服务器仅允许在通过 args 指定的目录内执行操作。
gedcom://{file_name}: .ged 文件操作接口list_files
.ged 文件name (字符串)rename_file
.ged 文件file_name (字符串): 原文件名new_name (字符串)view_file
.ged 文件的全部内容name (字符串)要通过 Smithery 自动安装 Ancestry GEDCOM 服务器到 Claude Desktop:
npx -y @smithery/cli install mcp-server-ancestry --client claude
首先,安装包:
pip install mcp-server-ancestry
将以下内容添加到你的 claude_desktop_config.json 中:
{
"mcpServers": {
"ancestry": {
"command": "mcp-server-ancestry",
"args": ["--gedcom-path", "path/to/your/gedcom/files"]
}
}
}
本项目采用 MIT 许可证 - 详情见 LICENSE 文件。