Gramps MCP MCP Server
v0.2.1MCP server for Gramps genealogy via the Gramps Web API: CRUD, search, merge, timelines, DNA.
Values you need
| Variable | What it is | |
|---|---|---|
GRAMPS_MCP_USERNAME | required secret | Your Gramps MCP username |
GRAMPS_MCP_PASSWORD | required secret | Your Gramps MCP password |
GRAMPS_MCP_INSTANCES | optional | Comma-separated account/instance identifiers (optional) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add gramps-mcp -e 'GRAMPS_MCP_PASSWORD=<GRAMPS_MCP_PASSWORD>' -e 'GRAMPS_MCP_USERNAME=<GRAMPS_MCP_USERNAME>' -- uvx gramps-mcp-full==0.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"gramps-mcp": {
"args": [
"gramps-mcp-full==0.2.1"
],
"command": "uvx",
"env": {
"GRAMPS_MCP_PASSWORD": "<GRAMPS_MCP_PASSWORD>",
"GRAMPS_MCP_USERNAME": "<GRAMPS_MCP_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gramps-mcp": {
"args": [
"gramps-mcp-full==0.2.1"
],
"command": "uvx",
"env": {
"GRAMPS_MCP_PASSWORD": "<GRAMPS_MCP_PASSWORD>",
"GRAMPS_MCP_USERNAME": "<GRAMPS_MCP_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GRAMPS_MCP_PASSWORD",
"id": "gramps-mcp-password",
"password": true,
"type": "promptString"
},
{
"description": "GRAMPS_MCP_USERNAME",
"id": "gramps-mcp-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"gramps-mcp": {
"args": [
"gramps-mcp-full==0.2.1"
],
"command": "uvx",
"env": {
"GRAMPS_MCP_PASSWORD": "${input:gramps-mcp-password}",
"GRAMPS_MCP_USERNAME": "${input:gramps-mcp-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gramps-mcp]
command = "uvx"
args = ["gramps-mcp-full==0.2.1"]
env = { "GRAMPS_MCP_PASSWORD" = "<GRAMPS_MCP_PASSWORD>", "GRAMPS_MCP_USERNAME" = "<GRAMPS_MCP_USERNAME>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http gramps-mcp https://ghcr.io/oliverhruby/gramps-mcp:latestAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"gramps-mcp": {
"args": [
"-y",
"mcp-remote",
"https://ghcr.io/oliverhruby/gramps-mcp:latest"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gramps-mcp": {
"url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"gramps-mcp": {
"type": "http",
"url": "https://ghcr.io/oliverhruby/gramps-mcp:latest"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gramps-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://ghcr.io/oliverhruby/gramps-mcp:latest"]For AI agents
- Ask the user for: GRAMPS_MCP_USERNAME, GRAMPS_MCP_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ping, get_instances, manage_person, manage_family, manage_event, manage_place, manage_source, manage_citation, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json