DBMcp
The only Database MCP you need, supports multiple connections
Install / Use
claude mcp add AbdelilahOu -- npx -y github:AbdelilahOu/DBMcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of DBMcp
DBMcp scores 67/100 on our quality scale, 565th of 597 Data & Analytics skills we index.
Its MCP Server is 4.5 KB long, well organised into 18 sections with 1 code example: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-23 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 73/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-03. Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
DBMcp compared with similar skills
All 4 of these similar skills score higher than DBMcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| DBMcp (this skill)by AbdelilahOu | 67 | 3 | 3mo ago | MCP Server |
| claude-memby thedotmack | 100 | 114.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 110.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.1k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | 1d ago | CLAUDE.md |
Frequently asked questions
- How do I install DBMcp?
- Run
claude mcp add AbdelilahOu -- npx -y github:AbdelilahOu/DBMcp. The install tabs above show the steps for each supported agent. - Which AI agents does DBMcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is DBMcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 73/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is DBMcp still maintained?
- The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubDatabase MCP Server
A Model Context Protocol (MCP) server that provides comprehensive database connectivity and query capabilities for Claude and other AI assistants. This server enables seamless interaction with databases through a standardized interface, supporting multiple database types and connection management.
What is this project?
This MCP server bridges the gap between AI assistants and database systems, allowing Claude to:
- Connect to multiple databases - PostgreSQL, MySQL, and SQLite
- Execute queries safely - With built-in validation and optional read-only modes
- Explore database schemas - Inspect tables, columns, indexes, and relationships
- Analyze data - Get table statistics and query performance insights
- Manage connections - Switch between different database environments seamlessly
Key Features
- Multi-Database Support - PostgreSQL, MySQL, and SQLite
- Security First - Read-only mode, query validation, and secure credential handling
- Rich Schema Inspection - Detailed table descriptions, column metadata, and index information
- Performance Analysis - Query execution plans and table statistics
- Flexible Connection Management - Named connections with easy switching
- AI-Optimized - Designed specifically for AI assistant workflows
Tool Loading Modes
Use settings.advanced in connections.json to control how many tools are registered:
true(default): load every tool listed below.false: load only the core set —list_connections,switch_connection,test_connection,get_db_info,list_schemas,list_tables,describe_table,select_query,execute_query, andgenerate_id.
Example settings block:
"settings": {
"advanced": false
}
Available Tools
Connection Management
list_connections- View all configured database connectionsswitch_connection- Change active database connection during sessionstest_connection- Verify database connectivity before operations
Database Discovery & Metadata
get_db_info- Access general database information and statisticslist_schemas- List all schemas in the databaselist_tables- Browse all available tables with metadatadescribe_table- Get detailed table structure, columns, and indexesanalyze_table- Retrieve table statistics and performance metrics (advanced)
Query Execution
select_query- Execute SELECT queries and retrieve dataexecute_query- Execute data modification (INSERT, UPDATE, DELETE) and DDL statementsshow_query- Execute SHOW commands for database settings (advanced)
Foreign Keys & Relationships
list_foreign_keys- List all foreign key constraints with referenced tables and actions (advanced)get_table_relationships- Get incoming and outgoing relationships for a table (advanced)
Views
list_views- List all views (advanced)get_view_definition- Get SQL definition of a specific view (advanced)list_materialized_views- List materialized views — PostgreSQL only (advanced)
Sequences
list_sequences- List all sequences — PostgreSQL only (advanced)get_sequence_info- Get detailed sequence information (current value, increment, etc.) — PostgreSQL only (advanced)
Triggers
list_triggers- List all triggers with events and timing information (advanced)get_trigger_definition- Get complete trigger SQL definition (advanced)
Functions & Stored Procedures
list_functions- List all user-defined functions and stored procedures (advanced)get_function_definition- Get complete function source code (advanced)
Enums
list_enums- List all enum types — PostgreSQL onlyget_enum_values- Get all possible values for a specific enum type — PostgreSQL only
Column Search
find_column- Search for columns by name across all tables (supports partial matching) (advanced)
Constraints
list_constraints- List all constraints (PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK) (advanced)
Utilities
generate_id- Generate unique identifiers (UUID v1-v7, CUID, CUID2)
Use Cases
This MCP server is perfect for:
- Database Administration - Schema exploration and maintenance tasks
- Data Analysis - Querying and analyzing data with AI assistance
- Development Support - Understanding database structures and relationships
- Performance Tuning - Analyzing query plans and optimizing database performance
- Documentation - Generating database documentation and schemas
- Migration Planning - Understanding existing database structures
Related Skills
claude-mem
114.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
110.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
