# hashicorp/terraform-ls

Terraform Language Server

Repository: https://github.com/hashicorp/terraform-ls
Canonical: https://ross.abutalabs.com/products/terraform-ls
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: terraform, language-server, hcl, lsp
Last push: 2026-08-20T10:40:21+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 94, longevity 100
- inputs: {"age_days": 2388, "days_push": 13, "days_rel": 41, "gap_med": 24.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1198, forks 156 (observed 2026-08-28T04:03:57.678560+00:00)

## What it is
The official Terraform Language Server maintained by HashiCorp, implementing the Language Server Protocol to provide IDE features for Terraform and HCL files. It works with any LSP-compatible editor via an editor plugin or built-in client.

## Use cases
- autocomplete and validation for terraform files in my editor
- set up terraform language server for vscode
- get hcl syntax highlighting and diagnostics in neovim
- ide support for terraform modules and variables
- lint and format terraform code inside my ide

## When to choose
- you write Terraform/HCL and want IDE features like completion, hover, and diagnostics in an LSP-compatible editor
- you want the official, actively maintained HashiCorp language server

## When to avoid
- you need language server features for tools other than Terraform/HCL
- your editor does not support the Language Server Protocol

## Facets
- artifact type: service
- maturity: active
- function: editor, developer-tools, parser
- domain: developer-tools, infrastructure-as-code, text-editors
- platform: cross-platform, editor-plugin, go
- tags: terraform, lsp, language-server, hcl, ide-support, hashicorp

## Member repositories
- hashicorp/terraform-ls (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.678560+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-30T06:21:09.903740+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/terraform-ls (fetched 2026-08-28T04:03:57.678560+00:00, sha eb468ce33533)
- Data as of 2026-08-30T08:39:29.467469+00:00.
