# AI for Database

> AI for Database is an MCP server for databases. Ask your databases questions in plain English, run read-only SQL and set up data alerts. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://www.aifordatabase.com/ai-connector
- **MCP Registry name:** com.aifordatabase/aifordatabase
- **Categories:** databases
- **Listing updated:** 2026-11-13

## About

Ask your databases questions in plain English, run read-only SQL and set up data alerts.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http aifordatabase https://mcp.aifordatabase.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.aifordatabase.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "aifordatabase": {
      "url": "https://mcp.aifordatabase.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "aifordatabase": {
      "type": "http",
      "url": "https://mcp.aifordatabase.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "aifordatabase": {
      "serverUrl": "https://mcp.aifordatabase.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "aifordatabase": {
      "type": "http",
      "url": "https://mcp.aifordatabase.com/mcp"
    }
  }
}
```

## FAQ

### How do I add AI for Database to Claude Code?

Run this command in your terminal: claude mcp add --transport http aifordatabase https://mcp.aifordatabase.com/mcp

### What are the best alternatives to AI for Database?

The closest alternatives to AI for Database are Midplane, PlatypusDB, Lorebase, Sovaria and model2data studio.

## Alternatives

- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [PlatypusDB](https://ai-powered.com/mcp/platypusdb): PlatypusDB is an open-source MCP server for databases.
- [Lorebase](https://ai-powered.com/mcp/lorebase): Lorebase is an open-source MCP server for knowledge and memory.
- [Sovaria](https://ai-powered.com/mcp/sovaria): Sovaria is a freemium MCP server for databases.
- [model2data studio](https://ai-powered.com/mcp/model2data-studio): model2data studio is a freemium MCP server for databases.
- [semlayer](https://ai-powered.com/mcp/semlayer): semlayer is a free MCP server for databases.
- [bricksentry](https://ai-powered.com/mcp/bricksentry): bricksentry is an open-source MCP server for databases.
- [MCP Toolbox for Databases](https://ai-powered.com/mcp/mcp-toolbox-for-databases-2): MCP Toolbox for Databases is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/ai-for-database
