Build a causal diagram
Make your causal assumptions visible. Draw a diagram, examine backdoor paths, and explore adjustment sets before committing to a study design.
Browser editor available now. Agent connections are optional; the shared-canvas edition is a separate sandbox.
At a glance
Keep in mind Analytical results depend on the graph and its assumptions. A diagram or AI-generated draft does not establish that those assumptions hold in your data.
What's Inside
Build a graph yourself, send a DAG to the analytical server, or invite an agent to work with you in the WebMCP sandbox. Choose the connection that fits your workflow.
Work in the browser
A drag-and-drop DAG editor with an in-browser causal-inference engine. Backdoor paths, adjustment sets, identifiability checks. No install required.
Analyze with an agent
Send a structured DAG to the causal-inference engine for analysis, simulation, and code generation. No open browser canvas required.
Share a live canvas
An agent reads and edits the graph you see, through nine predefined canvas tools. Human and agent changes share one canvas and Undo history.
The Editor
The MCP Server
Alongside the editor, DAG Studio also runs as a Model Context Protocol (MCP) server. Where the AI DAG Assistant drafts a starting diagram for you to refine, the MCP server does something complementary: it lets an AI assistant query a real causal-inference engine while you reason about study design, checking identifiability, suggesting adjustment sets, and flagging overadjustment, rather than hallucinating about d-separation. The AI proposes; the engine verifies.
Tool surface (v1)
com.blackswancausallabs/dagstudio-mcp.Run locally: Install the open-source server from GitHub and connect it to an MCP client using the local stdio transport. Local use does not require a hosted-service token.
Use the hosted service: Connect a compatible remote MCP client to https://dagstudio-mcp.blackswancausallabs.com/mcp using an access token. Request a hosted access token →
WebMCP · Live sandbox
WebMCP gives a compatible browser agent access to the page's predefined tools. It can read your graph, edit nodes and edges, and run analyses while you follow every change on the canvas.
The WebMCP sandbox is a separate edition of DAG Studio. Its tools operate on the graph in your open tab, with a shared Undo history. The analytical MCP server above accepts DAG inputs independently; connecting to it does not control an open canvas.
Nine tools, one shared canvas
Open the sandbox in a WebMCP-capable browser and ask your compatible agent to discover its tools. Native WebMCP works directly with the page and does not need a remote bridge connection.
Requires Streamable HTTP and custom-header support. The bridge does not currently provide OAuth sign-in.
Your connection, your session
Remote pairing is optional. Tool arguments and results pass through the Cloudflare relay to your connected agent provider. Anyone with the temporary key can use that canvas's tools. Select Disconnect to end access; closing or reloading the tab also ends the session. Keys expire after two hours.
The remote bridge is listed in the official MCP Registry. A website link alone does not give every agent WebMCP support: use a compatible browser agent or pair a supported remote client. See the connection guide and source for details.
Release History
DAG Studio is at v3.0. WebMCP is a separate interface milestone; its remote bridge has its own version, currently v1.0.
| Version | Date | Highlights |
|---|---|---|
| v3.0Current | Sep 2026 | Current DAG Studio release. Browser editing and analytical MCP are complemented by a separate WebMCP interface for shared human–agent work on the live canvas. |
| WebMCP bridge v1.0 | Sep 2026 | Separate WebMCP sandbox with nine tools for the live browser canvas, an optional paired remote MCP bridge, and an official MCP Registry listing. |
| v2.0 | Jul 2026 | AI DAG Assistant that drafts a causal diagram from a plain-language research question, radial layout for generated DAGs, new About and FAQ sections, and console and canvas usability improvements. The MCP server was open-sourced under Apache 2.0 and published to the official MCP Registry. |
| v1.0 | 2026 | Initial release: drag-and-drop editor, in-browser identification engine, bilingual Python and R console, linear Gaussian SEM data simulation, and the education library. |
Get Involved
Inspectable tooling is the right shape for software that may inform regulatory submissions: the engine should not be a black box to the teams and reviewers who rely on it. The MCP server, including the full identification engine and its validation suite, is open source on GitHub under the Apache 2.0 license. Anyone can read the engine, run the 99-test suite, and check the continuous-integration record, and every analytical response carries a concordance attestation against the dagitty reference implementation. The browser editor shares the same engine; its application source is provided to pilot partners and reviewers on request, under the MIT license.
Get started
Open the browser editor, or use the connection guides above to work with an agent.