Rocket Tools
Aerospace engineering intelligence for builders who need precision, speed, and interoperability.
$ pip install rocket-toolsEngineering 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.
80 precision engineering instruments
Beam Analysis
Euler-Bernoulli bending, shear, and deflection for common load and support cases
Column Buckling
Euler-Johnson critical load with end-condition factors, validated vs Timoshenko
Section Properties
Area, moments of inertia, and section modulus for seven cross-section types
Truss Analysis
2D and 3D direct-stiffness solver for member forces and reactions
Material Lookup
49 aerospace alloys and composites with mechanical and thermal properties
ISA Atmosphere
Full 7-layer U.S. Standard Atmosphere 1976 to 86 km, cached lookups
Compressible Flow
Isentropic relations, normal and oblique shocks, Prandtl-Meyer expansions
Nozzle Performance
Thrust, Isp, thrust coefficient, and expansion state for a C-D nozzle
Static Stability
Barrowman center of pressure and static margin, the first check any airframe needs
Orbit Determination
Lambert solver, orbital-element conversion both ways, and Kepler propagation
Ascent Simulation
Fixed-step RK4 flight through the ISA atmosphere to burnout and apogee
Parachute Recovery
Descent-rate and canopy sizing from a steady-descent drag balance
Optimal Staging
Payload-maximizing delta-v split across stages via a Lagrange solver
Design Diagrams
Shear/moment/deflection, drag polar, nozzle, and trajectory plots as PNG or data
Design Review & FMEA
Margin-of-safety rollups with a PASS/FAIL verdict and RPN risk ranking
Benchmarked and regression-tracked
Python-first API
1from rocket_tools.materials import isa_atmosphere2from rocket_tools.structural import beam_analysis3from rocket_tools.trajectory import simulate_ascent45# Standard atmosphere, sea level to 86 km6atm = isa_atmosphere(15000)7print(atm["density_kg_m3"], atm["speed_of_sound_m_s"])89# Beam deflection under a mid-span point load10beam = 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"])1516# New in 0.4.0: full ascent trajectory to apogee17flight = 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")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.