AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A JSON-based database command standard for AI agents, frontend engineers, and anyone who finds SQL too complex.
"If you understand MySQL and MSX-BASIC, you already understand DCL."
DCL (DataClawe Command Language) is an open standard for communicating with databases using simple JSON.
It is designed for:
DCL translates into native SQL internally. Your existing database does not change. Your existing application does not change.
DCL follows three rules:
1. If you can read it, you understand it.
No cryptic operators. No framework-specific syntax. No : chaining.
2. MySQL words. JSON structure.
Actions like SELECT, INSERT, UPDATE, DELETE are exactly what you expect. WHERE conditions are written the way MySQL engineers already write them.
3. MSX-BASIC level simplicity.
If a condition like age >= 20 needs an explanation, the design has failed.
4. Simple by default. Powerful when needed. Standard covers most real-world needs. Advanced covers the rest. You never pay the complexity cost until you need it.
| Action | Description | Read-only |
|---|---|---|
SELECT | Fetch one or more records | β |
COUNT | Count matching records | β |
EXISTS | Check if a record exists | β |
SCHEMA | Get column definitions for a table | β |
TABLES | List all available tables | β |
STATS | Get record count, last updated, and storage size | β |
TIMELINE | Get chronological change history of a record | β |
INSERT | Create a new record | β |
UPDATE | Update existing records | β |
DELETE | Logical delete (status flag) | β |
TABLE_CREATE | Create a new table (empty declaration) | β |
TABLE_COPY | Copy a table | β |
TABLE_RENAME | Rename a table | β |
TABLE_DROP | Logical delete a table | β |
WHERE is an array of condition strings. Multiple conditions are AND by default.
Declares a new empty table. Internally creates a single status=8 schema declaration row.
With optional schema definition:
Without schema: Created with
schema: null. Column types are auto-registered astexton first INSERT.
DataClawe maintains one status=8 declaration row per table.
| status value | Purpose |
|---|---|
status=1 | Normal record (active) |
status=8 | Table declaration + schema cache |
status=9 | Logically deleted |
Example status=8 row content:
Auto Schema Evolution:
Writing to a non-existent table via INSERT auto-creates the status=8 row.
New columns are automatically appended to the status=8 schema on each INSERT (type defaults to text).
When connecting to legacy MySQL/PostgreSQL, actual column types (VARCHAR(255), INT, etc.) are recorded in the status=8 row.
Returns record count, last updated timestamp, and storage size. Useful for AI agents to assess table state before operating.
Example response:
Returns the change history (created, updated, logical delete) of a record in chronological order. Useful for AI agents tracking data evolution.
Copies a table under a new name. Used for backups, migrations, and testing.
Renames a table.
Logically deletes a table. Data is not physically removed immediately.
Note: TABLE_DROP is a logical delete β not equivalent to SQL
DROP TABLE. Data is not immediately destroyed.
| Code | Description |
|---|---|
TABLE_NOT_FOUND | Specified table does not exist |
COLUMN_NOT_FOUND | Specified column does not exist |
INVALID_ACTION | Unknown action specified |
INVALID_WHERE | WHERE condition could not be parsed |
PERMISSION_DENIED | Tenant does not have access |
CONNECTION_ERROR | Database connection failed |
DCL works over two protocols. The DCL command itself is identical in both cases.
| Protocol | Used by | Guide |
|---|---|---|
| REST API (HTTPS POST) | Frontend, Backend, any HTTP client | See README.api.md |
| MCP (JSON-RPC 2.0 / SSE) | AI agents (Claude, GPT, Cursor) | See README.mcp.md |
This DCL JSON is the same regardless of whether you call via REST API or MCP. Only the outer protocol layer differs.
| Database | Status |
|---|---|
| MySQL 5.x / 8.x | β Supported |
| PostgreSQL 9β18 | β Supported |
| Others | π Planned |
DCL normalizes differences between MySQL and PostgreSQL. You write one DCL command. DataClawe handles the rest.
DCL is designed in two layers. You choose the layer you need.
For AI agents, frontend engineers, and anyone doing straightforward data operations.
If Standard covers your needs, you never have to go further.
For backend engineers who need more expressive power.
Same JSON structure. Same DataClawe engine. More capability when you need it.
JOIN
Subquery
Multiple JOINs
JOIN types supported in Advanced
| Type | Description |
|---|---|
INNER | Records matching in both tables |
LEFT | All left, matching right |
RIGHT | All right, matching left |
The same engine handles both. The same JSON structure. No new syntax to learn when you move from Standard to Advanced β just new keys.
The following are out of scope in both Standard and Advanced, to keep DCL safe and predictable for AI agents:
ALTER TABLEDROP TABLE equivalent)Note:
TABLE_DROPin DCL is a logical delete β distinct from SQLDROP TABLE. It does not immediately destroy data.
DCL is a data operation language, not a schema management language.
The "dcl": "1.0" field is required in every request and response.
Future versions will remain backward compatible. A DCL 1.0 request will always work against a DCL 2.0 server.
DCL is an open specification. Feedback, proposals, and pull requests are welcome.
v1.0 β DCL Standard
dcl.schema.json)v1.1 β DCL Advanced
SDKs
DataClawe uses a tiered pricing model that scales from individual developers to enterprise.
Initial registration fee: $20 (one-time, all plans)
| Plan | Monthly | Records | Sessions | SLA |
|---|---|---|---|---|
| Free | $0 | 2,000 | 100/day | No |
| Personal | $20 | up to 20,000 | up to 20,000/month | No |
| Business | $20+ | Unlimited | Unlimited | No |
| Enterprise | Contact us | Unlimited | Unlimited | Yes |
Usage rates (Business plan β overage)
| Item | Unit price |
|---|---|
| Record storage | $0.001 / record / month |
| Session | $0.001 / session |
Record size limit: 100KB per record. This covers IoT sensor data, CRM contacts, medical text records, WordPress posts, and financial transactions. Images and video files are out of scope β store them in CDN/object storage and keep the URL in DataClawe.
For Enterprise pricing, contact us at dataclawe.com/enterprise.
DCL is developed as part of the DataClawe project.
DataClawe is a database translation engine that connects legacy MySQL and PostgreSQL systems to AI agents, LLM pipelines, and cloud-native services β without rewriting the original system.
DCL is the command language that makes this connection possible for everyone, not just database engineers.
Legacy systems should not be destroyed. They should be translated.
DCL specification is released under Creative Commons Attribution 4.0 International (CC BY 4.0).
You are free to implement, extend, and build upon this specification. Attribution to DataClawe is appreciated.
DCL v1.1 β 2026 β DataClawe Project
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/dataclawe-database-as-a-utility)<a href="https://allmcps.com/mcp/dataclawe-database-as-a-utility"><img src="https://allmcps.com/api/badge/dataclawe-database-as-a-utility?style=directory" alt="DataClawe β Database as a Utility on AllMCPs" /></a>