FamilySearch MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FamilySearch MCP Serversearch for my great-grandfather born in Ireland"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FamilySearch MCP Server
A local Model Context Protocol (MCP) server for FamilySearch. Gives AI assistants access to search the Family Tree, view person details, explore ancestors and descendants, and search historical records.
Features
Family Tree search — find individuals by name, dates, places, and gender
Person details — view a person card by ID
Pedigree exploration — ancestors (up to 8 generations) and descendants (up to 3)
Historical records — search record collections
Browser session auth — log in once with Brave; no FamilySearch API key required
Related MCP server: Gramps MCP
How it works
FamilySearch does not approve direct API access for most personal projects. This server reuses your browser session cookies and calls the same internal /service/ endpoints the website uses. Your session is stored locally at ~/.familysearch-mcp/config.json.
Prerequisites
Node.js 18+ and npm
Brave browser — Playwright's bundled Chromium is blocked by FamilySearch bot detection
A free FamilySearch account
Installation
1. Clone and build
git clone https://github.com/JonathanReiss15/familysearch-mcp.git
cd familysearch-mcp
npm install
npm run build2. Log in to FamilySearch
npm run loginThis opens Brave with a dedicated profile. Sign in when prompted. Your session is saved to ~/.familysearch-mcp/config.json.
Tip: You can also ask your AI assistant to run the
login-with-browsertool after the MCP is connected.
3. Configure your MCP client
Add the server to your client using stdio transport. Replace /path/to/familysearch-mcp with the absolute path to this repo.
Recommended config (uses cwd so you don't need absolute paths in args):
{
"mcpServers": {
"familysearch": {
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/familysearch-mcp"
}
}
}Run npm run build whenever you pull changes.
MCP client setup
Cursor
Project-scoped — create .cursor/mcp.json in your project (or add globally in Cursor Settings → MCP):
{
"mcpServers": {
"familysearch": {
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/familysearch-mcp"
}
}
}Restart Cursor or reload MCP servers after saving.
Claude Desktop
Edit claude_desktop_config.json:
Platform | Config path |
macOS |
|
Windows |
|
{
"mcpServers": {
"familysearch": {
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/familysearch-mcp"
}
}
}Restart Claude Desktop after saving.
Claude Code
From the repo directory:
claude mcp add familysearch -- node build/index.jsOr with an absolute path from anywhere:
claude mcp add familysearch -- node /path/to/familysearch-mcp/build/index.jsVerify with claude mcp list.
Codex
From the repo directory (after npm run build):
codex mcp add familysearch -- node build/index.jsOr add to ~/.codex/config.toml:
[mcp_servers.familysearch]
command = "node"
args = ["build/index.js"]
cwd = "/path/to/familysearch-mcp"Use /mcp in Codex to confirm the server is connected.
This repo also includes .codex/config.toml for project-scoped config when the directory is trusted.
VS Code
Add to your user MCP config (Command Palette → MCP: Open User Configuration) or .vscode/mcp.json in a workspace:
{
"servers": {
"familysearch": {
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/familysearch-mcp"
}
}
}Windows
If node is not found, use the full path to your Node executable. For clients that struggle with direct node invocation, wrap with cmd:
{
"mcpServers": {
"familysearch": {
"command": "cmd",
"args": ["/c", "node", "build/index.js"],
"cwd": "C:\\path\\to\\familysearch-mcp"
}
}
}Authentication
Option 1: Browser login (recommended)
npm run loginOpens Brave (not headless Chromium) to avoid FamilySearch bot detection.
Option 2: Copy cookies manually
Log in at familysearch.org
In DevTools → Console, run:
copy(document.cookie)Use the
set-session-cookieMCP tool with the copied string
The full cookie string is required — bot protection cookies like reese84 and incap_ses_* must be included, not just fssessionid.
Tools
Tool | Description |
| Open Brave, log in, and save session locally |
| Authenticate by pasting cookies from your browser |
| View your authenticated account info |
| Search individuals in the Family Tree |
| Get details for a person by ID |
| View ancestors (default 4 generations, max 8) |
| View descendants (default 2 generations, max 3) |
| Search historical record collections |
Example prompts
Search for persons named "John Smith" born in "New York"Get person with personId G2KQ-JTHGet 4 generations of ancestors for personId G2KQ-JTHSearch historical records for surname "Reiss" in "Pennsylvania"Troubleshooting
Problem | Fix |
"Not authenticated" errors | Run |
Session expired / 401 errors | Re-run |
"Request blocked by FamilySearch security (error 15)" | Re-run |
Brave not found | Install Brave or set |
MCP tools not appearing | Confirm |
| Use the full path to your Node binary in the MCP config |
Security
Session cookies are stored locally in
~/.familysearch-mcp/config.jsonThey grant the same access as your browser session — never share this file
Sessions expire after inactivity; re-authenticate when tools return auth errors
This server runs locally over stdio; no data is sent to third parties
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JonathanReiss15/familysearch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server