This research focuses on integrating seakeeping indices into the trajectory planning of a mother ship in order to minimize risks during UAV (unmanned aerial vehicle) takeoff and landing in challenging sea conditions. By considering vessel dynamics and environmental factors, the proposed trajectory planning algorithm computes optimal paths that prioritize the stability and safety of the ship, mitigating the impact of adverse weather on UAV operations. Specifically, the new adaptive weather routing model presented is based on a genetic algorithm. The model uses the previously evaluated response amplitude operators (RAOs) for the reference ship at different velocities and encounter angles, along with weather forecast data provided by the global wave model (GWAM). Preliminary evaluations confirm the effectiveness of the presented model in significantly improving the reliability of autonomous UAV operations from a mother ship across all encountered sea state conditions, particularly when compared with a graph-based solution. The current results clearly demonstrate that it is possible to achieve appreciable improvements in ship seakeeping performance, thereby making UAV-related operations safer.