Skip to main content
Glama
WikiTree MCP server

WikiTree MCP server

by PeWu

WikiTree MCP server

This project provides an MCP server that integrates with the WikiTree API and exposes it as a set of tools.

Disclaimer: This code (and readme) was fully vibe-coded and I am not planning to continue developing it. I have tested it in Gemini CLI. Maybe it could also work in other apps that support the MCP protocol. Feel free to take the code and use it any way you like.

Backstory

This entire project was implemented by the Gemini CLI itself. Starting with a single prompt, Gemini was asked to create a tool server for the WikiTree API. It wrote the server code, defined the tools, and handled the integration with the Model Context Protocol (MCP) server. This README (the majority of it), and the entire interaction history, serves as a testament to its capabilities.

Related MCP server: wikitree-mcp

Usage Instructions

1. Installation

First, install the necessary dependencies:

npm install

2. Build the Project

The server is written in TypeScript. Compile it to JavaScript:

npm run build

3. Run the Server

Start the MCP tool server:

npm start -- --sse --port=3000

4. Connect Gemini CLI

Add the following settings to ~/.gemini/settings.json:

"mcpServers": {
  "wikitree": {
    "url": "http://localhost:3000/sse"
  }
}

You can now run Gemini CLI and questions related to WikiTree.

Example Questions and Answers

Here are the example interactions that were used to generate the information about Maria Skłodowska-Curie and her family.

Get Parents

Question:

get parents of Skłodowska-2

Answer:

The parents of Maria Salomea (Skłodowska) Curie (Skłodowska-2) are:

  • Father: Władysław Skłodowski (Skłodowski-1), born in 1832 and died in 1902.

  • Mother: Bronisława Marianna (Boguska) Skłodowska (Boguska-1), born in 1835 and died in 1878.

Get Grandparents

Question:

wWhat are the names of grandparents of Maria Skłodowska?

Answer:

The grandparents of Maria Salomea (Skłodowska) Curie are:

Paternal Grandparents (Parents of Władysław Skłodowski):

  • Grandfather: Józef Skłodowski (Skłodowski-4), 1804–1882.

  • Grandmother: Salomea (Sagtyńska) Skłodowska (Sagtyńska-1), 1802–1882.

Maternal Grandparents (Parents of Bronisława Marianna Boguska):

  • Grandfather: Feliks Boguski (Boguski-1), 1799–1872.

  • Grandmother: Marianna Zaruska (Zaruska-1).

Get Biography

Question:

short bio of Maria

Answer:

Maria Salomea (Skłodowska) Curie (1867–1934) was a pioneering Polish-French physicist and chemist. She is best known for her groundbreaking research on radioactivity, a term she coined.

Key Achievements:

  • Nobel Prizes: She was the first woman to win a Nobel Prize and remains the only person to win Nobel Prizes in two different scientific fields (Physics in 1903 and Chemistry in 1911).

  • Element Discovery: Along with her husband Pierre Curie, she discovered the elements polonium (named after her native Poland) and radium.

  • Educational Pioneer: She was the first female professor at the University of Paris (Sorbonne).

  • War Effort: During World War I, she developed mobile X-ray units ("Little Curies") to assist battlefield surgeons.

Personal Life: Born in Warsaw, Poland, she moved to Paris in 1891 to study. She married Pierre Curie in 1895, and they had two daughters, Irène (also a Nobel laureate) and Ève. She died in 1934 from leukemia, caused by her long-term exposure to radiation. She is buried in the Panthéon in Paris.

Ancestors' Achievements

Question:

Are her ancestors known for something?

Answer:

Maria Skłodowska-Curie's ancestors were largely part of the Polish intelligentsia and minor nobility (szlachta), many of whom were dedicated educators and patriots.

Parents:

  • Father: Władysław Skłodowski (1832–1902) was a well-known teacher of mathematics and physics and the director of two gymnasiums (secondary schools) for boys in Warsaw.

  • Mother: Bronisława Boguska (1835–1878) was also an educator. She was the director of a prestigious Warsaw boarding school for girls until she contracted tuberculosis.

Grandparents:

  • Paternal Grandfather: Józef Skłodowski (1804–1882) was a prominent educator, librarian, and school principal. He was also a participant in the November Uprising (1830–1831), a Polish insurrection against the Russian Empire.

Family Heritage:

  • Both the Skłodowski and Boguski families belonged to the Polish nobility, though they had lost most of their property and focused their efforts on intellectual pursuits.

Descendants' Achievements

Question:

What about her descendants?

Answer:

Maria Skłodowska-Curie had two daughters, both of whom were highly accomplished:

Daughters:

  1. Irène Joliot-Curie (1897–1956): A Nobel Prize-winning scientist. She and her husband, Frédéric Joliot-Curie, were awarded the Nobel Prize in Chemistry in 1935 for their discovery of artificial radioactivity.

  2. Ève Curie (1904–2007): A successful writer, journalist, and concert pianist, famous for writing her mother's biography, Madame Curie. She later worked extensively with UNICEF.

Grandchildren (Children of Irène):

  • Hélène Langevin-Joliot (born 1927): A distinguished nuclear physicist.

  • Pierre Joliot (born 1932): A renowned biologist and researcher.

Maria's descendants have continued her legacy of scientific and humanitarian excellence.

Available Tools

5 tools
call_apiC

Call any WikiTree API endpoint directly

Inputs: action (required), params.

get_ancestorsC

Retrieve ancestors for a given person ID

Inputs: key (required), depth, bioFormat, fields, +1 more.

get_descendantsC

Retrieve descendants for a given person ID

Inputs: key (required), depth, bioFormat, fields, +1 more.

get_personB

Retrieve a single person record from WikiTree

Inputs: key (required), bioFormat, fields, resolveRedirect.

get_relativesC

Retrieve relatives for a given person ID or list of IDs

Inputs: keys (required), getParents, getChildren, getSpouses, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools have distinct purposes: get_person retrieves a single record, while get_ancestors, get_descendants, and get_relatives focus on different relationship types. However, get_relatives could be ambiguous with the more specific ancestor/descendant tools, as it might overlap in scope depending on what 'relatives' includes.

    Naming Consistency4/5

    Four tools follow a consistent 'get_' prefix pattern (get_ancestors, get_descendants, get_person, get_relatives), which is clear and predictable. The outlier is call_api, which uses a different verb style, but this minor deviation doesn't significantly hinder readability or consistency.

    Tool Count5/5

    With 5 tools, this is well-scoped for a genealogy-focused server. Each tool serves a distinct purpose in retrieving person data and relationships, and the count is neither too sparse nor overwhelming, fitting typical MCP server ranges.

    Completeness3/5

    The toolset covers core read operations for person data and relationships (get, ancestors, descendants, relatives), but lacks update, create, or delete capabilities, which might be expected for a full CRUD lifecycle in a genealogy context. The call_api tool provides flexibility but doesn't fill all gaps directly.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create, edit, and query genealogical data from GEDCOM files. Supports complex genealogy searches, automatic data enrichment from web sources, relationship analysis, and biography generation for individuals and families.
      17
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables querying WikiTree genealogy data including profiles, ancestors, descendants, relatives, biography, photos, and categories via natural language.
      2
      1
      AGPL 3.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables users to read, search and edit GEDCOM (.ged) family-tree files from Ancestry.com and other genealogy software, letting an MCP client navigate relationships, explore ancestor and descendant trees, inspect sources and citations, and make safe, lossless edits that are written straight back to the file with a backup.
      19
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes one or more Gramps Web API genealogy trees to LLM assistants, allowing users to ask research questions and edit tree data conversationally through MCP tools.
      1
      MIT