ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้ว
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

DataClawe — Database as a Utility

โดย DataClaweรุ่น 1.1.0i★ 0iรันบนคลาวด์
ชื่อใน registrycom.dataclawe/dataclawe-mcp

วิธีติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนคลาวด์
  • ช่องทาง (transport): SSE
  • หมวด: ฐานข้อมูลและชุดข้อมูล
  • ต้องใส่ค่าเหล่านี้: Authorization

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 2/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (mcp.dataclawe.com)

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ · ประมาณ 5 นาที

ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว

  1. สมัครและสร้างคีย์ของ DataClawe — Database as a Utility

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  2. เปิดหน้า Connectors ของ Claude

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. กด “+ Add” → “Add custom connector” แล้วกรอก 2 ช่องนี้

    คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue

    Name · ชื่อDataClawe — Database as a Utility
    Remote MCP server URL · ที่อยู่https://mcp.dataclawe.com/sse

    ที่หัวข้อ Request headers เพิ่มชื่อและค่านี้

    ชื่อ headerAuthorization
    ค่าBearer <วางคีย์ของคุณตรงนี้>

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

    หัวข้อ Authentication ปล่อยตามที่ Claude ตรวจเจอ แล้วกด Add

  4. เปิดใช้ในแชต

    +ConnectorsDataClawe — Database as a Utility

  5. ลองเลย

    ใช้ DataClawe — Database as a Utility บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ DataClawe — Database as a Utility หรือมีชื่อเครื่องมือของ DataClawe — Database as a Utility ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ DataClawe — Database as a Utility ไม่ได้

DataClawe — Database as a Utility ต้องใส่คีย์ส่วนตัวตอนต่อ แต่หน้าช่วยเหลือของ OpenAI พูดถึงแค่การเข้าสู่ระบบแบบ OAuth ยังไม่มีวิธีใส่คีย์ที่เราตรวจได้

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ DataClawe — Database as a Utility ได้

  • ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว
  • ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)
  • ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)
  • ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)

ข · ตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูล ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ · ประมาณ 5 นาที

ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)

  1. สมัครและสร้างคีย์ของ DataClawe — Database as a Utility

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --transport sse dataclawe https://mcp.dataclawe.com/sse --header 'Authorization: ใส่ค่าของคุณ'

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น DataClawe — Database as a Utility ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ DataClawe — Database as a Utility บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ DataClawe — Database as a Utility หรือมีชื่อเครื่องมือของ DataClawe — Database as a Utility ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ · ประมาณ 5 นาที

ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)

  1. สมัครและสร้างคีย์ของ DataClawe — Database as a Utility

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ DataClawe — Database as a Utility ช่อง Authorization ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  4. เปิดแชตของ AI ใน Cursor โหมด Agent

  5. ลองเลย

    ใช้ DataClawe — Database as a Utility บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ DataClawe — Database as a Utility หรือมีชื่อเครื่องมือของ DataClawe — Database as a Utility ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ · ประมาณ 5 นาที

ต้องมีคีย์ของ DataClawe — Database as a Utility (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย)

  1. สมัครและสร้างคีย์ของ DataClawe — Database as a Utility

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย

    วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ DataClawe — Database as a Utility ช่อง Authorization ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  4. เปิดแชตของ AI ใน VS Code โหมด Agent

  5. ลองเลย

    ใช้ DataClawe — Database as a Utility บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ DataClawe — Database as a Utility หรือมีชื่อเครื่องมือของ DataClawe — Database as a Utility ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ

ที่อยู่https://mcp.dataclawe.com/sse

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ DataClawe — Database as a Utility อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ต่อผ่านเว็บ

Claude Code

claude mcp add --transport sse dataclawe https://mcp.dataclawe.com/sse --header 'Authorization: ใส่ค่าของคุณ'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "dataclawe": {
      "url": "https://mcp.dataclawe.com/sse",
      "headers": {
        "Authorization": "ใส่ค่าของคุณ"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "dataclawe": {
      "type": "sse",
      "url": "https://mcp.dataclawe.com/sse",
      "headers": {
        "Authorization": "ใส่ค่าของคุณ"
      }
    }
  }
}

