What schemas does the server expose?
The server exposes only the schemas specified via the command-line argument. If none are given, it defaults to the `public` schema.
@HarjjotSinghh
Basic information
A Model Context Protocol server that provides read-only access to PostgreSQL databases with enhanced multi-schema support.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-postgres-multi-schema": {
"command": "npx",
"args": [
"-y",
"mcp-server-postgres-multi-schema",
"postgresql://localhost/mydb"
]
}
}
}Run a read-only SQL query
A Model Context Protocol server that provides read-only access to PostgreSQL databases with enhanced multi-schema support. It allows LLMs to inspect database schemas across multiple namespaces and execute read-only queries while maintaining schema isolation.
Run the server via npx -y mcp-server-postgres-multi-schema <database-url> [schemas], where schemas is an optional comma-separated list (defaults to public). For Claude Desktop, add an entry to claude_desktop_config.json under mcpServers with the command and arguments.
The server exposes only the schemas specified via the command-line argument. If none are given, it defaults to the `public` schema.
Only read‑only SQL queries are allowed. All queries run inside a `READ ONLY` transaction, preventing any writes.
Add an `mcpServers` entry in `claude_desktop_config.json` with command `npx -y mcp-server-postgres-multi-schema` and arguments including the database URL and optional schema list.
No. The server filters system catalogs to expose only user-defined tables in the authorized schemas.
No. You can pass a comma-separated list of schemas (e.g., `public,analytics,staging`) to access multiple namespaces.

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi

Healthcare provider data for AI assistants, from the official CMS NPPES dataset (updated weekly). Look up any NPI (active or deactivated), search providers and organizations by name, city, state, ZIP, taxonomy code or pl
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.

Model Context Protocol Servers
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
Comments