Skip to main content
Glama
PeWu

WikiTree MCP server

by PeWu

get_person

Retrieve detailed genealogical records from WikiTree by providing a person's ID to access biographies and family relationship data.

Instructions

Retrieve a single person record from WikiTree

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesWikiTree ID (e.g., 'Smith-1')
bioFormatNoFormat of the biography
fieldsNoFields to retrieve
resolveRedirectNoWhether to resolve redirects

Implementation Reference

  • The handler implementation for the "get_person" tool, which parses the request arguments and calls the wikitree library's getPerson method.
    case "get_person": {
      const { key, bioFormat, fields, resolveRedirect } = args as any;
      const person = await wikitree.getPerson(key, { bioFormat, fields, resolveRedirect }, options);
      return { content: [{ type: "text", text: JSON.stringify(person, null, 2) }] };
    }
  • The tool registration schema for "get_person", defining the expected input parameters.
    {
      name: "get_person",
      description: "Retrieve a single person record from WikiTree",
      inputSchema: {
        type: "object",
        properties: {
          key: { type: "string", description: "WikiTree ID (e.g., 'Smith-1')" },
          bioFormat: { type: "string", enum: ["wiki", "html", "both"], description: "Format of the biography" },
          fields: { type: "array", items: { type: "string" }, description: "Fields to retrieve" },
          resolveRedirect: { type: "boolean", description: "Whether to resolve redirects" },
        },
        required: ["key"],
      },
    },

Latest Blog Posts

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/PeWu/wikitree-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server