# PlainQuery | MCP DB Agent

> PlainQuery | MCP DB Agent is an MCP server for databases. Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Repository:** https://github.com/jarvis-27/mcp-db-agent
- **MCP Registry name:** io.github.Jarvis-27/mcp-db-agent
- **Categories:** databases
- **Listing updated:** 2026-11-13

## About

Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-db-agent https://plainquery.in/mcp/
```

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

```sh
https://plainquery.in/mcp/
```

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

```json
{
  "mcpServers": {
    "mcp-db-agent": {
      "url": "https://plainquery.in/mcp/"
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp-db-agent": {
      "type": "http",
      "url": "https://plainquery.in/mcp/"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-db-agent": {
      "serverUrl": "https://plainquery.in/mcp/"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-db-agent": {
      "type": "http",
      "url": "https://plainquery.in/mcp/"
    }
  }
}
```

## FAQ

### How do I add PlainQuery | MCP DB Agent to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-db-agent https://plainquery.in/mcp/

### What are the best alternatives to PlainQuery | MCP DB Agent?

The closest alternatives to PlainQuery | MCP DB Agent 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/plainquery-mcp-db-agent
