Shipboard meteorological instruments are onboard instruments used to monitor real-time meteorological elements, such as temperature, humidity, air pressure, wind speed, and direction, in the navigation environment. It is crucial for ensuring maritime navigation safety, improving ship meteorological navigation capabilities, and supporting marine climate research. Currently, miniaturization and portability are the primary requirements for ship meteorological instruments in ocean monitoring. This article proposes an integrated portable small ship meteorological instrument solution: temperature, humidity, pressure, wind speed, and wind direction are synchronously measured through a multi module sensor group, and combined with attitude sensors, electronic compasses, and GPS modules to obtain ship spatial attitude angle, speed, and heading data, respectively; Then, the wind field measurement error is corrected by synthesizing the real wind vector and the rotation matrix attitude compensation algorithm. The experiment shows that the temperature, humidity, and pressure measurements of this scheme are stable and in line with the actual environment. The actual wind measurement error (wind speed ≤ 0.7 m/s, wind direction ≤ 20.5°) can meet the requirements of small ship maritime meteorological monitoring.