Diogenes Database Intelligence & SQL Engine MCP
Remote MCP server with 12 SQL analysis tools for auditing, tuning and migrating databases
Diogenes Database Intelligence & SQL Engine MCP is a freemium MCP server for databases. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Freemium
- Platforms
- API, CLI
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http diogenes-database-intelligence-mcp https://diogenesgateway.com/mcp/database-intelligenceAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"diogenes-database-intelligence-mcp": {
"type": "http",
"url": "https://diogenesgateway.com/mcp/database-intelligence"
}
}
}In Customize → Connectors → Add → Add custom connector
https://diogenesgateway.com/mcp/database-intelligencePaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"diogenes-database-intelligence-mcp": {
"url": "https://diogenesgateway.com/mcp/database-intelligence"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"diogenes-database-intelligence-mcp": {
"type": "http",
"url": "https://diogenesgateway.com/mcp/database-intelligence"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://diogenesgateway.com/mcp/database-intelligencePaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add diogenes-database-intelligence-mcp --url https://diogenesgateway.com/mcp/database-intelligenceOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.diogenes-database-intelligence-mcp]
url = "https://diogenesgateway.com/mcp/database-intelligence"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://diogenesgateway.com/mcp/database-intelligenceEnter a Name (for example "Diogenes Database Intelligence & SQL Engine MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"diogenes-database-intelligence-mcp": {
"type": "http",
"url": "https://diogenesgateway.com/mcp/database-intelligence"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "httpUrl": "https://diogenesgateway.com/mcp/database-intelligence" } } }Or run: gemini mcp add -s user --transport http diogenes-database-intelligence-mcp https://diogenesgateway.com/mcp/database-intelligence
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "serverUrl": "https://diogenesgateway.com/mcp/database-intelligence" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "url": "https://diogenesgateway.com/mcp/database-intelligence", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "type": "streamableHttp", "url": "https://diogenesgateway.com/mcp/database-intelligence" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "diogenes-database-intelligence-mcp": { "url": "https://diogenesgateway.com/mcp/database-intelligence" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "url": "https://diogenesgateway.com/mcp/database-intelligence" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "url": "https://diogenesgateway.com/mcp/database-intelligence" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "diogenes-database-intelligence-mcp": { "url": "https://diogenesgateway.com/mcp/database-intelligence" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Diogenes Database Intelligence & SQL Engine MCP
This endpoint gives AI clients a set of database tools that work on SQL text and schema definitions rather than on a live database connection. Callers send DDL, queries or EXPLAIN output and get back findings such as injection risks, lock-heavy migrations, missing indexes or normal-form violations.
The tools cover several stages of the database lifecycle: writing queries from a plain-language request, reviewing execution plans, checking schema changes in CI, converting SQL between PostgreSQL, MySQL and SQLite, sizing connection pools and generating ORM models for Prisma, Drizzle, SQLAlchemy and Zod. Each tool is a stateless call with a 32 KB input limit, and a demo flag returns a schema preview without payment.
It suits backend engineers, data teams and developers who want database checks inside Cursor, Claude Desktop, Zed or Windsurf without installing a local dependency. Paid calls are settled per request through the gateway, and a prepaid key option is available for higher volume.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 12 tools read data; 9 names don't say.
From the server's own tool labels and tool names; not verified by us.
- synthesize_sql_queryName suggests: reads
- Writes SQL SELECT queries from natural language and a schema.
- audit_sql_injection_ast
- Detects injection, tautology and stacked-query risks in SQL.
- analyze_query_planName suggests: reads
- Analyses EXPLAIN plans for scans, costly joins and memory bottlenecks.
- detect_breaking_migrations
- Finds breaking and lock-inducing changes between two schemas.
- transpile_sql_dialect
- Converts SQL and DDL across PostgreSQL, MySQL and SQLite.
- recommend_database_indexes
- Recommends B-tree and composite indexes from slow query patterns.
- validate_schema_normalizationName suggests: reads
- Checks schemas for 3NF compliance and missing foreign keys.
- sanitize_sql_telemetry
- Masks PII and literals in SQL query logs.
- synthesize_seed_fixtures
- Generates relational seed fixtures respecting key constraints.
- calculate_pool_headroom
- Calculates connection pool sizing and idle timeouts.
- audit_transaction_isolation
- Flags dirty reads, non-repeatable reads and deadlock risks.
- generate_orm_models
- Compiles DDL into Prisma, Drizzle, SQLAlchemy and Zod models.
What it does
- Injection and taint auditing
- Statically parses SQL to flag second-order injection, tautologies and stacked queries.
- Query plan optimization
- Reads EXPLAIN output to point out sequential scans, costly joins and buffer bottlenecks.
- Breaking migration detection
- Compares source and target DDL to surface destructive drops and lock-inducing changes.
- Cross-dialect SQL transpiling
- Rewrites queries and DDL between PostgreSQL, MySQL and SQLite syntax.
- Index and pool sizing
- Suggests B-tree or composite indexes and connection pool settings based on workload.
- Log PII scrubbing
- Masks personal data and credential literals in SQL logs before they are shipped.
Good for
- Reviewing dynamic SQL for injection risk before it reaches production
- Checking CI migration scripts for changes that could cause downtime
- Diagnosing slow queries from their EXPLAIN plans
- Porting application queries between PostgreSQL, MySQL and SQLite
- Generating seed fixtures and ORM models for test and staging environments
Pricing
Freemium
Free developer tools and demo mode; paid calls per request or prepaid credit
Prices change. Check diogenesgateway.com before you buy.
Diogenes Database Intelligence & SQL Engine MCP FAQ
Does Diogenes Database Intelligence & SQL Engine MCP connect to my database?
No. The tools take SQL text, DDL, EXPLAIN output or logs as input and analyse them statically.
Can I try Diogenes Database Intelligence & SQL Engine MCP without paying?
Yes. Adding ?demo=true to any endpoint returns a schema preview at no cost, and several developer tools run without payment.
How do I connect Diogenes Database Intelligence & SQL Engine MCP to my client?
Add the streamable-http endpoint https://diogenesgateway.com/mcp/database-intelligence to your MCP client configuration, or run the npx package over stdio.
How is usage paid for?
Paid calls are charged per request through Stripe or several crypto rails, or drawn from a prepaid key.
How do I add Diogenes Database Intelligence & SQL Engine MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http diogenes-database-intelligence-mcp https://diogenesgateway.com/mcp/database-intelligence
What are the best alternatives to Diogenes Database Intelligence & SQL Engine MCP?
The closest alternatives to Diogenes Database Intelligence & SQL Engine MCP are MCP Database Doctor, db-mcp (SQLite MCP Server), JDBC MCP Server, Postgres Scout MCP and Postgres MCP.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.