AI connector

AI for Database in Claude and ChatGPT

Ask your databases questions, run read-only SQL and set up alerts without leaving your AI assistant. It uses the connections, permissions and credits of your AI for Database workspace.

Connect in Claude

  1. 1Open the AI for Database listing in the Claude directory, or search for it under Settings → Connectors.
  2. 2Click Connect and sign in to AI for Database.
  3. 3Review the access and click Allow.

Connect in ChatGPT

  1. 1Open Settings → Security and login and turn on Developer mode.
  2. 2Go to chatgpt.com/plugins, click Create MCP app and enter the server URL below.
  3. 3Sign in to AI for Database, click Allow, then pick it from the tools menu in a new chat.
https://mcp.aifordatabase.com/mcp

You need an AI for Database account with at least one connection. New accounts can add the built-in sample database to try it.

Muse by Meta

In Muse, open Connectors and search for AI for Database. Click Connect, sign in and click Allow, then ask Muse about your data.

Things to ask

  • “Which database connections do I have in AI for Database?”
  • “How many customers do we have on each plan?”
  • “Show me the five largest payments last month, with the customer name.”
  • “Write a read-only query for weekly signups over the last quarter and run it.”
  • “Email me every Monday if any support ticket has been open for more than 7 days.”

What the assistant can do

ToolWhat it doesType
list_connectionsList your database connections.Read
get_schemaShow a connection’s tables, columns and relationships.Read
run_queryRun SQL inside a read-only transaction. Writes are rejected by the database.Read
ask_databaseAsk a question in plain English; get the answer, the SQL and the rows.Uses AI credits
list_dashboardsList your dashboards.Read
list_workflowsList alert workflows and their triggers.Read
create_workflowCreate a SQL check that sends email or webhook alerts.Can send alerts
run_workflowRun a workflow now; its alerts fire if the check returns rows.Can send alerts
request_featureSend a feature request or feedback to the AI for Database team, with your account details so we can follow up.Write
get_usageShow this billing period’s AI credit budget and usage.Read

Queries run read-only. Tools that can send email or webhook alerts are labelled as such to Claude and ChatGPT. To review each one before it runs, set it to Needs approval in Claude under Settings → Connectors → AI for Database. The connector cannot change billing, team members or connection credentials.

Disconnect, privacy and support

Remove the connector in Claude or ChatGPT, or revoke its key under Settings → API Keys in AI for Database; a revoked key stops working immediately. The assistant receives only the results of the tools it runs, and AI for Database never sees your password or your other conversations. See the privacy policy and security overview. Questions: hello@aifordatabase.com.