Database connectors · PostgreSQL, MySQL, MariaDB and Firebird

An on-call DBA that only reads.

Ask in plain English about slow queries, locks, unused indexes, space and replication in PostgreSQL, MySQL, MariaDB or Firebird.

Charged separately, on the plan’s invoice · plans from R$ 399/month

For Business

Claude · company server · PostgreSQL Format example
Question

The database just got slow. Who is blocking whom, and for how long?

Tool

postgres_blocking_tree database=erp

Answer

The session holding the lock, its query and how long it has been open, and the sessions waiting for it.

Ending the session is up to you: the connector only reads.

Origin
  • PostgreSQL catalog (pg_stat_activity and pg_locks), queried live
Databases
PostgreSQL, MySQL, MariaDB and Firebird
Ready-made playbooks
8 guided diagnostics on each database
Instead of <database>
postgresql, mysql, mariadb or firebird
Tools
189
Address
yourcompany.integras.digital/<database>/mcp
  • Instance for your company only
  • Read-only
  • Role permissions and audit trail
  • LGPD

What you can do

  • When the database slows down

    • Running queries, long ones and idle transactions, and the tree of who blocks whom.
    • The queries that spend the most time, disk or temporary files, and the execution plan of a query.
  • Indexes and space

    • Unused, duplicate, redundant or invalid indexes, and index suggestions.
    • The largest tables and indexes, the size of each database and fragmentation.
  • Health and replication

    • Cache hit ratio, checkpoint pressure, saturated and aborted connections.
    • Replication status, replica lag and slots, and on Firebird the sweep and stuck transactions.
  • Schema and configuration

    • Tables, columns, foreign keys, triggers and routines.
    • Settings that differ from the default, users, roles and privileges.

Ready questions

Copy one, paste it with the connector on and change the place or period to yours.

  1. The database just got slow. Who is blocking whom, and for how long?

  2. Which 10 queries consume the most time, and what do they have in common?

  3. Which indexes are not used, and how much space would I gain by removing each one?

  4. Which tables grew the most, and how much space does each database on the server take?

Show 4 more questions
  1. Run the weekly database health review and list what needs attention.

  2. Is the replica lagging? By how much, and since when?

  3. Which configuration settings differ from the default, and is any of them a concern?

  4. On Firebird, is a stuck transaction holding back garbage collection?

How an answer is made

The AI does not guess: it calls a tool with parameters, reads the result and says where each number came from.

  1. You ask

    The database just got slow. Who is blocking whom, and for how long?

    In plain words, as you would ask a colleague.

  2. The AI calls the tool

    postgres_blocking_tree database=erp

    With the parameters taken from the question.

  3. It reads the result and answers

    The session holding the lock, its query and how long it has been open, and the sessions waiting for it.

    Ending the session is up to you: the connector only reads.

    The numbers come from the query, not from the model’s memory.

  4. And says where it came from
    • PostgreSQL catalog (pg_stat_activity and pg_locks), queried live

    The source and the date, so you can check.

Tools 189

Across the four databases, taken from the code and grouped by subject. Each connector brings only the tools of its own engine.

189 tools

PostgreSQL 52

Built for PostgreSQL 17; some tools may not work on 13 to 16. Works with a user that has query permission. Includes slow queries through pg_stat_statements, vacuum, wraparound, replication and WAL.

Information 4 tools
  • postgres_version Server version
  • postgres_now Server date/time
  • postgres_current_database Current database
  • postgres_server_uptime Server uptime
Sizing 4 tools
  • postgres_database_size Database size
  • postgres_database_sizes_all Sizes of all databases
  • postgres_table_sizes_top Top 50 tables by size
  • postgres_index_size_top Top 50 indexes by size
Schema 6 tools
  • postgres_schemas_list Database schemas
  • postgres_tables_list Tables in database
  • postgres_table_detail Table details
  • postgres_columns_of Columns of a table
  • postgres_foreign_keys Foreign keys of a table
  • postgres_triggers_list Database triggers
Indexes 5 tools
  • postgres_indexes_for_table Indexes of a table
  • postgres_unused_indexes_safe Unused indexes (safe)
  • postgres_duplicate_indexes Duplicate indexes
  • postgres_invalid_indexes Invalid indexes
  • postgres_bloat_estimate Bloat estimate (approximate)
