Open Source — Apache 2.0

Rocket Tools

Aerospace engineering intelligence for builders who need precision, speed, and interoperability.

View on GitHub$ pip install rocket-tools
What It Is

Engineering computation, unified and accelerated.

Aerospace engineers still reach for fragmented spreadsheets, legacy MATLAB scripts, and closed-source calculators that do not talk to each other. Each project rebuilds the same atmosphere model, the same beam solver, the same drag estimation.

Rocket Tools is a single, open-source toolkit that brings structural, materials, atmospheric, aerodynamic, propulsion, and trajectory analysis into one coherent interface. Every function is tested, validated against a published reference, and JIT-compiled for speed.

Built for humans. Designed for machines. Open for everyone.

Tools

80 precision engineering instruments

Structural

Beam Analysis

Euler-Bernoulli bending, shear, and deflection for common load and support cases

Structural

Column Buckling

Euler-Johnson critical load with end-condition factors, validated vs Timoshenko

Structural

Section Properties

Area, moments of inertia, and section modulus for seven cross-section types

Structural

Truss Analysis

2D and 3D direct-stiffness solver for member forces and reactions

Materials

Material Lookup

49 aerospace alloys and composites with mechanical and thermal properties

Atmosphere

ISA Atmosphere

Full 7-layer U.S. Standard Atmosphere 1976 to 86 km, cached lookups

Aerodynamics

Compressible Flow

Isentropic relations, normal and oblique shocks, Prandtl-Meyer expansions

Propulsion

Nozzle Performance

Thrust, Isp, thrust coefficient, and expansion state for a C-D nozzle

Stability

Static Stability

Barrowman center of pressure and static margin, the first check any airframe needs

Orbital

Orbit Determination

Lambert solver, orbital-element conversion both ways, and Kepler propagation

Trajectory

Ascent Simulation

Fixed-step RK4 flight through the ISA atmosphere to burnout and apogee

Recovery

Parachute Recovery

Descent-rate and canopy sizing from a steady-descent drag balance

Optimization

Optimal Staging

Payload-maximizing delta-v split across stages via a Lagrange solver

Visualization

Design Diagrams

Shear/moment/deflection, drag polar, nozzle, and trajectory plots as PNG or data

Reliability

Design Review & FMEA

Margin-of-safety rollups with a PASS/FAIL verdict and RPN risk ranking

Performance

Benchmarked and regression-tracked

81MCP toolsstructures to trajectories
823Testswith continuous CI
54 nsISA lookupcached, per point
< 1 msPer tool callNumba JIT compiled
Usage

Python-first API

example.py
1from rocket_tools.materials import isa_atmosphere
2from rocket_tools.structural import beam_analysis
3from rocket_tools.trajectory import simulate_ascent
4
5# Standard atmosphere, sea level to 86 km
6atm = isa_atmosphere(15000)
7print(atm["density_kg_m3"], atm["speed_of_sound_m_s"])
8
9# Beam deflection under a mid-span point load
10beam = beam_analysis(
11 load=500, length=2.0, youngs_modulus=70e9,
12 cross_section={"type": "rectangle", "width": 0.05, "height": 0.02},
13)
14print(beam["max_deflection_m"])
15
16# New in 0.4.0: full ascent trajectory to apogee
17flight = simulate_ascent(
18 initial_mass_kg=1000, dry_mass_kg=400, specific_impulse_s=250,
19 mass_flow_rate_kg_s=20, reference_area_m2=0.2,
20)
21print(flight["apogee_km"], "km apogee")
Architecture

Built for integration, designed for speed

MCP Server

A Model Context Protocol server exposes all 81 tools to AI agents. Claude, GPT, and local LLMs can call engineering functions with structured parameters and receive validated results.

Traceable by Design

Every tool is validated against a published reference. cite_tool returns the source, formula, and assumptions behind any number, and propagate_uncertainty runs Monte-Carlo error and sensitivity analysis over any calculation.

YAML Workflow Engine

Chain tools into reproducible analysis pipelines. Define multi-step workflows in YAML, from an atmosphere lookup to a structural margin, and run them headless or interactively.

Numba JIT Acceleration

Hot paths compile to machine code at runtime. Loop-heavy structural solvers, compressible-flow relations, and the trajectory integrator run at native speed without hand-written C.

Open source. Open sky.

Rocket Tools is released under the Apache 2.0 license. Use it in commercial vehicles, academic research, or hobby rocketry. Fork it, extend it, fly it.

Apache 2.0 License823 Tests31 BenchmarksOn PyPI