A novel approach to the analysis of beam-like composite structure is introduced in this paper. New software Gmsh4SC is developed based on two well-known open source codes Gmsh and CalculiX. One-dimensional Euler-Bernoulli and Timoshenko type finite elements are derived based on the constitutive models obtained by using Mechanics of Structure Genome (MSG). Gmsh4SC is connected to a general-purpose composites software SwiftComp, which implements MSG to carry out the constitutive modeling. The software can be executed in the cloud at https://cdmhub.org/tools/scstandard. Several beam-like composite structures are analyzed by this newly developed software. The accuracy and efficiency of the proposed method is verified by three-dimensional (3D) finite element model using the commercial code ABAQUS.