Second baseman Daniel Murphy and the Washington Nationals have agreed to a three-year, $37.5 million US contract, a person familiar with the negotiations told The Associated Press.

The person spoke on condition of anonymity Thursday night because the agreement, first reported by ESPN, was subject to a successful physical.

Drafted by the Mets in 2006, the 30-year-old starred in October when he homered in a record six straight post-season games and was voted the MVP in the Mets' National League Championship Series victory over the Chicago Cubs. But he made key errors in the fourth and fifth games of New York's five-game World Series loss to the Kansas City Royals.

Murphy hit .281 this year with a career-best 14 homers and 73 runs batted in. In seven seasons, all with the Mets, he has a .288 average with 62 homers and 402 RBIs.

Murphy became a free agent after the season and rejected the Mets' $15.8 million qualifying offer.

Washington loses its first-round draft pick, the 16th overall, and the Mets gain a compensation-round pick. The Nationals will have compensation-round picks for Jordan Zimmermann and Ian Desmond.

New York already has replaced Murphy with free agent second baseman Asdrubal Cabrera.

The Nationals had spent much of the off-season being thwarted in pursuit of additions, including attempts to get a second baseman or left-handed hitter.

They failed in bids to sign free agents Ben Zobrist, Jason Heyward and reliever Darren O'Day, and were unable to finalize a trade to acquire second baseman Brandon Phillips from Cincinnati.

Washington entered last season with World Series aspirations but failed to make the playoffs. The Nationals remade their starting infield, letting Desmond become a free agent and trading away Yunel Escobar. They hired Dusty Baker as manager after firing Matt Williams.

Murphy is not considered a top defender, but the Nationals might be hoping to overcome that with superb fielder Danny Espinosa at shortstop.