Skip to content

NGL Viewer

Alexander S Rose and NGL contributors

NGL is a WebGL molecular visualization library for the web that embeds into web applications to display and analyze protein, nucleic acid and other structures, distributed as an npm package under the MIT license.

Catalog updated ·

Overview

NGL (WebGL viewer for molecular structures) is a JavaScript library for displaying and analyzing molecular structures in the browser. The repository is maintained under the nglviewer organization, the package is published on npm as ngl, and a project site with examples is hosted at nglviewer.org.

The LICENSE file is the MIT license (Copyright (c) 2014-2017, Alexander S Rose). NGL renders with WebGL, so no browser plugins are required, and it can load structures from URLs or local files for embedding in custom frontends.

NGL is a separate viewer library from Mol*. Mol* was initiated jointly by PDBe and RCSB PDB to combine strengths of LiteMol and NGL. Data displayed through NGL remains subject to the terms of its source.

Key Features

  • WebGL-based molecular visualization that runs in modern browsers without plugins.
  • npm package (ngl) for embedding structure views into custom web applications.
  • Project site with examples at nglviewer.org.

Use Cases

  • Add lightweight interactive molecule views to web tools, notebooks and documentation pages.
  • Display structures fetched from public or internal services inside a custom frontend.

How to Use

Add the ngl npm package to a web application and follow the examples on the project site for stage setup and representations. The MIT license covers the library; data displayed through it keeps its own terms. See: https://github.com/nglviewer/ngl

Sources and verification

This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.

Repository source reviewed for this catalog version:

Read the editorial and verification policy

Related resources

3Dmol.js

Open Source

3Dmol.js is a WebGL-accelerated JavaScript library for embeddable 3D molecular visualization in web pages.

Open sourceTypeScriptJavaScript

Scientific Data

AiiDA

Open Source

AiiDA is a computational-science workflow manager that records calculation inputs, outputs and metadata in a provenance graph.

Open sourcePython

Computational Chemistry · Scientific Data

Local-first scientific AI workbench combining project files, agents, Python/R analysis and traceable research outputs.

Open sourceTypeScript

Literature & Research · Scientific Data

alchemiscale

Open Source

alchemiscale is a high-throughput execution system for alchemical free energy calculations that distributes work across HPC, cloud, bare-metal and volunteer compute resources.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

alchemlyb

Open Source

alchemlyb extracts alchemical free energy data from molecular dynamics output and estimates free energies with MBAR, BAR and thermodynamic integration on the PyData stack.

Open sourcePython

Computational Chemistry · Drug Discovery · Scientific Data

Benchling MCP (longevity-genie) is a Python MCP server that connects AI clients to Benchling notebook entries, biological sequences, projects, and entity search using API credentials.

Open sourcePython

Lab Automation · Scientific Data

Related guides

Overview

MCP vs Skills vs Agents vs APIs: What's the Difference?

Understand how APIs, MCP servers, Skills, and agents divide interface, procedural guidance, execution, and planning responsibilities in chemistry workflows—and how to choose or combine them without confusing access with scientific validity.