We present a first-principles method for calculating the Green function of a semi-infinite crystal surface using the embedding technique of Inglesfield and the linearized-augmented-plane-wave (LAPW) basis set. The calculation consists of two independent steps: (i) The embedding potential of a semi-infinite substrate is generated from the bulk crystalline potential, and (ii) a self-consistent surface Green function calculation is performed in the embedded surface region. The numerical advantages of our method over the previous ones are (i) that one does not need to determine the exact shape of the curvy embedding surface between the bulk and surface regions and (ii) that there is no need to explicitly treat the cap region (a portion of the muffin-tin sphere cut by a plane) of boundary atoms near the embedding surface. By virtue of them, the total amount of numerical work for performing a surface-embedded Green function calculation is reduced nearly to the same level as that in standard surface electronic-structure calculations within the slab approximation. As an example, we calculate the electronic structure of the (001) and (111) surfaces of Rh, Pd, and Ag.