Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

TerraVision

MCP server by patrickchugh Community

Converts Terraform code into cloud architecture diagrams that can be regenerated as the code changes. Aimed at architects and DevOps teams who want diagrams kept current in CI/CD pipelines. AWS is fully supported and GCP and Azure are partially supported.

  • Score 88
  • 1.7k stars
  • AGPL-3.0
  • Updated

Install TerraVision

Built from the published package, never by AI.

claude mcp add terravision -- uvx terravision

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install TerraVision in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the terravision block.

About

TerraVision is an AI-assisted command line tool that converts Terraform code into cloud architecture diagrams. It works from the Terraform plan rather than the remote state file, so it does not need access to a cloud account or running infrastructure. It handles conditionally created resources and variable files, and it downloads external modules. Diagrams can be exported as SVG or PDF, and it can also export resource relationships as JSON.

The project is built as docs as code. It can run in a CI/CD pipeline after the build and test stages to update diagrams automatically. Teams can add a YAML annotation file to include unmanaged resources or external systems that are not in the Terraform code. It is intended for cloud architects and platform teams who need diagrams that match what is deployed. The project is alpha software and is provided as is.

Written from the project's README and checked against it.

What you need

  • Python 3.10+
  • Terraform 1.x
  • Git
  • Graphviz
  • Ollama (optional, only for the ollama AI backend)

Try asking

  • Draw an architecture diagram from my Terraform code in ~/src/my-terraform-code
  • Generate a PDF diagram of the production workspace using prod.tfvars
  • Export the resource relationships from my Terraform code as JSON

Good to know

  • Alpha software, provided as is without warranties.
  • AWS has full support. Google Cloud and Azure have partial support.
  • The default AI backend is AWS Bedrock, which requires deploying the included Terraform proxy.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Generate AWS architecture diagrams from Terraform code
  • Keep architecture docs current in CI/CD pipelines
  • Create diagram variants from different tfvars files

Alternatives to TerraVision

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

TerraVision: common questions

Does TerraVision need access to my cloud account?

No. The source says it runs client side and works from your Terraform plan, so it does not need access to your cloud environment or credentials.

Can TerraVision run in a CI/CD pipeline?

Yes. The source describes it as a docs as code tool that can run after build, test and release stages to update architecture diagrams.

Which cloud providers are supported?

AWS is listed as fully supported with 200+ services. Google Cloud Platform and Microsoft Azure are listed as partially supported.

How do I install TerraVision?

In Claude Code run claude mcp add terravision -- uvx terravision. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is TerraVision the official server?

TerraVision is a community project by patrickchugh, not verified by a company domain.

Is TerraVision free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is TerraVision safe to use?

It scores 88 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to TerraVision?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does TerraVision work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

TerraVision Install

Add to stack

Loading.