What database systems does local_pgsql support?
The toolkit includes a `DatabaseManager` interface for backend-agnostic operations, and the integration example shows a PostgreSQL connection string.
@z-waterking
Basic information
一个本地访问PGSQL的MCP Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-pgsql-python-service",
".",
"&&",
"docker",
"run",
"-p",
"8000:8000",
"-e",
"DB_HOST=${DB_HOST}",
"-e",
"DB_PORT=${DB_PORT:-5432}",
"-e",
"DB_NAME=${DB_NAME}",
"-e",
"DB_USER=${DB_USER}",
"-e",
"DB_PASSWORD=${DB_PASSWORD}",
"mcp-pgsql-python-service"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN",
"DB_HOST": "postgres",
"DB_PORT": "5432",
"DB_NAME": "postgres",
"DB_USER": "postgres",
"DB_PASSWORD": "postgres"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
local_pgsql is a database analytics and query automation toolkit that provides structured data access for analysis, reporting, and AI-augmented workflows. It is designed for developers and data analysts who need to explore PostgreSQL databases, run parameterized SQL queries, and perform statistical analysis through a modular tool interface.
Initialize the MCP with a database connection string, register tools and prompts using the provided API, then call any of the built-in tools or prompts by name. For example, register a DatabaseManager for a PostgreSQL URI and enable tools such as list_tables, run_query, or get_summary_statistics.
The toolkit includes a `DatabaseManager` interface for backend-agnostic operations, and the integration example shows a PostgreSQL connection string.
Tools include `get_summary_statistics` (mean, standard deviation), `analyze_correlations` (correlation matrices), and `group_by_analysis` (multi-function aggregations).
Yes, it provides a basic SQL guide (`basic_sql_guide`) and analysis task templates (`data_analysis_tasks`).
Tools are dynamically registered via the `@mcp.tool` decorator and called using `mcp.call_tool` with the tool name and parameters.
It offers Z-score and IQR based anomaly detection through the `detect_anomalies` tool.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Painless E2E Automation for Mobile and Web
Comments