
DataClawe — Database as a Utility
com.dataclawe由 dataclawe.com 發布官方發布者v1.1.0更新於 Oct 24, 2026
AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.
概覽
遠端 MCP 伺服器,讓助理以 DataClawe 的 JSON 指令語言而非 SQL 來查詢與修改 MySQL 或 PostgreSQL 資料。
- 可以做什麼
- 讀取資料:依條件篩選、排序與限制筆數,進行查詢、計數、存在性判斷與彙總
- 檢視結構:列出資料表、讀取欄位定義,取得筆數、更新時間與儲存大小等資料表統計
- 寫入資料:新增、更新紀錄,以及邏輯刪除紀錄
- 管理資料表:建立、複製、重新命名與邏輯刪除資料表
- 檢視歷程:取得某筆紀錄依時間排列的變更歷程
- 適用情境
- 適合讓助理在不寫 SQL 的情況下操作既有的 MySQL 或 PostgreSQL 資料庫,例如日常查詢、報表取數,或在舊系統上做簡單的紀錄維護。
- 執行需求
- 遠端 SSE 端點 mcp.dataclawe.com;需 OAuth 驗證,透過 Authorization 標頭以 Bearer 格式攜帶 DataClawe 存取金鑰,金鑰須在廠商網站取得。隱含需要 DataClawe 帳號及已連接的 MySQL 或 PostgreSQL 資料庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DataClawe — Database as a Utility,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 SSE。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.dataclawe%2Fdataclawe-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"dataclawe-database-as-a-utility": {
"type": "sse",
"url": "https://mcp.dataclawe.com/sse"
}
}
}README
DCL — DataClawe Command Language
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."
What is DCL?
DCL (DataClawe Command Language) is an open standard for communicating with databases using simple JSON.
It is designed for:
- AI agents (Claude, GPT, Cursor, and others) to safely read and write structured data
- Frontend engineers who need database access without writing SQL
- MCP (Model Context Protocol) tool integration
- Any application connecting to MySQL or PostgreSQL — legacy or new
DCL translates into native SQL internally. Your existing database does not change. Your existing application does not change.
Design Philosophy
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.
Quick Start
Fetch data
Insert a record
Update records
Delete a record (logical delete)
Actions
WHERE Conditions
WHERE is an array of condition strings. Multiple conditions are AND by default.
Basic comparisons
OR conditions
AND + OR combined
LIKE
IN
BETWEEN
NULL checks
Aggregation
COUNT
EXISTS
SCHEMA
TABLES
TABLE_CREATE — Create a table
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.
status=8 Schema Declaration Row
DataClawe maintains one status=8 declaration row per table.
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.
STATS — Table statistics
Returns record count, last updated timestamp, and storage size. Useful for AI agents to assess table state before operating.
Example response:
TIMELINE — Record change history
Returns the change history (created, updated, logical delete) of a record in chronological order. Useful for AI agents tracking data evolution.
TABLE_COPY — Copy a table
Copies a table under a new name. Used for backups, migrations, and testing.
TABLE_RENAME — Rename a table
Renames a table.
TABLE_DROP — Drop a table (logical delete)
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.
Response Format
Success
Error
Error codes
Integration
DCL works over two protocols. The DCL command itself is identical in both cases.
DCL payload (identical in both protocols)
This DCL JSON is the same regardless of whether you call via REST API or MCP. Only the outer protocol layer differs.
Supported Databases
DCL normalizes differences between MySQL and PostgreSQL. You write one DCL command. DataClawe handles the rest.
Complexity Layers
DCL is designed in two layers. You choose the layer you need.
DCL Standard — this specification
For AI agents, frontend engineers, and anyone doing straightforward data operations.
- No JOIN. No subquery.
- Readable by anyone who knows MySQL basics.
- Covers the vast majority of real-world CRUD needs.
If Standard covers your needs, you never have to go further.
DCL Advanced — coming in v1.1
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
Why two layers?
The same engine handles both. The same JSON structure. No new syntax to learn when you move from Standard to Advanced — just new keys.
What remains intentionally unsupported
The following are out of scope in both Standard and Advanced, to keep DCL safe and predictable for AI agents:
- Stored procedures
- Schema creation or
ALTER TABLE - Raw SQL passthrough
- Physical schema destruction (immediate
DROP TABLEequivalent)
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.
Versioning
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.
Contributing
DCL is an open specification. Feedback, proposals, and pull requests are welcome.
- Open an issue to propose a new action or operator
- Open a pull request to improve documentation or examples
- All contributions must follow the design philosophy: readable, MySQL-familiar, BASIC-level simplicity
Roadmap
v1.0 — DCL Standard
- Spec finalization
- JSON Schema for validation (
dcl.schema.json) - Reference implementation in Go (DataClawe Engine)
- MCP server reference implementation
- MySQL wire protocol support
- Multi-tenant isolation specification
v1.1 — DCL Advanced
- JOIN specification (INNER / LEFT / RIGHT)
- Subquery support
- Nested aggregation
SDKs
- JavaScript / TypeScript
- PHP
- Python
- Go
Pricing
DataClawe uses a tiered pricing model that scales from individual developers to enterprise.
Initial registration fee: $20 (one-time, all plans)
Usage rates (Business plan — overage)
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.
Background
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.
License
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
來源:README.md,提交 373a546
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 75%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。