What are the prerequisites for running the server?
Python 3.12 or higher, a PostgreSQL database, and UV package manager (recommended).
@Tibiritabara
Basic information
Postgres MCP server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"postgres-mcp-tibiritabara": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Execute SQL queries against the database (SELECT queries only)
A FastMCP server that enables LLMs to connect and interact with PostgreSQL databases. It demonstrates how to use the Model Context Protocol (MCP) to allow Language Models to query and explore database schemas and tables.
Install Python 3.12+, PostgreSQL, and UV. Clone the repository, create a virtual environment, install dependencies with uv sync, and configure environment variables. Uncomment the run function in src/main.py and start the server with python -m src.main. Alternatively, use Docker with the provided Dockerfile. For client applications, add the MCP configuration to the client’s MCP config file (e.g., .cursor/mcp.json).
Python 3.12 or higher, a PostgreSQL database, and UV package manager (recommended).
Set environment variables: `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_PASSWORD`, and `DB_NAME`. Default values are provided in `.env.example`.
Only SELECT queries are allowed via the `query_database` tool; no modifications are supported.
Results are returned in YAML format for easy parsing by LLMs.
Yes, build the image with `docker build -t mcp-demo .` and run with `docker run --env-file .env.docker -p 8000:8000 mcp-demo`.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Comments