此服务器已部署-使用了2024-11-26的快照 主控程序
祖先MCP服务器
](https://smithery.ai/server/mcp-server-ancestry)  ](https://www.python.org/downloads/) ](https://pypi.org/project/mcp-server-ancestry)
概述
Python服务器实现了模型上下文协议(MCP),以实现与 .ged 文件 *(GEDCOM文件,常见于Ancestry.com)*
特性
- 读取并解析.ged文件
- 重命名
.ged文件 - 在.ged文件中搜索某些个人、家庭等
注: 服务器只允许在通过指定的目录内进行操作 args
资源
gedcom://{file_name}:.ged操作界面
工具
- 列表文件
- 列出一个(或多个) .ged 目录中的文件 - 输入: name (字符串)
- 重命名文件
- 重命名a(或多个) .ged 目录中的文件 - 输入: - file_name (string):旧文件名 - new_name (字符串)
- 视图文件
- 解析并读取 .ged 文件 - 还可以解析和读取多个文件 - 可以从文件中获取具体信息,如出生日期、结婚日期等。 - 输入: name (字符串)
使用Claude Desktop
通过Smithery安装
通过以下方式自动安装克劳德桌面版Ancestry GEDCOM服务器 史密瑟里:
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许可证获得许可-有关详细信息,请参阅许可证文件。

