DatI

Ubah database menjadi alat MCP yang aman dan kaya semantik untuk Agen AI. Dilengkapi NL2SQL bawaan, inspeksi metadata skema, dan templat kueri parameter.

Dokumentasi

DatI - Database Semantic Gateway for AI Agents

English | 简体中文

DatI (Data Intelligence) is a lightweight semantic gateway connecting AI Agents with enterprise databases. Simply connect your database, enrich semantic metadata, and configure built-in or parameterized SQL tools to publish an MCP service — ready for your agents or any MCP host.

┌────────────────────┐  ┌────────────────────┐  ┌────────────────────┐
│  User A: OpenCode  │  │  User B: WorkBuddy │  │  User N: DataAgent │
└──────────┬─────────┘  └──────────┬─────────┘  └──────────┬─────────┘
           └───────────────────────┼───────────────────────┘
                                   │ MCP (Streamable HTTP)
                                   ▼
┌─────────────────────────────── DatI ───────────────────────────────┐
│     ┌──────────────┐     ┌──────────────┐     ┌──────────────┐     │
│     │   Semantic   │     │   Security   │     │    Tools     │     │
│     └──────────────┘     └──────────────┘     └──────────────┘     │
└──────────────────────────────────┬─────────────────────────────────┘
                                   │
                                   ▼
┌────────────────────────────────────────────────────────────────────┐
│    MySQL     │   PostgreSQL    │    ClickHouse    │      Doris     │
└────────────────────────────────────────────────────────────────────┘

Try It Online

Demo URL: http://47.99.122.223:18085/

Account / Password: demo / demo123

The demo instance is preloaded with sample data and reset periodically.

Demo

Data and configuration reference the AdventureWorks sample and can be automated via the dati-ops skill.

1. Data Source Metadata Configuration (configurable tables, columns, and values)

View Demo (GIF)

Data Source Metadata Configuration

2. Business Subject Configuration (select relevant tables, define business terms)

View Demo (GIF)

Subject Configuration

3. MCP Service Configuration (choose business subjects, enable built-in tools, add parameterized SQL tools)

View Demo (GIF)

MCP Service Configuration

4. Configure MCP in Agent (e.g., Antigravity)

View Screenshot

Configure MCP in Agent

5. Query Data in Agent

View Demo (GIF)

Query Data in Agent

Why DatI?

  1. Multi-Database Support: Supports MySQL, PostgreSQL, ClickHouse, Doris, and other relational and analytical databases
  2. Semantic Enhancement: Supports business terms, column aliases, and automatic enum dictionary extraction. Combined with semantic search, it helps models understand business jargon and find the right tables
  3. Flexible Integration: Based on standard MCP (Streamable HTTP), easily integrates into your existing agents or workflows
  4. Effortless MCP Publishing: Ready-to-use built-in tools (schema inspection, SQL execution) and parameterized SQL tools to publish MCP services with zero extra deployment
  5. Security & Governance: Centrally managed database credentials with user-level permission and data scope isolation

Use Cases

  • Conversational Data Analysis (NL2SQL): Connect business databases and support NL2SQL analysis workflows with semantic metadata and built-in tools
  • Lightweight App Development: Wrap databases as MCP services so agents can query and update data through conversation to build lightweight applications

Tech Stack

  • Backend: Spring Boot 3.5.x + Java 21 + JPA
  • Frontend: Vue 3 + TypeScript + Vite + Element Plus + TailwindCSS 4
  • Database: H2 (Development) / MySQL / PostgreSQL (Production)
  • Search Engine: Elasticsearch (Semantic Retrieval)

Documentation

Acknowledgments

Thanks to the LINUX DO community for discussions and support.