datadef-mcp
Datadef MCP
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.
Related MCP server: diagrams-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-mcpLinks
Try without an account: datadef.io/scratch
MCP guide: datadef.io/guides/en/mcp-diagram-server
Issues and feedback: right here.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceMCP server for AI Diagram Maker — generate software engineering diagrams from natural language, code, ASCII diagram, images, or Mermaid. Inline diagram rendering using MCP apps UI and diagram URL in responses. Works with Cursor, Claude Desktop, Claude Code, and any MCP-compatible AI.Last updated5397MIT
- Alicense-qualityDmaintenanceEnables automatic generation of UML class diagrams and entity-relationship diagrams from natural language descriptions or structured JSON data. It integrates with MCP agents to create visual representations of code structures and system designs without manual Mermaid coding.Last updated161MIT
- AlicenseAqualityCmaintenanceGenerates Excalidraw architecture diagrams with support for 60+ components including GCP, Kafka, and AI/Agentic shapes. Provides MCP tools for creating, modifying, and converting diagrams from structured input or Mermaid syntax.Last updated41MIT
- Alicense-qualityCmaintenanceProfessional AI-powered architecture diagram generator with multi-cloud support and MCP server integration. Generates beautiful, accurate diagrams with provider-specific icons for AWS, Azure, GCP, Kubernetes, and more.Last updated10MIT
Related MCP Connectors
AI agent draws editable hand-drawn diagrams (flowchart, ER, architecture) via MCP, not static images
Real-time collaborative whiteboard — AI agents and humans edit the same board live over MCP.
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tlouvart/datadef-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server