Keith Hernandez is finalizing a new three-year, approximately $2.4 million contract to continue as an analyst on SNY’s Mets games, The Post has learned.

Hernandez, 66, chose to do a three-year contract after completing a four-year deal. On the final Mets game broadcast of last season, Hernandez, in his irreverent style, announced that his deal was up.

The fact that he chose to do a shorter agreement this time around is not an indication that Hernandez is thinking this will be his last contract. The feeling is that Hernandez wants to be in the SNY booth for the long haul.

Hernandez is expected to make $800,000 to $850,000 for the 110 games he calls during the season, according to sources. So the overall deal may end up being closer to $2.5 million.

However you slice it, Hernandez will be able to buy the finest food for his famed cat, Hadji.

SNY, Hernandez and Hernandez’s agent, Michael Glantz, declined comment.

Hernandez will be teamed with Gary Cohen and Ron Darling. Steve Gelbs will be the dugout reporter. The broadcasting team has long been a positive for the organization as it many times entertains during lost seasons.

Clicker Books: With gambling now being legalized across the country, Papa Clicker took a trip back to the past with Matthew Goodman’s book, “The City Game.” In the late 1940s and 1950s, a group of CCNY players won both the NIT and NCAA championship, only to be implicated in point-shaving scandals. The book is excellently written and is worth your time if you like the topics. 4.6 clickers out of 5.