# hashicorp/terraform-mcp-server

The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.

Repository: https://github.com/hashicorp/terraform-mcp-server
Canonical: https://ross.abutalabs.com/products/terraform-mcp-server
Language: Go
License: MPL-2.0
License Family: copyleft
Last push: 2026-08-26T18:21:35+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 35
- inputs: {"age_days": 501, "days_push": 7, "days_rel": 7, "gap_med": 23.5, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1513, forks 195 (observed 2026-08-28T04:04:56.263205+00:00)

## What it is
An official Model Context Protocol (MCP) server from HashiCorp that integrates with the Terraform Registry and HCP Terraform APIs. It enables AI assistants and IDEs to automate and interact with Terraform for Infrastructure as Code development.

## Use cases
- let AI assistants look up Terraform providers and modules from the registry
- generate Terraform configuration with Claude or Cursor
- query HCP Terraform workspaces and runs from an IDE
- integrate Terraform automation into MCP-compatible clients
- help write IaC code with up-to-date provider documentation

## When to choose
- you use MCP-capable AI tools (Claude, Cursor, VS Code, Codex) and work with Terraform
- you want AI assistants grounded in real Terraform Registry data
- you need programmatic access to HCP Terraform APIs via MCP

## When to avoid
- you don't use Terraform or Infrastructure as Code
- your AI client doesn't support the Model Context Protocol
- you need a general-purpose Terraform CLI wrapper rather than an MCP server

## Facets
- artifact type: service
- maturity: active
- function: mcp, infrastructure-as-code, developer-tools, api-framework
- domain: infrastructure-as-code, developer-tools, cloud-computing
- platform: go, cross-platform, cli
- tags: terraform, mcp-server, hashicorp, iac, ai-assistant-integration, terraform-registry, devops, automation, docker

## Member repositories
- hashicorp/terraform-mcp-server (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.263205+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:16.130645+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/terraform-mcp-server (fetched 2026-08-28T04:04:56.263205+00:00, sha 57297579d413)
- Data as of 2026-08-30T08:39:29.467469+00:00.
