
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases over stdio or HTTP transports.
MCP server for PostgreSQL and ClickHouse access is cataloged as an MCP server attributed to conte777. An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases over stdio or HTTP transports. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for PostgreSQL and ClickHouse access are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. It can connect any number of PostgreSQL and ClickHouse instances at once.
No. Transactions are not supported on ClickHouse; a transaction begin throws.
README.md · d0c7a6c753ba · Fetched 2026-11-13 11:56:25 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
An MCP server that gives AI assistants direct access to PostgreSQL and ClickHouse databases. It supports both stdio and HTTP transports, for local IDE integration and remote network access.
database parameter, or a separate tool per databasenpm install @conte777/db-view-mcp
Or clone and build from source:
git clone <repo-url>
cd db-view-mcp
npm install
npm run build
Copy the example config and edit it:
cp config.example.json config.json
Minimal stdio config:
{
"databases": [
{
"id": "main_pg",
"type": "postgresql",
"host": "localhost",
"port": 5432,
"database": "myapp",
"user": "admin",
"password": "secret123"
}
]
}
Every field, default, and the full config reference (SSL/TLS, per-database overrides, environment substitution, HTTP transport) is in docs/configuration.md.
# Stdio (default)
npm start -- --config config.json
# HTTP (set transport.type to "http" in config, or override on the CLI)
npm start -- --config config.json --transport http
# Development (no build needed)
npm run dev -- --config config.json
Claude Desktop (claude_desktop_config.json) or Claude Code (.mcp.json), stdio:
{
"mcpServers": {
"database": {
"command": "npx",
"args": ["-y", "@conte777/db-view-mcp", "--config", "/path/to/config.json"]
}
}
}
Any MCP client, HTTP:
node dist/index.js --config config.json --transport http
# Server listens on http://127.0.0.1:3000/mcp
See docs/http-transport.md for sessions, auth, and curl examples.
| Doc | Contents |
|---|---|
| docs/configuration.md | Every config field, defaults, SSL/TLS, rowFormat, env substitution, hot reload |
| docs/tools.md | The 9 tools: params, output, examples, error codes, per-database mode |
| docs/http-transport.md | stdio vs HTTP, sessions, bearer auth, /health, curl |
| docs/security.md | Read-only SQL validator, deny-lists, response caps, network exposure |
| docs/architecture.md | Source tree, layers, connector model, lifecycle (hot reload, shutdown) |
| CONTRIBUTING.md | Build, test, lint, hooks, CI |
transaction begin throws).params are ignored — use ClickHouse's native {name:Type} syntax in the SQL.See CONTRIBUTING.md for build/test/lint commands, coverage thresholds, git hooks, and CI.
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for PostgreSQL and ClickHouse access from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/db-view-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.