Overview
The SPACE GASS API provides programmatic access to SPACE GASS structural analysis data. Use it to open job files, read and edit structural entities, run analyses, and query results.
The API is a headless service — it runs as a local server on your machine without any program UI. There is no interaction with the SPACE GASS desktop interface. All operations are performed through HTTP requests to the local server.
What You Can Do
- Open and manage job files — Create, open, save, and close
SPACE GASS
.sgproject files - Read, write, and edit structural data — Nodes, members, sections, materials, load cases, load categories, and load case groups. Create or update many entities at once using bulk operations.
- Run analyses — Start linear, non-linear, buckling, and dynamic frequency analyses, and monitor progress in real time
- Query analysis results — Retrieve node displacements, reactions, member forces, buckling load factors, and more
Prerequisites
To get access to the API, follow the steps in the Quick Start. You will need:
- SPACE GASS 14.5 or later installed on your machine
- SPACE GASS has been opened at least once to initialize the required data files
Licensing
API access is included with Pro and above subscriptions, or available as a yearly add-on for perpetual license holders. See Licensing for details or visit spacegass.com for pricing.
Authentication
No authentication is required. The API runs locally and is accessed over plain HTTP. See Authentication for details.
SDK Clients
Generated SDK clients are available for:
- C# —
SpaceGassApi(NuGet package) - Python —
space-gass-api(pip installable)
Both are generated from the OpenAPI specification using
Microsoft Kiota.
The machine-readable spec is published at
api/1/schema.json
if you want to generate a client for another language or feed it to an LLM.
Using with AI assistants
There are two different ways to bring an AI assistant to SPACE GASS:
Drive SPACE GASS from an assistant. Open models, edit them, run analyses and read results by talking to Claude Desktop, GitHub Copilot or another desktop MCP client — no code. Add the SPACE GASS MCP server to your AI app; it comes with SPACE GASS 14.51 and later.
Write code against the API. Building scripts with an AI coding assistant (Claude Code, Cursor, Copilot, ChatGPT)? Point it at these single, clean, machine-readable entry points instead of letting it crawl the source repo:
- Full docs bundle for LLMs:
llms-full.txt - OpenAPI spec (JSON):
api/1/schema.json - Repo as a documentation-search MCP server (search docs, examples, and
code with zero setup):
gitmcp.io/SpaceGass/space-gass-api. This is not the SPACE GASS MCP server above — it reads this site and the SDK source; it does not control SPACE GASS.
Or paste this primer straight into your AI assistant to point it at everything in one step:
Code
Next Steps
- Quick Start — Get up and running in 5 minutes
- Simple Beam Model — Full walkthrough building a model, running analysis, and querying results
- API Reference — Browse all endpoints interactively
- MCP Server — Drive SPACE GASS from Claude Desktop, GitHub Copilot and other AI desktop apps, no code required

