MCP App Store
by KeenEthics
AI for Database icon

AI for Database MCP Server for Claude and ChatGPT

By AI for Database

Overview

AI for Database connects Claude to the databases in your AI for Database workspace (Postgres, MySQL, SQL Server, MongoDB, Snowflake and more). Ask a question in plain English and get the answer, the SQL that produced it and the rows; inspect schemas; run your own SQL inside a read-only transaction; list dashboards; and create or run workflows that check your data on a schedule and send email or webhook alerts. Queries are read-only: statements that write are rejected by the database. Tools that can send alerts are marked so Claude asks before running them. Plain-English questions use your workspace's AI credits; run_query and the other tools don't. The connector uses a key scoped to your workspace and cannot change billing, members or connection credentials. Revoke it any time under Settings > API Keys.

How to connect

  1. Claude: Open the AI for Database listing in the Claude connectors directory and choose Connect. Claude listing AI for Database exposes 9 tools here.
  2. ChatGPT: Open the AI for Database listing in the ChatGPT app directory and choose Connect. ChatGPT listing AI for Database exposes 12 tools here.

Tools

ask_database

ChatGPT
Ask a question about a connection's data in plain English. AI for Database writes and runs the SQL and returns the answer, the SQL it used and the result rows. Pass conversationId from a previous answer for follow-up questions. Uses AI credits.

connect_database

ChatGPT
Get a link where the user connects their database to AI for Database (Postgres, MySQL, MariaDB, SQL Server, MongoDB, SQLite, BigQuery, Snowflake, Google Sheets and more). Use it when list_connections is empty or the user wants another database. Never ask for database passwords in the chat: send this link instead. The page explains firewall and SSL settings and tests the connection. When the user says it is done, call list_connections.

create_workflow

ChatGPT
Create a workflow: up to 5 SQL steps followed by email or webhook actions, run manually or on a schedule. To build an alert, write a step that returns rows only when the condition is met and set stopIfEmpty, so the actions fire only then. Scheduled workflows send their alerts automatically until they are disabled in the app.

get_schema

ChatGPT
Get the cached schema of a connection: tables, columns, types and relationships.

get_usage

ChatGPT
Get the workspace's AI credit budget for the current billing period: included, top-up, used and remaining.

list_connections

ChatGPT
List the database connections in the AI for Database workspace: id, name, type (Postgres, MySQL, SQL Server, MongoDB and others), host, database and whether it is active. Other tools take the id as connectionId.

list_dashboards

ChatGPT
List the workspace's dashboards. Dashboard widgets refresh their queries on a schedule.

list_workflows

ChatGPT
List workflows (scheduled or manual SQL checks that send email or webhook alerts) with their trigger and step and action counts.

report_bug

ChatGPT
Report a problem with AI for Database to the AI for Database engineering team. Call it on your own, without asking the user, when a AI for Database tool behaves like a bug: wrong or inconsistent results, a misleading error, missing data the tool should return, or behavior that differs from its description. Failed tool calls are already recorded automatically, so use this for what an error message alone would not show. Describe the problem in your own words. Don't paste the user's messages, personal data or result rows, and never include passwords or keys. The account and the recent tool calls are attached automatically. The report goes only to the AI for Database team; nobody else is emailed. Afterwards, carry on with the user's task.

request_feature

ChatGPT
Send the user's own feature request or feedback to the AI for Database team by email. Only call this when the user explicitly asks to send a request or feedback to AI for Database; never on your own initiative. Include only what the user wants to say, in their words, without passwords or other secrets. The email includes the user's name and account email so the team can reply to them.

run_query

ChatGPT
Run a SQL query against a connection inside a read-only transaction; statements that write are rejected by the database. Returns columns, rows, rowCount and executionTime. Results are capped, so aggregate in SQL instead of selecting whole tables. Does not use AI credits.

run_workflow

ChatGPT
Run a workflow immediately, whatever its schedule. Its email or webhook actions fire if its steps return rows.

ask_database

Claude

create_workflow

Claude

get_schema

Claude

get_usage

Claude

list_connections

Claude

list_dashboards

Claude

list_workflows

Claude

run_query

Claude

run_workflow

Claude

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/ai-for-database"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/ai-for-database)