Datadef
FreeNot checkedData-architecture diagrams your AI generates, edits, and exports. Remote MCP server for Claude, Cursor, VS Code, Gemini CLI.
About
Data-architecture diagrams your AI generates, edits, and exports. Remote MCP server for Claude, Cursor, VS Code, Gemini CLI.
README
Data-architecture diagrams your AI generates, edits, and exports — from Claude, Cursor, VS Code, Gemini CLI, or any MCP client. Typed tables with columns, pipelines, column-level lineage, 2,000+ real tool icons. Exported PNGs come back inline in the chat.
This repo is the public home of the remote MCP server at https://datadef.io/mcp (Streamable HTTP). There is nothing to install from here — it exists for directories, install links, and issues.
Connect
Create an API key at datadef.io/settings/mcp — the 7-day free trial includes MCP access.
Claude Code
claude mcp add --transport http datadef https://datadef.io/mcp \
--header "Authorization: Bearer dd_live_YOUR_KEY"
Cursor / Claude Desktop (via the mcp-remote bridge)
{
"mcpServers": {
"datadef": {
"command": "npx",
"args": [
"-y", "mcp-remote", "https://datadef.io/mcp",
"--header", "Authorization: Bearer dd_live_YOUR_KEY"
]
}
}
}
VS Code (.vscode/mcp.json)
{
"servers": {
"datadef": {
"type": "http",
"url": "https://datadef.io/mcp",
"headers": { "Authorization": "Bearer ${input:datadef-key}" }
}
}
}
Gemini CLI (~/.gemini/settings.json) — note httpUrl, not url; plain url is legacy SSE there and fails silently:
{
"mcpServers": {
"datadef": {
"httpUrl": "https://datadef.io/mcp",
"headers": { "Authorization": "Bearer $DATADEF_API_KEY" }
}
}
}
One-click install buttons live at datadef.io/settings/mcp.
Tools
Two layers. Outcome-level — describe an intent, Datadef's pipeline carries it out: create_diagram, list_diagrams, get_diagram, edit_diagram, export_diagram, get_design_guide. Atomic — 25 canvas_* tools your model drives directly (add/update/remove nodes, connect edges, set columns, add lineage, group, align, layout, validate), so the agent that already knows your repo can draw what it finds. The datadef_design_guide prompt teaches any model the design standard before it draws.
Why a diagram tool wants an agent
The agent that just changed your dbt project still has the whole change in context. Telling it "update the architecture diagram too" costs one sentence — and an embedded diagram () updates everywhere the canvas does. Docs stop rotting.
Run as a container
For clients or checkers that want a runnable image, the included Dockerfile bridges stdio to the hosted server:
docker build -t datadef-mcp .
docker run -i -e DATADEF_API_KEY=dd_live_YOUR_KEY datadef-mcp
Links
- Try without an account: datadef.io/scratch
- MCP guide: datadef.io/guides/en/mcp-diagram-server
- Issues and feedback: right here.
Installing Datadef
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/tlouvart/datadef-mcpFAQ
Is Datadef MCP free?
Yes, Datadef MCP is free — one-click install via Unyly at no cost.
Does Datadef need an API key?
No, Datadef runs without API keys or environment variables.
Is Datadef hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Datadef in Claude Desktop, Claude Code or Cursor?
Open Datadef on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Datadef with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
