As a typical, discrete, and NP-hard problem, assembly sequence planning (ASP) has direct impact on assembly quality and costs. So far, lots of graph-based and meta-heuristic approaches cannot solve this problem effectively. This paper proposes an effective ASP algorithm based on the harmony search (HS) algorithm, which has an outstanding global search ability to obtain the global optimum more efficiently. To solve the ASP problem, an improved harmony search (IHS) algorithm is proposed mainly in four aspects: (1) an encoding of harmony is designed based on ASP problems; (2) an initial harmony memory (HM) is established using the opposition-based learning (OBL) strategy; (3) a particular way to improvise a new harmony is developed; and (4) a local search strategy is introduced to accelerate the convergence speed. Finally, the advantage of the proposed ASP algorithm over the competing algorithms in solving ASP problems is verified by two experiments. Moreover, the proposed ASP algorithm is applied to a practical problem, a propeller of azimuth thruster to verify its practicability.