genealogy-mcp-server

v0.3.0 pre-1.0

Search WikiTree family trees, Open Archives records and transcriptions, and US vital, veteran, and burial indexes via MCP. STDIO or Streamable HTTP.

genealogy.caseyjhand.com/mcp
claude mcp add --transport http genealogy-mcp-server https://genealogy.caseyjhand.com/mcp
codex mcp add genealogy-mcp-server --url https://genealogy.caseyjhand.com/mcp
{
  "mcpServers": {
    "genealogy-mcp-server": {
      "url": "https://genealogy.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http genealogy-mcp-server https://genealogy.caseyjhand.com/mcp
{
  "mcpServers": {
    "genealogy-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://genealogy.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "genealogy-mcp-server": {
      "type": "http",
      "url": "https://genealogy.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://genealogy.caseyjhand.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'

Tools

10

genealogy_find_person

open-world

Find candidate matches across WikiTree, Open Archives, and US indexes with at least one given name or surname. Returns up to ten matches per eligible source. Continue with genealogy_search_profiles for WikiTree or genealogy_search_records for one record index. Matches across sources can refer to different people.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_find_person",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "first_name": {
      "description": "Given name.",
      "type": "string"
    },
    "last_name": {
      "description": "Family name.",
      "type": "string"
    },
    "birth_year": {
      "description": "Approximate birth year. Birth indexes search within two years. Open Archives starts two years earlier. Marriage and divorce indexes start 12 years after the earliest plausible birth year (birth_year minus 2), or at a later verified coverage start.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "death_year": {
      "description": "Approximate death year. Death and burial indexes search within two years. Open Archives searches through two years later.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "place": {
      "description": "Birthplace on WikiTree, event place on supporting record sources.",
      "type": "string"
    },
    "country": {
      "description": "Two-letter country code for record coverage, such as US or NL.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    }
  },
  "additionalProperties": false
}
view source ↗

genealogy_search_profiles

open-world

Find visible WikiTree profiles by first_name or last_name. Dates, places, gender, preferred name, current surname, and parent names narrow the search. Use returned IDs with genealogy_get_profiles for biographies and citations, or genealogy_get_relatives for family links. Continue with next_offset when present.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_search_profiles",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "first_name": {
      "description": "Given name to match. Required when last_name is absent.",
      "type": "string",
      "minLength": 1
    },
    "last_name": {
      "description": "Surname to match. Required when first_name is absent.",
      "type": "string",
      "minLength": 1
    },
    "real_name": {
      "description": "Preferred given name to match.",
      "type": "string",
      "minLength": 1
    },
    "last_name_current": {
      "description": "Current surname to match.",
      "type": "string",
      "minLength": 1
    },
    "birth_date": {
      "description": "Birth year, year-month, or date to match.",
      "type": "string",
      "pattern": "^[1-9]\\d{3}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12]\\d|3[01]))?)?$"
    },
    "death_date": {
      "description": "Death year, year-month, or date to match.",
      "type": "string",
      "pattern": "^[1-9]\\d{3}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12]\\d|3[01]))?)?$"
    },
    "birth_location": {
      "description": "Birthplace to match.",
      "type": "string",
      "minLength": 1
    },
    "death_location": {
      "description": "Place of death to match.",
      "type": "string",
      "minLength": 1
    },
    "gender": {
      "description": "WikiTree gender filter.",
      "type": "string",
      "enum": [
        "Male",
        "Female"
      ]
    },
    "father_first_name": {
      "description": "Given name of the father.",
      "type": "string",
      "minLength": 1
    },
    "father_last_name": {
      "description": "Surname of the father.",
      "type": "string",
      "minLength": 1
    },
    "mother_first_name": {
      "description": "Given name of the mother.",
      "type": "string",
      "minLength": 1
    },
    "mother_last_name": {
      "description": "Surname of the mother.",
      "type": "string",
      "minLength": 1
    },
    "date_spread_years": {
      "description": "Year tolerance for birth or death matches.",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "date_include": {
      "description": "Require dates with both or include profiles with missing dates with neither.",
      "type": "string",
      "enum": [
        "both",
        "neither"
      ]
    },
    "century_typo": {
      "description": "Include possible century errors in date matches.",
      "type": "boolean"
    },
    "skip_variants": {
      "description": "Require an exact surname instead of matching surname variants.",
      "type": "boolean"
    },
    "last_name_match": {
      "description": "Which WikiTree surname fields to match. Defaults to all.",
      "type": "string",
      "enum": [
        "all",
        "current",
        "birth",
        "strict"
      ]
    },
    "sort": {
      "description": "Primary ordering of matched profiles.",
      "type": "string",
      "enum": [
        "first",
        "last",
        "birth",
        "death",
        "manager"
      ]
    },
    "secondary_sort": {
      "description": "Secondary ordering of matched profiles.",
      "type": "string",
      "enum": [
        "first",
        "last",
        "birth",
        "death",
        "manager"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Start at zero or use next_offset from the previous page.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 10,
      "description": "Maximum visible profiles on this page, capped at 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "offset",
    "limit"
  ],
  "additionalProperties": false,
  "description": "Provide first_name or last_name. Other filters narrow a name search."
}
view source ↗

genealogy_get_profiles

open-world

Read up to 100 WikiTree profiles in request order, with optional biographies or categories. Use genealogy_search_profiles to find profile IDs or locate an unresolved profile. Cite the linked WikiTree profile when using its contributor research.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_get_profiles",
    "arguments": {
      "ids": "<ids>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ids": {
      "minItems": 1,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "description": "WikiTree page name, numeric ID, or canonical profile link."
          },
          {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "WikiTree numeric person ID."
          }
        ],
        "description": "WikiTree profile identifier."
      },
      "description": "WikiTree numeric IDs, page names, or profile links from genealogy_search_profiles. The first 100 are processed in order."
    },
    "include": {
      "description": "Choose biography for wiki-markup text or categories for category titles. Categories cover the first ten distinct resolved profiles.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "biography",
          "categories"
        ]
      }
    }
  },
  "required": [
    "ids"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_get_relatives

open-world

Trace parents or children by generation, or read immediate parents, siblings, spouses, and children with recorded marriages. Continue with next_offset when present. Use genealogy_find_common_ancestors to compare two pedigrees.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_get_relatives",
    "arguments": {
      "id": "<id>",
      "direction": "<direction>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "anyOf": [
        {
          "type": "string",
          "description": "WikiTree page name, numeric ID, or canonical profile link."
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "WikiTree numeric person ID."
        }
      ],
      "description": "WikiTree numeric ID, page name, or profile link from genealogy_search_profiles."
    },
    "direction": {
      "type": "string",
      "enum": [
        "ancestors",
        "descendants",
        "family"
      ],
      "description": "Follow parents, children, or immediate family roles."
    },
    "generations": {
      "description": "Pedigree depth, default 3 and maximum 25 for ancestors or 10 for descendants. Omit for family.",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    },
    "offset": {
      "default": 0,
      "description": "Visible row offset. Use next_offset from the previous result.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "description": "Maximum visible relatives per page, capped at 1,000.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "direction",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_find_common_ancestors

open-world

Compare the visible ancestors of two WikiTree profiles within a generation limit. Returns shared ancestors and all ties for the shortest combined distance, including a starting profile when it is an ancestor of the other. Reports same_profile when both keys resolve to one profile. Use genealogy_get_relatives to inspect either profile’s pedigree and gaps.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_find_common_ancestors",
    "arguments": {
      "a": "<a>",
      "b": "<b>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "a": {
      "anyOf": [
        {
          "type": "string",
          "description": "WikiTree page name, numeric ID, or canonical profile link."
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "WikiTree numeric person ID."
        }
      ],
      "description": "First WikiTree numeric ID, page name, or profile link from genealogy_search_profiles."
    },
    "b": {
      "anyOf": [
        {
          "type": "string",
          "description": "WikiTree page name, numeric ID, or canonical profile link."
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "WikiTree numeric person ID."
        }
      ],
      "description": "Second WikiTree numeric ID, page name, or profile link from genealogy_search_profiles."
    },
    "generations": {
      "default": 10,
      "description": "Maximum generations of ancestors per profile.",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    }
  },
  "required": [
    "a",
    "b",
    "generations"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_search_records

open-world

Search one source for documentary records by person and event year. Use genealogy_list_reference with topic=sources to choose an archive or vital, veteran, or burial index and check its filters. Use next_offset to continue or pass an Open Archives record ID to genealogy_get_record.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_search_records",
    "arguments": {
      "source": "<source>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "enum": [
        "openarchieven",
        "va_gravesites",
        "ny_deaths",
        "nyc_deaths",
        "ct_deaths",
        "ct_marriages",
        "nyc_births",
        "nyc_marriages",
        "ct_divorces",
        "va_birls",
        "ny_deaths_pre1957",
        "nj_deaths",
        "mn_deaths",
        "hi_deaths",
        "ne_deaths",
        "vt_deaths",
        "oh_births",
        "mo_births",
        "sd_births",
        "hi_marriages",
        "mo_deaths"
      ],
      "description": "Record source from genealogy_list_reference."
    },
    "first_name": {
      "description": "Given name of a person in the record.",
      "type": "string"
    },
    "last_name": {
      "description": "Surname of a person in the record.",
      "type": "string"
    },
    "certificate_number": {
      "description": "NYC vital certificate number as printed in the index. Without a name, supply a place and the same year in both year fields.",
      "type": "string"
    },
    "soundex": {
      "description": "Published NYC vital index Soundex code, such as K400. Marriage parties can share a code even when their surnames differ. Use with a name or a scoped certificate lookup.",
      "type": "string"
    },
    "year_from": {
      "description": "Earliest event year, inclusive.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "year_to": {
      "description": "Latest event year, inclusive.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "place": {
      "description": "Source-specific place. For VA gravesites, use the cemetery city, or the full name or USPS code of its state, district, or territory. See the sources reference for other indexes.",
      "type": "string"
    },
    "query": {
      "description": "Open Archives name expression, in place of separate names.",
      "type": "string"
    },
    "archive_code": {
      "description": "Case-insensitive Open Archives holding archive code.",
      "type": "string"
    },
    "source_type": {
      "description": "Open Archives source type in Dutch or English.",
      "type": "string"
    },
    "relation_type": {
      "description": "Exact Dutch Open Archives role or a known English alias. Consult genealogy_list_reference with topic=relation_types for examples.",
      "type": "string"
    },
    "event_place": {
      "description": "Open Archives event place, an alternative to place.",
      "type": "string"
    },
    "birth_place": {
      "description": "Open Archives birthplace.",
      "type": "string"
    },
    "country": {
      "description": "Open Archives country code.",
      "type": "string"
    },
    "sort": {
      "description": "Open Archives order: signed 1–6 for name, role, event, date, place or source.",
      "type": "integer",
      "minimum": -6,
      "maximum": 6
    },
    "limit": {
      "default": 10,
      "description": "Requested results per page. See topic=limits in genealogy_list_reference for caps.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Start at zero or pass next_offset from the previous page.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "source",
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_get_record

open-world

Read an Open Archives record by its ID or canonical URL. Returns its source citation, scan links, people, events and relationships. Obtain an ID with genealogy_search_records.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_get_record",
    "arguments": {
      "record_id": "<record_id>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "record_id": {
      "type": "string",
      "minLength": 1,
      "description": "archive_code:identifier or an Open Archives HTTPS record URL, including a language suffix (/nl, /en, /de, or /fr). The archive code is case-insensitive."
    }
  },
  "required": [
    "record_id"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_search_transcriptions

open-world

Search the text of Open Archives pages by word, phrase, or wildcard. Filter by holding archive or inventory years and pass an ID to genealogy_get_transcription for the full page. Continue with next_offset when present.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_search_transcriptions",
    "arguments": {
      "query": "<query>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Full-text query. Double quotes match a phrase, * or ? match wildcards."
    },
    "archive_code": {
      "description": "Case-insensitive holding archive code.",
      "type": "string"
    },
    "archive_number": {
      "description": "Archive collection number, requires archive_code.",
      "type": "string"
    },
    "inventory_number": {
      "description": "Inventory number, requires both archive fields.",
      "type": "string"
    },
    "year_from": {
      "description": "Earliest year in the inventory span.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "year_to": {
      "description": "Latest year in the inventory span.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "limit": {
      "default": 10,
      "description": "Requested results per page. See topic=limits in genealogy_list_reference for caps.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Start at zero or pass next_offset from the previous page.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "query",
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_get_transcription

open-world

Read a transcribed Open Archives page in full, with the holding archive, inventory reference and scan link. Supply an ID from genealogy_search_transcriptions.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_get_transcription",
    "arguments": {
      "id": "<id>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Page ID or canonical URL from genealogy_search_transcriptions."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
view source ↗

genealogy_list_reference

open-world

Look up source coverage and availability, valid identifiers, date and privacy conventions, archive codes, filter vocabularies, query syntax or page limits.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "genealogy_list_reference",
    "arguments": {
      "topic": "<topic>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "enum": [
        "sources",
        "identifiers",
        "privacy_levels",
        "dates",
        "archives",
        "source_types",
        "relation_types",
        "search_syntax",
        "limits"
      ],
      "description": "Use sources for coverage, supported filters and availability, limits for pagination, or another topic for its accepted values and conventions."
    }
  },
  "required": [
    "topic"
  ],
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}