Back to Browse

Familysearch MCP Server

Developer ToolsLow Risk9.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

Genealogical research on FamilySearch: historical places, indexed records, page images, the tree.

About

Genealogical research on FamilySearch: historical places, indexed records, page images, the tree.

Security Report

9.8
Low Risk9.8Low Risk

Valid MCP server (2 strong, 1 medium validity signals). 1 known CVE in dependencies Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (3/3 approved).

3 files analyzed · 2 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Access token from your own registered FamilySearch application. The place gazetteer and collection catalogue work without one.Required

Environment variable: FS_ACCESS_TOKEN

Env file to read settings from and to re-read a refreshed token from mid-session. Defaults to the nearest .env from the working directory upward.Optional

Environment variable: FS_ENV_FILE

Your registered application's client id, reported by auth_status.Optional

Environment variable: FS_CLIENT_ID

production, or integration for the FamilySearch sandbox.Optional

Environment variable: FS_ENVIRONMENT

HTTP timeout in seconds.Optional

Environment variable: FS_TIMEOUT

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-ianderso-familysearch-mcp": {
      "env": {
        "FS_TIMEOUT": "your-fs-timeout-here",
        "FS_ENV_FILE": "your-fs-env-file-here",
        "FS_CLIENT_ID": "your-fs-client-id-here",
        "FS_ENVIRONMENT": "your-fs-environment-here",
        "FS_ACCESS_TOKEN": "your-fs-access-token-here"
      },
      "args": [
        "familysearch-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

familysearch-mcp

CI PyPI

An MCP server for genealogical research on FamilySearch: a historical place gazetteer, indexed record search, the page images behind the records, and reads of the shared family tree.

Nothing here writes to FamilySearch. The shared tree is community-edited and conflations of same-named people are common, so a tree result is a hint: follow it to the underlying record and cite that.

This is an independent project. It is not made, endorsed or supported by FamilySearch.

Credentials

This package ships no client id and never handles a FamilySearch password. Records, images and the tree need an access token from your own registered FamilySearch application; docs/AUTH.md explains why, and how to get one.

The gazetteer, the collection catalogue and the film browser answer without a token, so they work on a fresh install with no setup at all.

Install

uvx familysearch-mcp

That runs the server over stdio, which is how an MCP client starts it. You normally put it in the client's configuration rather than running it yourself.

Claude Desktop

{
  "mcpServers": {
    "familysearch": {
      "command": "uvx",
      "args": ["familysearch-mcp"],
      "env": { "FS_ENV_FILE": "/path/to/familysearch.env" }
    }
  }
}

Point at an env file rather than pasting the token into env. A token that lives in the client's config can only be replaced by editing it and restarting; a token in the file is picked up mid-session. With no token at all, leave env out and the anonymous tools still work.

Claude Code

claude mcp add familysearch -e FS_ENV_FILE=/path/to/familysearch.env -- uvx familysearch-mcp

Configuration

VariableMeaning
FS_ACCESS_TOKENBearer token from your application's OAuth flow.
FS_ENV_FILEThe env file to read these settings from, and to re-read a refreshed token from. Default: the nearest .env from the working directory upward.
FS_CLIENT_IDYour registered application's client id, reported by auth_status.
FS_ENVIRONMENTproduction (default) or integration for the FamilySearch sandbox.
FS_TIMEOUTHTTP timeout in seconds. Default 60.

.env.example lists them with comments.

Tools

Twenty-five tools. All of them read; download_image also writes the page it fetches to a local file.

Places

FamilySearch's Places API answers anonymously.

ToolNeeds a tokenPurpose
search_placesnoResolve a place name to its full jurisdictional form and coordinates.
search_places_at_datenoResolve a place as it was in a given year. A record naming a county that no longer exists is normal; filing it under the modern one is an invisible error.
get_placenoRead one place: jurisdictional chain, type, coordinates, and the dates that jurisdiction existed.
get_place_jurisdictionsnoWalk the containment chain upward — what turns "Kaskaskia" into "Kaskaskia, Randolph, Illinois, United States".
get_place_childrennoThe places directly inside a jurisdiction — the downward walk.

Records and collections

ToolNeeds a tokenPurpose
search_recordsyesSearch historical records by name, life events, parents, spouse, record type or collection. Every criterion filters. Returns one hit per record, with the others named on it.
get_recordyesRead one indexed record in full: every person on it and the labelled fields behind each.
get_record_imageyesFind the document image a record came from, or the film number when no image was published.
get_records_on_imageyesEvery record indexed from one image. A census page carries forty people.
search_collectionsnoFind a record collection by title, with its coverage.
get_collectionnoRead one collection: what it covers and how much of it there is.
get_collection_fieldsnoDecode a collection's indexed field codes (PR_FTHR_NAME → "Father's Name").
browse_waypointsnoBrowse a collection's volumes and films, to reach pages the index never covered.

Page images

ToolNeeds a tokenPurpose
get_image_linksfor the pageResolve an image ark to fetchable URLs: full page, deep zoom, thumbnails, neighbouring pages. Without a token only the navigation comes back.
get_film_imagefor the pageReach a page by film and image number when a citation gives those instead of an ark. Checking the page exists needs no token.
download_imageyesDownload a page image to a new local file so it can be read.

Shared tree — a lead, never a source

Every tool here reads a community-edited profile, and says so in its own description.

ToolNeeds a tokenPurpose
get_personyesRead a shared-tree person: names, sex, facts.
get_person_relativesyesParents, spouses, children and siblings in one call.
get_person_sourcesyesWhat the tree attaches as sources, and which facts each supports. The fastest route out of the tree.
get_ancestryyesPedigree walk back, up to 8 generations, numbered by Ahnentafel.
get_descendancyyesPedigree walk forward, up to 4 generations.
get_person_memoriesyesAttached photographs, documents and stories.
get_person_changesyesThe change log: who edited this profile, when, and why.
get_matchesyesFamilySearch's own duplicate and record-match candidates.

Setup

ToolNeeds a tokenPurpose
auth_statusnoReport what is configured, what is missing, and whether FamilySearch still accepts the token.

How it behaves

  • The tree is not evidence. The tree tools read profiles anyone can edit. Use them to find records. get_person_sources is the most useful of them because it leads out of the tree towards a document.
  • A persona is not the record. A search returns one person's summary of what a record said; get_record returns the indexed fields behind it, and get_record_image the document itself. Read down that chain before citing.
  • Jurisdictions move. search_places_at_date resolves a place as it was in a given year. Filing an 1820 record under the county that covers the ground today is a common and hard-to-spot error.
  • Record search uses the website's search service. The API's own record search answers from a partial index that is almost all immigration records. search_records asks the service the FamilySearch website uses instead, with your token and a browser User-Agent, which that service requires. It is undocumented and FamilySearch can change or close it; docs/API-NOTES.md has the comparison.
  • Search criteria filter. FamilySearch treats a search term as a ranking hint unless told otherwise, so adding a death year to a name search only reorders it. This server asks for every criterion to match; loose=True goes back to ranking.
  • Tokens expire, and a refreshed one is picked up. A token lasts about an hour. On a 401 the server re-reads FS_ACCESS_TOKEN from the env file and retries once, so refreshing the file is enough. auth_status reports token_accepted: false when it is not.
  • Throttling is retried once. A 429 asking for a wait of up to 15 seconds is waited out and retried. A longer wait, or a second 429, comes back as rate_limited with the server's Retry-After.
  • Unknown parameters are refused. A misspelt or invented argument is an error that lists the parameters the tool does take. It is not silently dropped, which would make a filtered search quietly return unfiltered results.
  • download_image is careful with what it is given. It fetches only HTTPS URLs on FamilySearch hosts, because the request carries your token. It creates only image and PDF files, and never overwrites one.
  • Some routes are not publicly documented. FamilySearch's Historical Records API is behind a login wall, so those routes and response shapes were confirmed by live probing instead. A comment beside the code says when, and docs/API-NOTES.md records what was found. tests/live_check.py asks again.

Development

git clone https://github.com/ianderso/familysearch-mcp
cd familysearch-mcp
uv sync --extra dev
uv run pytest                  # mocked with respx; no token, no network
uv run ruff check .
uv run ruff format --check .

uv run python -m tests.live_check re-asks FamilySearch the questions only the live API can answer, with the token from your env file. See CONTRIBUTING.md for what a change is expected to carry.

License

MIT.

Reviews

No reviews yet

Be the first to review this server!