Reference

OPC UA SDKs: client and server stacks compared

The open-source OPC UA stacks by language, with pinned versions, real constraints, and the same twelve tasks written out in each: connect, browse, read, write, subscribe, call a method, certificates, custom structs, history, alarms, PubSub and error handling.

Client SDK or server SDK: which OPC UA stack should you use?

Pick the stack by the side of the connection you are building and by the language of the code base it must live in. If you are reading data out of PLCs, gateways or machines, you need a client; if you are exposing a device or an application to other systems, you need a server. Every stack below is a client, and every one except gopcua is also a server. The licence decides whether you can link it into a closed-source product without extra work.

LanguageStackClientServerLicenceBest fit
PythonasyncuaYesYesLGPL-3Tooling, tests, simulators, data engineering (not hard real-time)
Node.js / TypeScriptnode-opcuaYesYesMITGateways and commercial embedding: client and server in one dependency
C# / .NETUA-.NETStandardYesYesOPC Foundation dual licenceProducts heading for certification; most likely to be conformant
Copen62541YesYesMPL-2.0Embedded and constrained targets, RTOS ports
Java / KotlinEclipse MiloYesYesEPLExisting JVM platforms
GogopcuaYesNo (client-focused)MITCollectors and edge services shipped as one static binary
Rustlocka99/opcuaYesYesMPL-2.0Memory-safe edge collectors and long-running gateways
C++open62541pp or a commercial SDKYesYesMPL-2.0 (wrapper)C++ code bases; commercial SDKs when support and certification help matter

Versions, licences and constraints are pinned on each stack page and were last verified on 7 September 2026. The four stacks with full code recipes (Python, Node.js, C#/.NET and C) cover the same twelve tasks, so you can compare them call for call.

Open-source stack or commercial SDK?

For a client that collects data, an open-source stack is usually enough. A commercial SDK earns its cost when you ship a server inside a product: you get a support contract and help with certification, which in this ecosystem is a product-level programme. Whichever you choose, the conformance question is about your product build, not about the library on its own: an example server built with open62541 has been certified, the library itself has not.

Frequently asked questions

What is the difference between an OPC UA client SDK and a server SDK?

A client SDK connects to OPC UA servers to browse, read, write, subscribe and call methods: it is what a data collector, gateway, dashboard or MES/OEE connector needs. A server SDK exposes your own device or application as an address space that other clients read: it is what a machine builder, or the northbound side of a gateway, needs. Most open-source stacks ship both in one package; gopcua (Go) is client-focused.

Which open-source OPC UA SDK should I use to build a server?

For embedded and constrained devices, open62541 (C, MPL-2.0). For a product you intend to certify, UA-.NETStandard (C#), the reference implementation, removes a class of conformance risk. For a gateway with a single dependency and a permissive licence, node-opcua (MIT). For test servers and simulators, asyncua (Python).

Do I need a commercial OPC UA SDK?

Not for most client work: the open-source stacks above cover connecting, browsing, reading, writing and subscribing. Commercial SDKs come with support contracts and certification help, which for a product that must be certified is often the cheaper path overall. Licence terms and prices change, so confirm them with the vendor for your exact version.

Full recipe matrix 4

Stack guides 6

Last verified 7 September 2026 against OPC UA 1.05.07; client/server comparison added 29 November 2026. OPC UA Connect is an educational resource and is not affiliated with the OPC Foundation.

Free download
OPC UA Troubleshooting & Integration Checklist
The field-tested checklist engineers use to diagnose certificates, ports and namespace problems fast, plus a Python (asyncua) client template.
Get the free checklist →
Free, no course, no login