Back to Home
peterdewit icon

genealogy-postgres-mcp

Verified Safe

by peterdewit

Overview

Provides a structured, persistent PostgreSQL database backend for AI agents performing genealogical research.

Installation

Run Command
docker-compose up -d

Environment Variables

  • DATABASE_URL
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • DB_USER
  • DB_PASSWORD

Security Notes

The server explicitly avoids dynamic SQL table names and uses parameterized queries (e.g., `%s`) throughout `server.py`, which effectively prevents SQL injection vulnerabilities. Database connection details are correctly sourced from environment variables, avoiding hardcoded secrets. No `eval` or similar dangerous patterns are present. The design is robust for its stated purpose.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens150
Stars0
Forks0
Last Update2025-12-14

Tags

GenealogyAI AgentsDatabasePostgreSQLMCP