Datus MCP — Model Context Protocol Server for Your Warehouse
Expose the agent over MCP so Claude Desktop, Cursor and Windsurf can query, audit and reason about your warehouse with shared context.
Why MCP for a Data Agent?
Every serious AI client — Claude Desktop, Cursor, Windsurf, Cline — speaks Model Context Protocol. Datus-MCP turns your warehouse into a native tool source those clients can call directly.
Data Tools, Not Data Copies
Any MCP Host, One Server
Governed by the Same Policy
MCP Use Cases Across AI Clients
Four host integrations — register Datus once, and the same context tools show up wherever your team already codes.
Ask Claude Desktop About Your Warehouse
Register Datus once. Claude answers “which orders shipped late last week?” by calling query_sql against your Snowflake, with lineage in every reply — the same governed surface API callers hit, on top of the semantic layer data engineers own.
Reproducible Analysis in Windsurf
Windsurf drafts SQL by calling draft_sql. You review before it runs; every accepted query lands in the workspace transcript with full lineage — the same anomaly investigation loop analysts follow, now inside the IDE, or from the CLI when the pipeline lives in a shell.
Bring Your Own MCP-Compatible Host
Cline, Continue, or a home-grown MCP client — Datus registers once and the same tools show up wherever the team prefers to work, no extra plumbing. Especially useful when self-hosting the open-source stack and pointing your own host at it.
{
"mcpServers": {
"datus": {
"command": "datus",
"args": ["mcp", "serve"],
"env": {
"DATUS_WORKSPACE": "growth",
"DATUS_DATASOURCE": "warehouse"
}
}
}
}Any MCP Host, One Config
The Datus MCP server ships as a single binary. Register it in your client's config once and the same tool set appears in Claude Desktop, Cursor, Windsurf and Cline — no per-host adapter needed.
MCP Primitives: Tools, Resources, Prompts
The three building blocks of the Model Context Protocol — Datus implements all of them on top of your stack.
Callable tools
Actions the host invokes with structured arguments — query_sql, draft_sql, explain_metric, list_tables.
Resources
Read-only references — schemas, metric definitions, past sessions — the host can attach to a conversation.
Prompts
Reusable prompt templates the host can invoke by name — "weekly report", "cohort analysis", "on-call check".
MCP Toolbox: Curated Data Tools for the AI Host
Four opinionated tools that turn a generic AI client into a data-aware assistant.
query_sql
list_tables
explain_metric
draft_sql
MCP Setup: Three Steps to a Live Tool
Add the server to your host's config, restart, and start invoking Datus tools.
- 01
Install the agent
Grab Datus from PyPI or Homebrew — the same binary powers the CLI, API and MCP server.
- 02
Register in your client
Add Datus to your MCP host's config file (Claude Desktop, Cursor, Windsurf, Cline — all use the same shape).
- 03
Restart and pick a tool
Restart your client, open the tool picker, and start invoking query_sql, explain_metric and the rest.
Pick the Interface That Fits Your Team
Four surfaces. One agent. Pick the one that fits your team.
CLI
Explore data, build context, and ship SQL from the terminal.
Web Chatbot
Chat with subagents from a browser — zero install.
API Server
Consume data services via REST — language agnostic.
MCP Server
Plug into Claude Desktop, Cursor, and any MCP client.
Frequently asked questions
Which MCP clients does Datus work with?
Any MCP-compatible client — Claude Desktop, Cursor, Cline, Continue, and custom clients built on the MCP SDK. Datus supports both stdio and HTTP transports.
What's the advantage over giving Claude raw warehouse credentials?
The Datus MCP server wraps the warehouse with the same context engine, governance and approved-answer cache used by the CLI — so the host AI sees governed, scoped tools instead of an open SQL connection.
Can I scope the server to specific datasources or tools?
Yes. Configure exposed tools, allowed datasources, and read-only mode per server instance. Run separate `datus-mcp` processes for different teams or audiences.
Does the MCP server share context with the CLI and chatbot?
Yes — all four surfaces (CLI, chatbot, API, MCP) read from and write back to the same evolvable context store, so improvements made in one show up everywhere.
Plug Datus Into Any MCP Client
One server exposes your warehouse, semantic layer and catalog as MCP tools — usable from Claude, Cursor, or any agent that speaks the protocol.