mcp-grampsweb
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-grampswebsearch for people with the last name Johnson"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-grampsweb
An MCP (Model Context Protocol) server for interacting with Gramps Web genealogy API. This allows AI assistants like Claude to search, retrieve, and create genealogical records in your Gramps Web instance.
Installation
npx mcp-grampswebOr install globally:
npm install -g mcp-grampswebRelated MCP server: @datalanguage/datagraphs-mcp-server
Configuration
The server requires the following environment variables:
Variable | Description | Required |
| Base URL of your Gramps Web instance (e.g., | Yes |
| Your Gramps Web username | Yes |
| Your Gramps Web password | Yes |
| Tree ID for multi-tree instances (requests use | No |
Usage with Claude Desktop
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"grampsweb": {
"command": "npx",
"args": ["mcp-grampsweb"],
"env": {
"GRAMPS_API_URL": "https://your-gramps-web.com",
"GRAMPS_USERNAME": "your-username",
"GRAMPS_PASSWORD": "your-password",
"GRAMPS_TREE_ID": "optional-tree-id"
}
}
}
}Available Tools
Search & Retrieval
Tool | Description |
| GQL-based search for any entity type (people, families, events, places, etc.) |
| Full-text search across all records |
| Get full entity details by handle or Gramps ID |
Data Management
Tool | Description |
| Create a new person record |
| Create a new family unit |
| Create a new life event (birth, death, marriage, etc.) |
| Create a new geographic location |
| Create a new source document |
| Create a new citation |
| Create a new textual note |
| Create a new media object |
| Create a new repository |
Analysis
Tool | Description |
| Get tree statistics (counts of all entity types) |
| Find ancestors of a person (up to 10 generations) |
| Find descendants of a person (up to 10 generations) |
| Get recently modified records |
Examples
Search for people with a specific surname
Use gramps_search to find people with surname "Smith"Get ancestors of a person
Find the ancestors of person with handle "abc123" going back 4 generationsCreate a new person
Create a person named John Smith, male genderDevelopment
# Clone the repository
git clone https://github.com/nikkoxgonzales/mcp-grampsweb.git
cd mcp-grampsweb
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run in development mode
npm run devTesting with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI applications to interact with DiceDB databases.5MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that connects AI assistants to the Data Graphs knowledge graph platform, enabling natural language search, exploration, and querying of graph data.6 npm-
- AlicenseAqualityAmaintenanceConnect AI assistants to your Gramps Web family tree. Search and edit genealogy records, explore ancestors, descendants, relationships and timelines, and read document scans with vision-capable models. Includes guided research workflows, source citations, read-only mode, and privacy-aware media previews. Install with Docker or a Claude Desktop bundle.62914AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query, validate, and safely update GEDCOM family-history files through a local MCP server with read-only tools and reviewable changesets.1MIT