ค่าที่ต้องใส่เอง

  • Authorization ความลับ จำเป็น HTTP header
    DataClawe access key in Bearer format (e.g. 'Bearer dc_xxxxxxxxxxxx'). Get your access key at dataclawe.com

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
โดเมนที่ยืนยัน
✓ dataclawe.com
licensei
ไม่ระบุ license
การเชื่อมต่อ
รันบนคลาวด์
รุ่นล่าสุดi
1.1.0
ส่งเข้า registryi
28 มี.ค. 2569
แก้โค้ดล่าสุดi
30 มี.ค. 2569
ผู้ทำ
DataClawe
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ต่อผ่านคลาวด์ได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 11 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน dataclawe.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • ! ควรระวัง

    ยังมีคนดูแล

    แก้โค้ดล่าสุด 8 เดือนที่ผ่านมา นานกว่า 6 เดือน

  • ✕ ไม่ผ่าน

    มีสัญญาอนุญาต (license)

    ไม่พบไฟล์ license ใน repo

  • ✓ ผ่าน

    endpoint ตอบ

    ตอบกลับใน 768 ms (HTTP 401)

  • ! ควรระวัง

    ล็อกอินแบบ OAuth

    ต้องใช้กุญแจหรือ token ที่คัดลอกมาวางเอง

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 1166 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 7% ของอีก 1166 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 17% ของอีก 1166 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

DataClawe — Database as a Utility ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: Authorization

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 8 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (1.1.0) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT แผน Business ขึ้นไป

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Dbx

Query databases from AI agents using connections configured in DBX.

โดย t8y2ใช้กันมาก↓ 9.4K/สัปดาห์★ 29.9Kอัปเดต 6 เดือนที่ผ่านมา

รันบนเครื่อง

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

โดย googleapisใช้กันมาก★ 16.8Kอัปเดต 6 วันที่ผ่านมา

รันบนเครื่อง

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

โดย googleapisใช้กันมาก★ 16.8Kอัปเดต 8 เดือนที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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
{

"dcl": "1.0", "action": "SELECT", "table": "users", "columns": ["id", "name", "email"], "where": [ "status = 'active'", "age >= 20" ], "order": "created_at DESC", "limit": 10, "offset": 0 }

Insert a record
{

"dcl": "1.0", "action": "INSERT", "table": "users", "data": { "name": "kimura", "email": "kimura@example.com", "status": "active" } }

Update records
{

"dcl": "1.0", "action": "UPDATE", "table": "users", "data": { "status": "inactive" }, "where": [ "id = 123" ] }

Delete a record (logical delete)
{

"dcl": "1.0", "action": "DELETE", "table": "users", "where": [ "id = 123" ] }


Actions

ActionDescriptionRead-only
SELECTFetch one or more records✅
COUNTCount matching records✅
EXISTSCheck if a record exists✅
SCHEMAGet column definitions for a table✅
TABLESList all available tables✅
STATSGet record count, last updated, and storage size✅
TIMELINEGet chronological change history of a record✅
INSERTCreate a new record❌
UPDATEUpdate existing records❌
DELETELogical delete (status flag)❌
TABLE_CREATECreate a new table (empty declaration)❌
TABLE_COPYCopy a table❌
TABLE_RENAMERename a table❌
TABLE_DROPLogical delete a table❌

WHERE Conditions

WHERE is an array of condition strings. Multiple conditions are AND by default.

Basic comparisons
"where": [

"status = 'active'", "age >= 20", "age <= 60", "status != 'deleted'" ]

OR conditions
"where": {

"OR": [ "status = 'active'", "status = 'pending'" ] }

AND + OR combined
"where": {

"AND": [ "age >= 20", { "OR": [ "status = 'active'", "status = 'pending'" ] } ] }

LIKE
"where": [

"name LIKE 'kimura%'" ]

IN
"where": [

"status IN ('active', 'pending')" ]

BETWEEN
"where": [

"age BETWEEN 20 AND 60" ]

NULL checks
"where": [

"deleted_at IS NULL" ]

"where": [

"deleted_at IS NOT NULL" ]


Aggregation

{

"dcl": "1.0", "action": "SELECT", "table": "orders", "columns": [ "SUM(amount) AS total", "AVG(amount) AS average", "COUNT(*) AS count" ], "where": [ "status = 'paid'" ], "group": "customer_id" }


COUNT

{

"dcl": "1.0", "action": "COUNT", "table": "users", "where": [ "status = 'active'" ] }


EXISTS

{

"dcl": "1.0", "action": "EXISTS", "table": "users", "where": [ "email = 'kimura@example.com'" ] }


SCHEMA

{

"dcl": "1.0", "action": "SCHEMA", "table": "users" }


TABLES

{

"dcl": "1.0", "action": "TABLES" }


TABLE_CREATE — Create a table

Declares a new empty table. Internally creates a single status=8 schema declaration row.

{

"dcl": "1.0", "action": "TABLE_CREATE", "table": "users" }

With optional schema definition:

{

"dcl": "1.0", "action": "TABLE_CREATE", "table": "users", "schema": { "name": "text", "age": "integer", "email": "text" } }

Without schema: Created with schema: null. Column types are auto-registered as text on first INSERT.


status=8 Schema Declaration Row

