FamilySearch MCP Server
This is a Model Context Protocol (MCP) server for FamilySearch APIs. It allows AI tools like Claude or Cursor to interact with FamilySearch's family history data directly.
Features
- Authentication with FamilySearch credentials
- Search for person records in FamilySearch Family Tree
- View detailed person information
- Explore ancestors and descendants
- Search historical records
Prerequisites
- Node.js 16+ and npm
- A FamilySearch developer account and API credentials
- A FamilySearch user account with access to Family Tree data
Installation
- Clone this repository
- Install dependencies:
- Build the project:
FamilySearch API Setup
Before using this tool, you'll need to register for FamilySearch API access:
- Go to FamilySearch Developers
- Sign in with your FamilySearch account
- Create a new application
- Set the redirect URI to
https://localhost:8080/oauth-redirect
(you can change this later) - Copy your Client ID - you'll need it for configuration
Usage
Run the server:
Then, in your AI tool that supports MCP (like Claude or Cursor), you can use the FamilySearch tools to interact with family history data.
Configuration
The first time you use the MCP, you'll need to configure it with your FamilySearch API credentials:
Then authenticate with your FamilySearch username and password:
Once authenticated, your credentials will be stored securely in ~/.familysearch-mcp/config.json
for future use.
Available MCP Tools
Basic
say-hello
: A simple greeting functionconfigure
: Set up your FamilySearch API credentialsauthenticate
: Log in to FamilySearchget-current-user
: View details about your FamilySearch account
Family Tree
search-persons
: Search for individuals in FamilySearch Family Treeget-person
: View detailed information about a specific personget-ancestors
: View a person's ancestors (up to 8 generations)get-descendants
: View a person's descendants (up to 3 generations)
Historical Records
search-records
: Search FamilySearch's historical record collections
Example Queries
Security Notice
Your FamilySearch credentials are stored locally on your machine in ~/.familysearch-mcp/config.json
. Never share this file with others.
License
ISC
This server cannot be installed
A Model Context Protocol server that enables AI tools like Claude or Cursor to directly interact with FamilySearch's family history data, including searching person records, viewing detailed information, and exploring ancestors and descendants.