diogenes-database-intelligence-mcp
Server Details
Database schema inference, dialect normalization, query plan optimization, and SQL audit over streamable HTTP.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2024-11-05
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Each tool targets a clearly distinct database engineering task (plan analysis, index recommendation, injection audit, telemetry masking, isolation audit, pool sizing, migration risk, ORM generation, fixture generation, NL-to-SQL, dialect transpilation, normalization validation). The descriptions go further and explicitly name the neighboring tool to use instead for each close pair (e.g. analyze_query_plan vs recommend_database_indexes, audit_sql_injection_ast vs sanitize_sql_telemetry), leaving essentially no room for misselection.
All 12 names follow a strict snake_case verb_noun pattern with a consistent verb vocabulary (analyze, audit, calculate, detect, generate, recommend, sanitize, synthesize, transpile, validate) and a descriptive domain noun. No camelCase, no bare nouns, no ambiguous abbreviations.
12 tools sit squarely in the well-scoped range, and each covers a distinct, non-redundant capability of the database-intelligence domain. Nothing looks like padding or an accidental duplicate variant.
The surface covers the advisory lifecycle well: performance (plans, indexes, pool sizing), safety (injection, isolation, telemetry masking), schema hygiene (normalization, migration risk), and codegen (ORM, fixtures, transpilation, NL-to-SQL). Minor gaps remain, such as unused/bloated index detection, schema diffing without migration framing, or data profiling beyond masking, but agents can work around these.
Available Tools
12 toolsanalyze_query_planSQL Query Plan EXPLAIN Optimizer & Bottleneck DiagnosticsARead-onlyIdempotentInspect
Analyzes SQL EXPLAIN execution plans to detect sequential table scans, high-cost cartesian joins, and buffer memory bottlenecks. Use when diagnosing slow queries, optimizing database performance, or evaluating query cost; for getting index recommendations, use recommend_database_indexes instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'explain_plan_or_query' ('optimization_target' defaults to 'eliminate_seq_scans'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: explain_plan_or_query (required), database_engine, optimization_target. Returns: Deterministic execution response schema for analyze_query_plan.
audit_sql_injection_astDeterministic SQL AST Injection & Tautology Vulnerability AuditorARead-onlyIdempotentInspect
Statically parses SQL queries via AST lexical analysis to detect second-order injection, tautology conditions, and stacked queries. Use when auditing dynamic query parameters or untrusted user input before database execution; for sanitizing query strings for telemetry logging, use sanitize_sql_telemetry instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'raw_sql' ('audit_sensitivity' defaults to 'strict_zero_dynamic_taint'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Inputs: raw_sql (required), allow_comments, audit_sensitivity. Returns: Deterministic execution response schema for audit_sql_injection_ast.
audit_transaction_isolationTransaction Concurrency Anomaly & Isolation Level Hazard AuditorARead-onlyIdempotentInspect
Audits database transaction workflows for concurrency anomalies, dirty reads, non-repeatable reads, and deadlock risks. Use when reviewing financial transfer procedures, inventory decrement operations, or multi-step checkout workflows; for calculating connection pool headroom, use calculate_pool_headroom instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'transaction_steps' ('target_isolation_level' defaults to 'read_committed'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: transaction_steps (required), strict_deadlock_check, target_isolation_level. Returns: Deterministic execution response schema for audit_transaction_isolation.
calculate_pool_headroomDatabase Connection Pool Sizing & Concurrency Headroom CalculatorARead-onlyIdempotentInspect
Calculates optimal connection pool sizing, idle timeouts, and client headroom based on server RAM and concurrency profile. Use when sizing PgBouncer, HikariCP, or Prisma connection pools to avoid server out-of-memory crashes; for checking transaction isolation hazards, use audit_transaction_isolation instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'server_ram_mb' and 'max_concurrent_clients' ('workload_profile' defaults to 'high_concurrency_oltp'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Inputs: server_ram_mb (required), max_concurrent_clients (required), workload_profile. Returns: Deterministic execution response schema for calculate_pool_headroom.
detect_breaking_migrationsDatabase Schema Migration Differ & Breaking Change LinterARead-onlyIdempotentInspect
Compares source and target DDL schemas to identify breaking changes, destructive column drops, and lock-inducing mutations. Use when verifying CI/CD migration scripts before production deployment to prevent downtime; for verifying relational normal form, use validate_schema_normalization instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'current_schema' and 'target_schema' ('risk_tolerance' defaults to 'zero_downtime_strict'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: target_schema (required), current_schema (required), risk_tolerance. Returns: Deterministic execution response schema for detect_breaking_migrations.
generate_orm_modelsSQL DDL to Type-Safe ORM Entity Compiler (Prisma, Drizzle, Zod)ARead-onlyIdempotentInspect
Compiles SQL DDL schemas into type-safe ORM entities and TypeScript validation schemas (Prisma, Drizzle, SQLAlchemy, Zod). Use when scaffolding application models, generating TypeScript data layers, or synchronizing schemas; for translating raw SQL across dialects, use transpile_sql_dialect instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('orm_target' defaults to 'drizzle_orm_typescript'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: schema_ddl (required), orm_target, include_relations. Returns: Deterministic execution response schema for generate_orm_models.
recommend_database_indexesDatabase Index Advisor & Composite B-Tree OptimizerARead-onlyIdempotentInspect
Recommends optimal single-column and composite B-Tree/BRIN indexes based on slow query WHERE, JOIN, and ORDER BY clauses. Use when optimizing database response times and eliminating full-table scans; for inspecting full execution plans, use analyze_query_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'slow_queries_or_workload' ('index_type_preference' defaults to 'btree_and_composite'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: slow_queries_or_workload (required), max_new_indexes, index_type_preference. Returns: Deterministic execution response schema for recommend_database_indexes.
sanitize_sql_telemetrySQL Query Telemetry PII Scrubber & Parameterization MaskerARead-onlyIdempotentInspect
Masks PII, financial values, and credential literals from raw SQL query logs and slow-query dumps before telemetry storage. Use when scrubbing production database query logs before shipping to APM tools, Datadog, or external log collectors; for auditing SQL injection vulnerabilities, use audit_sql_injection_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'query_logs' ('masking_policy' defaults to 'mask_pii_and_literals'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Inputs: query_logs (required), hash_salt, masking_policy. Returns: Deterministic execution response schema for sanitize_sql_telemetry.
synthesize_seed_fixturesDeterministic Relational Seed Data & SQL Mock Fixture GeneratorARead-onlyIdempotentInspect
Generates deterministic relational test seed fixtures respecting foreign key constraints, unique indexes, and data bounds. Use when provisioning mock database datasets for automated testing, staging environments, or sandbox demos; for compiling ORM models from schemas, use generate_orm_models instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('fixture_volume' defaults to 'minimal_smoke_test_5'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: schema_ddl (required), fixture_volume, deterministic_seed. Returns: Deterministic execution response schema for synthesize_seed_fixtures.
synthesize_sql_queryDeterministic NL-to-SQL Synthesizer & Dialect Query GeneratorARead-onlyIdempotentInspect
Translates natural language questions into dialect-accurate, optimized SQL SELECT queries with schema awareness and safety checks. Use when generating reporting queries or automated data analytics pipelines; for analyzing SQL execution performance and EXPLAIN plans, use analyze_query_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'natural_language_request' and 'schema_ddl' ('sql_dialect' defaults to 'postgresql_dialect'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Inputs: schema_ddl (required), natural_language_request (required), sql_dialect, read_only_mode. Returns: Deterministic execution response schema for synthesize_sql_query.
transpile_sql_dialectPolyglot SQL Dialect Transpiler (PostgreSQL, MySQL, SQLite)ARead-onlyIdempotentInspect
Transpiles SQL queries and DDL schemas across PostgreSQL, MySQL, and SQLite dialects, rewriting functions and syntax quirks. Use when migrating application queries across database backends or testing against in-memory SQLite; for generating new queries from natural language, use synthesize_sql_query instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_code' and 'source_dialect' ('target_dialect' defaults to 'sqlite'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Inputs: sql_code (required), source_dialect (required), target_dialect (required). Returns: Deterministic execution response schema for transpile_sql_dialect.
validate_schema_normalizationRelational Schema Normalization Auditor (3NF, BCNF) & Integrity GuardARead-onlyIdempotentInspect
Audits database schemas for third normal form (3NF) compliance, transitive dependencies, and missing foreign key constraints. Use when reviewing database architectures, preventing update anomalies, or validating relational integrity; for detecting breaking schema migrations, use detect_breaking_migrations instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'schema_ddl' ('target_normal_form' defaults to 'third_normal_form_3nf'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Inputs: schema_ddl (required), strict_keys, target_normal_form. Returns: Deterministic execution response schema for validate_schema_normalization.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRemote MCP server that lets AI assistants read tracked competitive intelligence — competitor news, reviews, website changes, social posts and ads — and act on it by managing projects, competitors, battle cards, reports and canvases. Every answer carries a source and a date, and write actions only publish when explicitly shared.MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs117 npm46 PyPIMIT
- AlicenseAqualityDmaintenanceEnables brand visibility monitoring across major AI platforms like ChatGPT, Claude, Gemini, and Perplexity. It allows users to track visibility scores, analyze competitor data, and receive actionable insights to improve AI-generated brand recommendations.169 npm1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityCmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.