Murphy hit a leadoff shot against reliever Kyuji Fukikawa (1-1). The Mets won two of three on their trip to Chicago.
Mets rookie Juan Lagares hit first major league homer, a tying, two-run drive in the seventh against Cubs starter Travis Wood.
Scott Rice (2-3) pitched two scoreless innings. Bobby Parnell earned his sixth save.
Wood hit his first homer of the season and fourth of his career, clearing the left-field bleachers with a drive off Dillon Gee in the fifth to end a scoreless tie.