Activity 5 tools
  • postgres_running_queries Running queries
  • postgres_blocking_tree Blocking tree
  • postgres_long_running_transactions Long-running transactions
  • postgres_connections_summary Connections summary
  • postgres_locks_active Active locks (not granted)
Health 9 tools
  • postgres_cache_hit_ratio Shared buffer hit ratio per table
  • postgres_vacuum_health Vacuum health per table
  • postgres_replication_status Physical replication status
  • postgres_replication_slot_health Replication slot health
  • postgres_wraparound_status XID wraparound status
  • postgres_sequence_exhaustion Sequence exhaustion
  • postgres_checkpoint_pressure Checkpoint pressure
  • postgres_temp_files_pressure Temp files pressure
  • postgres_table_access_pattern Table access pattern
Operations 3 tools
  • postgres_progress_operations Operations in progress
  • postgres_partition_inventory Partition inventory
  • postgres_materialized_view_freshness Materialized view status
Replication 2 tools
  • postgres_logical_replication_status Logical replication status
  • postgres_recovery_conflicts Recovery conflicts
WAL / I-O 2 tools
  • postgres_wal_throughput WAL throughput
  • postgres_io_stats I/O stats per backend
Extensions 5 tools
  • postgres_extensions_inventory Available and installed extensions
  • postgres_slow_queries_by_time Top queries by mean time
  • postgres_slow_queries_by_io Top queries by I/O
  • postgres_slow_queries_by_temp Top queries by temp files
  • postgres_slow_queries_by_planning Top queries by planning time
Users 3 tools
  • postgres_users_list Users and roles
  • postgres_role_memberships Role memberships
  • postgres_current_user Current user and privileges
Settings 3 tools
  • postgres_settings_show Show a specific setting
  • postgres_settings_all All settings
  • postgres_settings_drift Settings diverging from defaults
Meta 1 tool
  • postgres_available_capabilities Available capabilities

MySQL 47

Built for MySQL 8.0; some tools need 8.0.22, or performance_schema and the sys schema turned on. Needs the SELECT, PROCESS and REPLICATION CLIENT privileges. Includes InnoDB, replication and GTID.

Information 4 tools
  • mysql_version Server version
  • mysql_uptime Server uptime
  • mysql_now Server date/time
  • mysql_server_identity Server identity
Sizing 4 tools
  • mysql_database_sizes_all All database sizes
  • mysql_table_sizes_top Top 50 tables by size
  • mysql_index_sizes_top Top 50 indexes by size
  • mysql_fragmentation_top Top 50 tables by fragmentation
Indexes 5 tools
  • mysql_indexes_for_table Indexes for a table
  • mysql_low_cardinality_indexes Low cardinality indexes
  • mysql_duplicate_indexes Duplicate indexes
  • mysql_unused_indexes Unused indexes
  • mysql_redundant_indexes Redundant indexes
Schema 6 tools
  • mysql_schemas_list List schemas (databases)
  • mysql_tables_list List tables
  • mysql_columns_of Columns of a table
  • mysql_foreign_keys Foreign keys
  • mysql_triggers_list List triggers
  • mysql_routines_list List routines
Activity 5 tools
  • mysql_running_queries Running queries
  • mysql_long_running_queries Long-running queries
  • mysql_connections_summary Connections summary
  • mysql_idle_transactions Idle transactions
  • mysql_lock_waits Lock waits
Health 8 tools
  • mysql_buffer_pool_hit_ratio InnoDB buffer pool hit ratio
  • mysql_table_cache_hit_ratio Table cache hit ratio
  • mysql_temp_disk_table_ratio Temporary disk table ratio
  • mysql_thread_cache_efficiency Thread cache efficiency
  • mysql_aborted_connections Aborted connections
  • mysql_slow_query_rate Slow query rate
  • mysql_connection_saturation Connection saturation
  • mysql_row_lock_waits InnoDB row lock waits
Engine 4 tools
  • mysql_innodb_metrics InnoDB metrics
  • mysql_buffer_pool_stats InnoDB buffer pool stats
  • mysql_redo_log_pressure Redo log write pressure
  • mysql_row_operations InnoDB row operations
Replication 4 tools
  • mysql_replica_status Replica channel status
  • mysql_gtid_status GTID status
  • mysql_binary_logs Binary log configuration
  • mysql_source_status Source binary-log status
