mcp-grampsweb
Click on "Install 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: mcp-browser-kit
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nikkoxgonzales/mcp-grampsweb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server