MLB

Matt Chapman agrees to three-year, $54 million Giants contract

One of the game’s top remaining free agents has found a home.

Third baseman Matt Chapman has agreed to a three-year, $54 million contract with the Giants, The Post’s Jon Heyman reported on Friday night.

The deal, which includes two opt-outs, will pay him $20 million in the first season, $18 million in the second and $16 million in the third.

Matt Chapman is heading to the Giants.
Matt Chapman is heading to the Giants. USA TODAY Sports via Reuters Con

Chapman was among the four top clients of agent Scott Boras who had not yet signed, but now, he will take over the hot corner for the Giants.

In early February, Heyman reported the Giants and manager Bob Melvin — Chapman’s skipper when they were both in Oakland — were interested in the corner infielder, but things had not yet materialized.

Chapman, 30, is one of the premier defensive infielders in the game, having won four Gold Gloves, including one last season with the Blue Jays.

He recorded five outs above average last year, which was in the 87th percentile, according to Baseball Savant.

Through the first 27 games of last season, Chapman was elite with the bat, hitting .384 with a 1.152 OPS.

But his offensive output quickly declined the rest of the way, and after the All-Star break, he posted just a .663 OPS.

Chapman struggled at the plate last season.
Matt Chapman struggled at the plate last season. Corey Sipkin for the NY POST

That offensive slog hurt his free agent market, Heyman reported, as his struggles gave teams “pause.”

Nevertheless, according to Baseball Savant, his offensive peripherals were among the game’s best, as he ranked in the top 1 percent in baseball in hard hit percentage and within the top 2 percent in average exit velocity.

San Francisco ranked 19th in homers (174) and 27th in slugging percentage (.383) last season, so the Giants can only hope he can convert those advanced metrics back into game power.

Before last year, Chapman had slugged at least 24 homers in each of the four seasons in which he played in at least 140 games.

The three remaining “Boras Four” members — Blake Snell, Jordan Montgomery and J.D. Martinez — all are still waiting to find new homes.