# gopcua/opcua

Native Go OPC-UA library

Repository: https://github.com/gopcua/opcua
Canonical: https://ross.abutalabs.com/products/opcua
Language: Go
License: MIT
License Family: permissive
Topics: opc-ua, golang, protocol, ics, scada
Last push: 2026-08-09T16:47:19+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 96, longevity 100
- inputs: {"age_days": 2963, "days_push": 24, "days_rel": 24, "gap_med": 15, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1058, forks 320 (observed 2026-08-28T04:03:25.075942+00:00)

## What it is
A native Go implementation of the OPC/UA Binary Protocol for industrial automation communication. It provides client and server functionality for reading, writing, and subscribing to nodes on OPC-UA endpoints with support for security policies and encryption.

## Use cases
- connect to an OPC-UA server from Go
- read and write industrial PLC data over opc.tcp
- subscribe to OPC-UA node value changes
- implement a secure OPC-UA client with SignAndEncrypt
- integrate SCADA or ICS systems with a Go application
- build an OPC-UA server in Go

## When to choose
- you need OPC-UA connectivity in a Go program without CGo or external dependencies
- you want a pure-Go, MIT-licensed client for industrial data acquisition
- you need encryption and authentication support for OPC-UA connections

## When to avoid
- you need a full-featured commercial-grade OPC-UA stack with certification
- your project is not in Go
- you need the complete OPC-UA feature set such as complex event handling or historical access (HA)

## Facets
- artifact type: library
- maturity: active
- function: sdk, networking, security, cryptography
- domain: iot, developer-tools, embedded-systems
- platform: go, cross-platform, windows
- tags: opc-ua, opcua, scada, industrial-protocols, ics, client, server, binary-protocol, industrial-automation, linux, macos

## Member repositories
- gopcua/opcua (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.075942+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:57:46.479904+00:00, confidence not recorded.
  - readme: https://github.com/gopcua/opcua (fetched 2026-08-28T04:03:25.075942+00:00, sha 5cf0c4519dac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
