This MCP server enables AI tools like Claude or Cursor to interact directly with FamilySearch's family history data, allowing you to search and explore genealogical information through these AI interfaces.
npm install
npm run build
Before using this tool, you need to register for FamilySearch API access:
https://localhost:8080/oauth-redirect
Start the MCP server with:
npm start
The first time you use the MCP, configure it with your FamilySearch API credentials:
Configure FamilySearch API credentials with clientId: YOUR_CLIENT_ID_HERE
Then authenticate with your FamilySearch credentials:
Authenticate with FamilySearch using username: your_username and password: your_password
Your credentials will be stored securely in ~/.familysearch-mcp/config.json
for future use.
Search for a person:
Search for persons with name: "John Smith" birthPlace: "New York"
Get details about a specific person:
Get person with personId: ABCD-123
View ancestors:
Get ancestors for personId: ABCD-123 with generations: 4
Search historical records:
Search records with surname: "Johnson" birthPlace: "England" deathDate: "1880-01-01"
Your FamilySearch credentials are stored locally in ~/.familysearch-mcp/config.json
. Never share this file with others.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "familysearch-mcp" '{"command":"npx","args":["familysearch-mcp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"familysearch-mcp": {
"command": "npx",
"args": [
"familysearch-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"familysearch-mcp": {
"command": "npx",
"args": [
"familysearch-mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect