# DAG Studio MCP

> DAG Studio MCP is an MCP server. Causal DAG analysis: backdoor paths, adjustment sets, bias simulation. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://dagstudio.blackswancausallabs.com
- **Repository:** https://github.com/black-swan-causal-labs/dagstudio-mcp
- **MCP Registry name:** com.blackswancausallabs/dagstudio-mcp
- **Listing updated:** 2026-11-13

## About

Causal DAG analysis: backdoor paths, adjustment sets, bias simulation. Validated against dagitty.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http dagstudio-mcp https://dagstudio-mcp.blackswancausallabs.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://dagstudio-mcp.blackswancausallabs.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dagstudio-mcp": {
      "url": "https://dagstudio-mcp.blackswancausallabs.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dagstudio-mcp": {
      "type": "http",
      "url": "https://dagstudio-mcp.blackswancausallabs.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dagstudio-mcp": {
      "serverUrl": "https://dagstudio-mcp.blackswancausallabs.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dagstudio-mcp": {
      "type": "http",
      "url": "https://dagstudio-mcp.blackswancausallabs.com/mcp"
    }
  }
}
```

## FAQ

### How do I add DAG Studio MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http dagstudio-mcp https://dagstudio-mcp.blackswancausallabs.com/mcp

---
Source: https://ai-powered.com/mcp/dag-studio-mcp
