Kelly (10-5) allowed three hits and struck out five.
They now go on to host the National League Divisional Series against the winner of Tuesday's NL Wild Card between Pittsburgh and Cincinnati.
Cubs starter Jeff Samardzija (8-13) took the loss, yielding three runs on eight hits over six innings.
Chicago (66-96) ended with six losses in seven games.
Exploding whale video goes viral on Internet
Sign language interpreter at Mandela service called out as fake on Twitter