Skip to main content
Glama
PeWu

WikiTree MCP server

by PeWu

call_api

Directly access WikiTree's genealogical data API to retrieve family relationships, biographies, and ancestor information through customizable API calls.

Instructions

Call any WikiTree API endpoint directly

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWikiTree API action (e.g., 'searchPerson')
paramsNoParameters for the action

Implementation Reference

  • The handler for the 'call_api' tool, which uses 'wikitree.wikiTreeGet' to execute the request.
    case "call_api": {
      const { action, params } = args as any;
      const result = await wikitree.wikiTreeGet({ action, ...params }, options);
      return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
    }
  • The schema definition for the 'call_api' tool, specifying 'action' and 'params' as inputs.
    {
      name: "call_api",
      description: "Call any WikiTree API endpoint directly",
      inputSchema: {
        type: "object",
        properties: {
          action: { type: "string", description: "WikiTree API action (e.g., 'searchPerson')" },
          params: { type: "object", description: "Parameters for the action", additionalProperties: true },
        },
        required: ["action"],
      },
    },

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