- Does StructureCalcs have an API and is it REST?
- Yes. StructureCalcs has a public REST API at api.structurecalcs.com that runs the same solver as the website over HTTP. You POST JSON to endpoints like /v1/beam/solve and /v1/truss/solve, and GET endpoints serve the steel-section library and standards; there is also /v1/health and the OpenAPI 3.1 spec at /v1/openapi.json. Interactive reference docs and copy-paste curl, Python, and JavaScript quickstarts live on the /api page.
- Is there an MCP server for StructureCalcs so AI assistants can solve beams, trusses and frames?
- Yes. There is a stateless MCP server at https://api.structurecalcs.com/mcp that speaks JSON-RPC over HTTP. It exposes nine tools: solve_beam, solve_truss, solve_frame, section_properties, get_section, search_sections, render_beam_diagram, render_truss_diagram, and render_frame_diagram. You can add it to Claude Code with "claude mcp add --transport http structurecalcs https://api.structurecalcs.com/mcp", or paste the URL as a custom connector in Claude.ai.
- What can I solve and render through the StructureCalcs API?
- You can solve multi-span beams (point loads, uniform and linearly-varying distributed loads — which cover triangular and trapezoidal shapes — pressure/area loads, and applied moments, returning reactions plus shear, moment, rotation, and deflection with their extremes), solve 2-D pin-jointed trusses (member forces, reactions, support settlement, thermal and fabrication effects), query all 2,600+ steel sections across the six standards, and render beam or truss diagrams. Diagrams are returned as SVG. There is no PDF, PNG, or report-builder endpoint in the current version.
- Is the StructureCalcs API free, and what does it cost?
- There is a free anonymous tier that works with no signup, capped at 30 requests per day and 300 per month per IP address with a 10-per-minute burst. A free Student key raises that to 2,000 requests per month. Paid tiers are Pro at $19/month, Consultancy at $79/month, Institution at $499/year, and AI/Enterprise at $499/month; pricing is flat, not metered. Paid tiers are self-serve: click Subscribe on the pricing table, pay by card on Stripe, and your key is shown once — manage or cancel any time in the Stripe billing portal.
- How do I authenticate with the StructureCalcs API?
- No authentication is needed for the free anonymous tier — you can start calling immediately. For higher limits you send your key as an HTTP header, Authorization: Bearer sc_live_..., and that key is your whole account (there is no login or password). A paid key is issued the moment you subscribe and pay on Stripe; a free Student key is issued by hand after you request one.
- What units and sign conventions does the StructureCalcs API use?
- Each request can set units to either SI (m, kN, kN/m, GPa, mm4) or imperial (ft, kip, k/ft, ksi, in4), matching the website’s conventions; SI is the default if you omit the field. The one sign rule to know is that loads are negative for downward, so a gravity UDL uses start: -10; support settlements are also negative for downward, and truss member forces come back tension-positive and compression-negative.