Lopez will provide pitching depth to the organization, particularly at Triple-A Lehigh Valley.
Lopez went 0-1 with a 5.68 ERA in four appearances last season with the Cubs.
The Mexican baseball magazine Puro Beisbol first reported the signing.
Todd Zolecki is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.