Settings 3 tools
  • mysql_variables_show Show variables by pattern
  • mysql_variables_all All global variables
  • mysql_settings_drift Settings drift from OLTP baseline
Users 3 tools
  • mysql_users_list Users list
  • mysql_privileges Schema privileges
  • mysql_roles Role grants
Meta 1 tool
  • mysql_available_capabilities Available capabilities

MariaDB 48

Built for MariaDB 10.6 and 11. Since performance_schema comes turned off in MariaDB, status and variables come from information_schema. Needs SELECT, PROCESS and REPLICATION CLIENT, and also measures the query cache.

Information 4 tools
  • mariadb_version Server version
  • mariadb_now Server date/time
  • mariadb_server_identity Server identity
  • mariadb_uptime Server uptime
Sizing 4 tools
  • mariadb_database_sizes_all All database sizes
  • mariadb_table_sizes_top Top 50 tables by size
  • mariadb_index_sizes_top Top 50 indexes by size
  • mariadb_fragmentation_top Top 50 tables by fragmentation
Schema 6 tools
  • mariadb_schemas_list List schemas (databases)
  • mariadb_tables_list List tables
  • mariadb_columns_of Columns of a table
  • mariadb_foreign_keys Foreign keys
  • mariadb_triggers_list List triggers
  • mariadb_routines_list List routines
Indexes 5 tools
  • mariadb_indexes_for_table Indexes for a table
  • mariadb_low_cardinality_indexes Low cardinality indexes
  • mariadb_duplicate_indexes Duplicate indexes
  • mariadb_unused_indexes Unused indexes
  • mariadb_redundant_indexes Redundant indexes
Activity 5 tools
  • mariadb_running_queries Running queries
  • mariadb_long_running_queries Long-running queries
  • mariadb_connections_summary Connections summary
  • mariadb_idle_transactions Idle transactions
  • mariadb_lock_waits Lock waits
Health 9 tools
  • mariadb_buffer_pool_hit_ratio InnoDB buffer pool hit ratio
  • mariadb_table_cache_hit_ratio Table cache hit ratio
  • mariadb_temp_disk_table_ratio Temporary disk table ratio
  • mariadb_thread_cache_efficiency Thread cache efficiency
  • mariadb_aborted_connections Aborted connections
  • mariadb_slow_query_rate Slow query rate
  • mariadb_connection_saturation Connection saturation
  • mariadb_row_lock_waits InnoDB row lock waits
  • mariadb_query_cache_efficiency Query cache efficiency
Engine 4 tools
  • mariadb_innodb_metrics InnoDB metrics
  • mariadb_buffer_pool_stats InnoDB buffer pool stats
  • mariadb_redo_log_pressure Redo log write pressure
  • mariadb_row_operations InnoDB row operations
Settings 3 tools
  • mariadb_variables_show Show variables by pattern
  • mariadb_variables_all All global variables
  • mariadb_settings_drift Settings drift from OLTP baseline
Users 3 tools
  • mariadb_users_list Users list
  • mariadb_privileges Schema privileges
  • mariadb_roles Role grants
Replication 4 tools
  • mariadb_replica_status Replica GTID positions
  • mariadb_gtid_status GTID status
  • mariadb_binary_logs Binary log configuration
  • mariadb_source_status Source binary-log status
Meta 1 tool
  • mariadb_available_capabilities Available capabilities

Firebird 42

Based on Firebird 3.0, with what works on 2.5 and what 4 and 5 add (replication, configuration, profiler). Works with any user with query permission. Includes sweep, stuck transactions (OIT/OAT) and the execution plan.

Information 3 tools
  • firebird_version Server version
  • firebird_current_database Current database
  • firebird_current_user Current user
Database Health 5 tools
  • firebird_database_summary Database summary
  • firebird_oat_oit_gap OIT/OAT gap (stuck transactions)
  • firebird_sweep_status Sweep status
  • firebird_forced_writes_status Forced writes status
  • firebird_backup_state Backup state
Activity 5 tools
  • firebird_active_attachments Active attachments
  • firebird_running_queries Running queries
  • firebird_long_running_queries Long-running queries
  • firebird_long_running_transactions Long-running transactions
  • firebird_idle_in_transaction Idle-in-transaction attachments