DataClawe maintains one status=8 declaration row per table.

status valuePurpose
status=1Normal record (active)
status=8Table declaration + schema cache
status=9Logically deleted

Example status=8 row content:

{

"schema": { "name": "text", "age": "text", "email": "text" } }

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).

First INSERT: {"name": "kimura", "age": 25}

→ Auto-create status=8: {"name":"text", "age":"text"} → INSERT the record

Second INSERT: {"name": "suzuki", "phone": "090-xxxx"} → "phone" is new → auto-append to status=8 schema → schema: {"name":"text", "age":"text", "phone":"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.

{

"dcl": "1.0", "action": "STATS", "table": "users" }

Example response:

{

"dcl": "1.0", "status": "OK", "data": { "table": "users", "record_count": 1024, "last_updated": "2026-03-28T10:00:00Z", "size_kb": 512 } }


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.

{

"dcl": "1.0", "action": "TIMELINE", "table": "users", "where": [ "id = 123" ] }


TABLE_COPY — Copy a table

Copies a table under a new name. Used for backups, migrations, and testing.

{

"dcl": "1.0", "action": "TABLE_COPY", "table": "users", "target_table": "users_backup_20260328" }


TABLE_RENAME — Rename a table

Renames a table.

{

"dcl": "1.0", "action": "TABLE_RENAME", "table": "users_old", "new_name": "users_archived" }


TABLE_DROP — Drop a table (logical delete)

Logically deletes a table. Data is not physically removed immediately.

{

"dcl": "1.0", "action": "TABLE_DROP", "table": "users_temp" }

Note: TABLE_DROP is a logical delete — not equivalent to SQL DROP TABLE. Data is not immediately destroyed.


Response Format

Success
{

"dcl": "1.0", "status": "OK", "count": 42, "data": [ { "id": 1, "name": "kimura", "email": "kimura@example.com" } ], "meta": { "table": "users", "elapsed_ms": 12 } }

Error
{

"dcl": "1.0", "status": "ERROR", "code": "TABLE_NOT_FOUND", "message": "Table 'users' does not exist" }

Error codes
CodeDescription
TABLE_NOT_FOUNDSpecified table does not exist
COLUMN_NOT_FOUNDSpecified column does not exist
INVALID_ACTIONUnknown action specified
INVALID_WHEREWHERE condition could not be parsed
PERMISSION_DENIEDTenant does not have access
CONNECTION_ERRORDatabase connection failed

Integration

DCL works over two protocols. The DCL command itself is identical in both cases.

ProtocolUsed byGuide
REST API (HTTPS POST)Frontend, Backend, any HTTP clientSee README.api.md
MCP (JSON-RPC 2.0 / SSE)AI agents (Claude, GPT, Cursor)See README.mcp.md
DCL payload (identical in both protocols)
{

"dcl": "1.0", "action": "SELECT", "table": "orders", "where": [ "status = 'pending'", "created_at >= '2026-01-01'" ], "order": "created_at DESC", "limit": 100 }

This DCL JSON is the same regardless of whether you call via REST API or MCP. Only the outer protocol layer differs.


Supported Databases

DatabaseStatus
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.


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

{

"dcl": "1.0", "action": "SELECT", "table": "users", "columns": ["users.id", "users.name", "orders.amount"], "join": [ { "table": "orders", "on": "users.id = orders.user_id", "type": "LEFT" } ], "where": [ "users.status = 'active'" ], "order": "orders.amount DESC", "limit": 20 }

Subquery

{

"dcl": "1.0", "action": "SELECT", "table": "users", "where": [ "id IN (SELECT user_id FROM orders WHERE status = 'paid')" ] }

Multiple JOINs

{

"dcl": "1.0", "action": "SELECT", "table": "orders", "columns": [ "orders.id", "users.name AS customer", "products.name AS product", "orders.amount" ], "join": [ { "table": "users", "on": "orders.user_id = users.id", "type": "INNER" }, { "table": "products", "on": "orders.product_id = products.id", "type": "LEFT" } ], "where": [ "orders.status = 'paid'", "orders.created_at >= '2026-01-01'" ], "order": "orders.created_at DESC" }

JOIN types supported in Advanced

TypeDescription
INNERRecords matching in both tables
LEFTAll left, matching right
RIGHTAll right, matching left

Why two layers?
SQL solved everything in one spec.

That is why SQL is still hard after 30 years.

DCL Standard is for everyone. DCL Advanced is for when you need more. You always start simple. You go deeper only when you must.

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 TABLE equivalent)

Note: TABLE_DROP in DCL is a logical delete — distinct from SQL DROP TABLE. It does not immediately destroy data.

DCL is a data operation lan

ตัดมาแค่ช่วงต้น อ่านต่อใน repo