A Model Context Protocol server that provides read-only access to PostgreSQL databases with enhanced multi-schema support.
A Model Context Protocol server that provides read-only access to PostgreSQL databases with enhanced multi-schema support. This server enables LLMs to inspect database schemas across multiple namespaces and execute read-only queries while maintaining schema isolation.
sql
(string): The SQL query to executeThe server provides schema information for each table across authorized schemas:
postgres://<host>/<db_schema>/<table>/schema
)
The server requires a database URL and accepts a comma-separated list of schemas to expose:
npx -y mcp-server-postgres-multi-schema <database-url> [schemas]
postgresql://localhost/mydb
)## Connect with default public schema
npx -y mcp-server-postgres-multi-schema postgresql://localhost/mydb
## Connect with multiple schemas
npx -y mcp-server-postgres-multi-schema postgresql://localhost/mydb public,analytics,staging
Configure the “mcpServers” section in your claude_desktop_config.json
:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"mcp-server-postgres-multi-schema",
"postgresql://localhost/mydb",
"public,audit"
]
}
}
}
This multi-schema MCP server is licensed under the MIT License. You may use, modify, and distribute the software according to the terms in the LICENSE file.
Higress Ai Search Mcp Server
An MCP server enhances AI responses with real-time search results via Higress ai-search.
Mcpnotes
A simple note-taking MCP server for recording and managing notes with AI models.
Datagov Mcp Server
An MCP server for accessing data from Data.gov, providing tools and resources for interacting with government datasets.