Schema 7 tools
  • firebird_tables_list Tables list
  • firebird_columns_of Columns of table
  • firebird_foreign_keys Foreign keys
  • firebird_triggers_list Triggers list
  • firebird_procedures_list Procedures list
  • firebird_generators_list Generators (sequences) list
  • firebird_exceptions_list Exceptions list
Indexes 3 tools
  • firebird_indexes_for_table Indexes for table
  • firebird_low_selectivity_indexes Low-selectivity indexes
  • firebird_index_recommendations Index recommendations
Query Analysis 2 tools
  • firebird_explain_query Explain query plan
  • firebird_index_suggestions_for_query Index suggestions for query
Health 5 tools
  • firebird_cache_hit_ratio Cache hit ratio
  • firebird_record_operations Record operations
  • firebird_table_access_pattern Table access pattern
  • firebird_memory_usage Memory usage
  • firebird_io_stats I/O stats
Replication 2 tools
  • firebird_replica_mode Replica mode (FB4+)
  • firebird_replication_attachments Replication attachments (FB4+)
Users 3 tools
  • firebird_users_list Users list
  • firebird_roles_list Roles list
  • firebird_privileges User privileges
Settings 3 tools
  • firebird_config_show Show config setting (FB4+)
  • firebird_config_all All config settings (FB4+)
  • firebird_config_drift Config drift (FB4+)
Catalog 2 tools
  • firebird_data_types Data types
  • firebird_charsets Character sets
Profiler 1 tool
  • firebird_profiler_slowest Slowest profiled statements (FB5+)
Meta 1 tool
  • firebird_available_capabilities Available capabilities

Every connector also brings relato_enviar and relato_listar, to report an error or ask for an improvement, and, when the account has a knowledge base, knowledge_search, knowledge_read_document and knowledge_save_note.

Limits and notices

  • Read-only: it reads the catalog and the statistics, not the business data.
  • Some tools depend on the version and on features turned on.
  • Each person sees only what their role grants.
  • Every call stays in the audit trail.
See all notices (7)
  • Database diagnostics, not queries on the business data: the tools read the server’s catalog and statistics.
  • PostgreSQL, MySQL, MariaDB and Firebird are separate connectors; each active one counts toward the plan’s connector limit.
  • Some tools depend on the version or on features turned on in the server (pg_stat_statements, performance_schema, Firebird 4 or 5); the available_capabilities tool tells what your server allows.
  • Read-only: the tools query and never write, change or delete anything in your system.
  • The connection leaves your company’s own Integras server at the time of each question, over an encrypted channel. The data is not copied, and the credential is stored encrypted (AES-256).
  • Role permissions (RBAC): each person only uses the tools their role grants; the rest stays blocked, and a role change takes effect in less than 1 minute.
  • Audit trail: every call is logged with the person, the role, the parameters and the time.

How to connect and price

In Claude

  1. Sign up and activate

    Choose a plan on the site and activate the PostgreSQL, MySQL, MariaDB or Firebird connector in the admin panel, with the database address and a read-only user.

  2. Grant it to roles

    In Permissions, choose who uses the connector and which tools each role sees.

  3. Each person adds it in Claude

    A custom connector with yourcompany.integras.digital/<database>/mcp, with their own account.

In ChatGPT

The same address goes in as a custom connector (remote MCP server), with the same login and the same permissions, on the ChatGPT plans that offer it.

Price

For companies
Charged separately, on the plan’s invoice, and counts as one of the active connectors. Plans from R$ 399/month, with 10 users.
Sign up Talk to sales

All prices

Ask your first question today.

Signing up takes a few minutes, and the connector shows up in Claude right after.

Frequently asked questions

Can the connector bring down or change the database?

No. The tools are read queries on the catalog and the statistics, and the connector recommends a user that only has query permission.

Does it read the data in my tables?

That is not what it is for: it shows the structure, the activity and the health of the database. To ask about business data, use a system connector, such as ORGEN-AI or SuiteCRM.

Does it work with a database in the cloud?

It works with any server that accepts the connection from Integras, in the cloud or on your network. Some metrics depend on what the provider allows.

Do I need one connector per database?

Each type of database is a connector of its own, with the tools of its engine, and each connected server counts as an active connector toward the plan’s limit. To connect more than one server of the same database, talk to us.