Brad Brach shook off an ugly first half in Baltimore last season and pitched well down the stretch after being traded to the Braves.

The Mets are looking for a similar turnaround from the right-hander who signed with them on Thursday after being released by the Cubs on Monday.

The Freehold, N.J. native blamed his ugly numbers primarily on two bad outings against the Rockies in June — one in Chicago and the other in Colorado — when he allowed a combined eight runs in one inning of work.

“I kind of went on a tailspin from there,’’ Brach said before the Mets’ 7-6 win over the Nationals on Friday night at Citi Field. “I just couldn’t get myself out of a funk.”

Brach, 33, also acknowledged he struggled with his location and overall “didn’t pitch very well.”

Mickey Callaway also said the Mets noticed his change-up usage was down, a pitch he has had success with in the past, but Brach said he felt he had been tipping at times this season.

Brach said he had offers from “seven or eight” teams and chose the Mets because they were in the postseason race, and he grew up a Mets fan, adding that he was in the stands for Game 3 of the 2015 World Series.

“This is a dream come true to come here to New York,’’ Brach said. “When I grew up, I wanted to be a Met.”