wikitree-mcp
v1.0.3
Published
WikiTree MCP Server
Downloads
465
Readme
WikiTree MCP Server
A Model Context Protocol (MCP) server that provides access to the WikiTree API. It allows LLMs to browse genealogy data, search for ancestors, and manage watchlists with full authentication support.
Features
- Authenticated Access: Support for WikiTree's interactive
clientLoginflow. - Profile Management: Retrieve detailed profile data and biographies.
- Genealogy Research: Tools for ancestors, descendants, and immediate relatives.
- Watchlist Integration: Access the authenticated user's profile watchlist.
- Session Persistence: Securely stores session cookies locally for seamless reuse.
Installation
You can run the server directly using npx:
npx -y wikitree-mcpOr install it globally:
npm install -g wikitree-mcpAuthentication
Before using most tools, you must authenticate:
- Call the
logintool via your MCP client. - Visit the URL provided in the output.
- Log in to WikiTree in your browser.
- Once you see "Login Successful", your session is saved to
~/.wikitree-mcp-cookies.json.
Configuration
Gemini CLI
Add this to your ~/.config/gemini-cli/config.yaml (or equivalent):
mcpServers:
wikitree:
command: "npx"
args: ["-y", "wikitree-mcp"]Claude Desktop
Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"wikitree": {
"command": "npx",
"args": ["-y", "wikitree-mcp"]
}
}
}LM Studio
In the MCP settings of LM Studio, add a new server:
- ID:
wikitree - Command:
npx - Args:
-y wikitree-mcp
Cursor
Add to Settings > Models > MCP:
- Name:
WikiTree - Type:
command - Command:
npx -y wikitree-mcp
Available Tools
login: Starts the interactive login flow.get_profile: Get a person's profile by WikiTree ID (e.g.,Washington-1).search_person: Search for people by name and dates.get_ancestors: Retrieve lineage (ancestors) for a profile.get_descendants: Retrieve descendants for a profile.get_relatives: Get parents, children, siblings, and spouses.get_bio: Get the raw biography text.get_watchlist: Get the authenticated user's watchlist.
Development
If you're contributing to the project:
- Clone the repository.
npm installnpm run buildnpm startor point your MCP client to the localdist/index.js.
License
MIT
