---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/diagram-generator/use-cases/create-network-topology-diagrams/claude
---
# How to Create Network Diagrams with Claude

Claude builds network diagrams through an infrastructure conversation. Describe your network segments and devices, get an initial diagram, then add security boundaries, IP ranges, and redundancy paths through follow-ups. The iterative approach captures the layered complexity that real network architectures have.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Create a network topology diagram using diagram-generator" and describe the infrastructure
3. Claude generates the diagram showing devices, subnets, and connections
4. Download the diagram for your infrastructure documentation

## Example Prompt

```
Create a network topology diagram: internet connects to a firewall, behind it is a DMZ with a web server and load balancer, then an internal firewall leading to the application subnet with 3 app servers and a database subnet with a primary and replica database.
```

## Tips

- Group devices by subnet or security zone for the clearest layout
- Ask Claude to add IP ranges and VLAN tags to the diagram for operational use
