# DataClawe — Database as a Utility

An MCP server that gives an agent access to MySQL and PostgreSQL through JSON commands in DCL. Handy when you need to read and write data without writing SQL.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: DataClawe
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/DataClawe/dcl-spec
- Updated: 2026-03-30
- HTML: https://affpapa.org/en/nevibecode/mcp/dataclawe-database-as-a-utility

## What it does

DataClawe — Database as a Utility runs on the open DCL (DataClawe Command Language) standard: database commands are plain JSON, and the server turns them into native SQL. Your existing database and application stay untouched. The actions are the familiar ones — `SELECT`, `INSERT`, `UPDATE`, `DELETE` — plus `COUNT`, `EXISTS`, `SCHEMA`, `TABLES`, `STATS`, `TIMELINE` and table operations such as `TABLE_CREATE` and `TABLE_COPY`.

\`WHERE` conditions are strings written the way MySQL engineers write them: `status = 'active'`, `age >= 20`, `name LIKE 'kimura%'`, `status IN (...)`, `BETWEEN`, `NULL` checks. Several conditions are ANDed by default; OR has its own form. Aggregation with `SUM`, `AVG` and `COUNT` works too, with grouping by a column.

The schema lives inside the table as one `status=8` declaration row. The first `INSERT` into a table that does not exist creates it, and new columns get appended to the schema with the type `text`. Point the server at a legacy MySQL or PostgreSQL database and the real column types land in that same row. Deletes are logical: the record is flagged, not erased.

The server is reached at `https://mcp.dataclawe.com/sse`, so there is no package to install locally.

## Requirements
- Remote server: `https://mcp.dataclawe.com/sse`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport sse dataclawe-database-as-a-utility https://mcp.dataclawe.com/sse
```

### Codex

**Codex**
- Codex connects MCP servers over stdio and streamable HTTP only, and this server speaks SSE

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dataclawe-database-as-a-utility": {
            "url": "https://mcp.dataclawe.com/sse"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dataclawe-database-as-a-utility": {
            "type": "sse",
            "url": "https://mcp.dataclawe.com/sse"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t sse dataclawe-database-as-a-utility https://mcp.dataclawe.com/sse
```

## When to use it
- pull active users over 20 without writing SQL
- insert a row into a table from the agent
- inspect a table schema before querying
- sum and average orders grouped by customer
- copy a table before a migration

## Example prompts
- Show me the schema of the `users` table
- Find active users with `age >= 20`, order by `created_at`, show the first 10
- Count the records in `orders` with status `paid`

## Similar
- [database-optimization](https://affpapa.org/en/nevibecode/agents/database-optimization.md) — subagent · 3924 installs
- [MCP Database Server](https://affpapa.org/en/nevibecode/mcp/mcp-database-server.md) — MCP server · ★ 19
- [database-cloud-optimization-database-optimizer](https://affpapa.org/en/nevibecode/agents/database-cloud-optimization-database-optimizer.md) — subagent · ★ 41823
- [database-performance-debugging](https://affpapa.org/en/nevibecode/skills/database-performance-debugging.md) — skill · 493 installs
- [database-indexing-strategy](https://affpapa.org/en/nevibecode/skills/database-indexing-strategy.md) — skill · 486 installs
- [database-optimizer](https://affpapa.org/en/nevibecode/skills/database-optimizer.md) — skill · 286 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
