One data toolkit · your workflow

Database MCP server
and an SQL CLI tool.

A database MCP (Model Context Protocol) server and an SQL (Structured Query Language) CLI (command-line interface) tool. MCP for database is the guide to that local database MCP server: project discovery, schemas and saved SQL queries, including PostgreSQL when the project includes it. You can also explore in the browser or work from the terminal. The SQL CLI tool is the terminal database client.

Illustrative workflow · sample data
datatug.app / project
CountryInvoicesTotalCanada842€189,245Germany512€98,431France493€87,612
$ datatug queryfollow the data▍
✦   Agent

Here are the related records, with the join shown.

✓ 3 sources connected
DATA
↗

Choose your way in

Three ways into one platform.

AI chat is part of the browser and terminal experiences. Agent integrations and embedded views keep their own status.

01

In your browser

Explore projects, inspect data, build queries, and chat with AI in the hosted DataTug app.

  • DataTug.app, the web appAvailable
  • Browser chat with your own API keyAvailable
  • Managed AI in the web appAvailable
Open DataTug.app
02

In your terminal

Explore with the interactive CLI, chat with AI, or run repeatable commands in scripts and pipelines.

SQL CLI tool

  • Terminal app (TUI)Available
  • Chat in the CLI and TUIAvailable
  • Managed AI in the CLIAvailable
Install the CLI
03

Integrated into your AI agent

Claude Code can use DataTug skills. The local MCP server exposes project discovery, schemas, and saved SQL queries to compatible agents. The MCP Apps explorer developer preview adds table and record views, sorting, paging, and parameter reruns for saved SQLite queries. Tested with the contributor reference host; see the setup guide for supported scope.

Database MCP server

  • Skills plugin for coding agentsAvailable
  • MCP serverAvailable
  • MCP Apps explorer (developer preview)Preview
See AI with DataTug Set up MCP & the explorer

What are you trying to do?

Start with the question.

Choose a familiar job and see how DataTug can help investigate it.

Join data across sources

Bring sales and country reference data together, then inspect the resulting rows.

Understand an unfamiliar schema

Follow Customer → Invoice → Track and see how records connect.

Trace an unexpected result

Start with a surprising value and follow its source and query context.

Pick up where you left off

Move between terminal and browser.

Explore interactively, keep the commands you can repeat, and return to the same data question from another surface.

Explore the CLI
datatug query› top customers by country✓ result ready
↗
CountrySpendCanada€189kGermany€98k

Build it into your workflow

Connect the pieces you need.

DataTug has CLI skills for Claude Code, a local stdio MCP server, and embedded grids and charts. Check each capability’s status before building around it.

CLI & scriptsAvailable
Claude Code skillsAvailable
Embedded grids & chartsAvailable
MCP serverAvailable
MeaningGraph integrationPlanned
Read integration docs

Find your starting point

See the AI workflow in motion.

DataTug.ai goes deeper on how AI can understand and investigate data with DataTug.

Explore DataTug.ai ↗