Uncertain differential equations (UDEs) with jumps are an essential tool to model the dynamic uncertain systems with dramatic changes. The interest rates, impacted heavily by human uncertainty, are assumed to follow UDEs with jumps in ideal markets. Based on this assumption, two derivatives, namely, interest-rate caps (IRCs) and interest-rate floors (IRFs), are investigated. Some formulas are presented to calculate their prices, which are of too complex forms for calculation in practice. For this reason, numerical algorithms are designed by using the formulas in order to compute the prices of these structured products. Numerical experiments are performed to illustrate the effectiveness and efficiency, which also show the prices of IRCs are strictly increasing with respect to the diffusion parameter while the prices of IRFs are strictly decreasing with respect to the diffusion parameter.