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

A production-grade, AST-hardened database inspection tool based on the Model Context Protocol that lets AI assistants safely query databases in a read-only, controlled environment.
DB-Whisper is cataloged as an MCP server attributed to 404-unknow. A production-grade, AST-hardened database inspection tool based on the Model Context Protocol that lets AI assistants safely query databases in a read-only, controlled environment. 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: Not specified. 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 DB-Whisper 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.
It supports PostgreSQL and SQLite, using a Postgres URI or absolute SQLite path in DATABASE_URL.
The default query timeout is 10000 ms and the rate limit is 10 queries per minute.
Yes, it limits AST nodes to 150 and nesting depth to 8 to prevent resource-exhaustion attacks.
README.md · a92fb1066417 · Fetched 2026-11-13 11:03:21 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.
[中文] | [English]
DB-Whisper 是一个基于 Anthropic Model Context Protocol (MCP) 的生产级数据库只读访问工具。它专为 AI 助手(如 Cursor, Claude Desktop)设计,提供严苛的安全边界和深度 AST 校验,确保 AI 只能在受控环境下安全地查询并理解你的数据库。
A production-grade, AST-hardened database inspection tool based on the Model Context Protocol (MCP). Designed for AI assistants (Cursor, Claude Desktop), providing strict security boundaries to ensure AI can safely query and understand your database in a read-only, controlled environment.
information_schema, pg_catalog 以及 SQLite 3.33.0+ 别名(如 sqlite_schema, sqlite_temp_schema)的访问。readonly: true 模式并强制 PRAGMA query_only = ON。BEGIN READ ONLY 事务中执行,确保数据库层面无法写入。rejectUnauthorized: true,防止中间人攻击。重要安全提示:请务必为 MCP 创建专用的 只读数据库用户,并配合环境变量进行权限细化。 Critical: Always use a dedicated Read-Only DB User.
| 变量 | 说明 | 默认值 |
|---|---|---|
DATABASE_URL | 数据库连接串 (Postgres URI 或 SQLite 绝对路径) | (必填) |
ALLOWED_TABLES | 表名白名单,用逗号分隔 (如 users,orders) | * (仅黑名单模式) |
DB_SSL | 是否强制启用 SSL 验证 | false |
QUERY_TIMEOUT_MS | 单次查询硬超时时间 | 10000 |
{
"mcpServers": {
"db-whisper": {
"command": "npx",
"args": ["-y", "db-whisper-mcp"],
"env": {
"DATABASE_URL": "postgresql://user:pass@localhost:5432/db",
"ALLOWED_TABLES": "public_users,products",
"NODE_ENV": "production"
}
}
}
}
vitest 实现 100% 对抗性安全测试,覆盖 SQLite 别名绕过、嵌套 DML 拦截及限流逻辑。npm audit 验证。npm install # 安装依赖
npm test # 运行安全与限流测试 (需 DATABASE_URL 环境)
npm run build # 编译项目
Note: All logs are directed to stderr; stdout is reserved strictly for MCP protocol data.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for DB-Whisper from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/db-whisper)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.