Abstract. In this paper we introduce local approximation spaces for component-based static condensation (sc) procedures that are optimal in the sense of Kolmogorov. To facilitate simulations for large structures such as aircraft or ships, it is crucial to decrease the number of degrees of freedom on the interfaces, or "ports," in order to reduce the size of the statically condensed system. To derive optimal port spaces we consider a (compact) transfer operator that acts on the space of harmonic extensions on a two-component system and maps the traces on the ports that lie on the boundary of these components to the trace of the shared port. Solving the eigenproblem for the composition of the transfer operator and its adjoint yields the optimal space. For a related work in the context of the generalized finite element method, we refer the reader to [I. Babuška and R. Lipton, Multiscale Model. Simul., 9 (2011), pp. 373-406]. We further introduce a spectral greedy algorithm to generalize the procedure to the parameter-dependent setting and to construct a quasi-optimal parameter-independent port space. Moreover, it is shown that, given a certain tolerance and an upper bound for the ports in the system, the spectral greedy constructs a port space that yields an sc approximation error on a system of arbitrary configuration which is smaller than this tolerance for all parameters in a rich train set. We present our approach for isotropic linear elasticity, although the idea may be readily applied to any linear coercive problem. Numerical experiments demonstrate the very rapid and exponential convergence both of the eigenvalues and of the sc approximation based on spectral modes for nonseparable and irregular geometries such as an I-beam with an internal crack. 1. Introduction. In the last decades numerical simulations based on partial differential equations (PDEs) have significantly gained importance in engineering applications. However, both the geometric complexity of the considered structures, such as ships, aircraft, and turbines, and the intricacy of the simulated physical phenomena often make a straightforward application of, say, the finite element (FE) method prohibitive. This is particularly true if multiple simulation requests or a real-time simulation response is desired, as in engineering design and optimization.One way to tackle such complex problems is to exploit the natural decomposition of the structures into components and apply static condensation (sc) to obtain a (Schur complement) system of the size of the degrees of freedom (DOFs) on all interfaces or ports in the system. To mitigate the computational costs for the required PDE solvers in the interior of the component, model order reduction procedures may be applied. One popular approach is component mode synthesis (CMS), introduced in [4,21], which uses an approximation based on the eigenmodes of local constrained eigenvalue problems. The static condensation reduced basis element (scRBE) method [22,23]