Mayor Martin J. Walsh is heading to New Hampshire this weekend with more than 1,000 volunteers to stump for Hillary Clinton, as Tuesday’s vote nears in the Democratic presidential primary, a Walsh spokesman said.

Walsh, who endorsed Clinton in the fall, has already made three trips to the Granite State to campaign for the former secretary of state — serving as a surrogate at one campaign event and bringing along volunteers, said Michael Goldman, the mayor’s campaign spokesman.

“He personally has been up there three times,’’ Goldman said. “He’s done extensive door-knocking all over, especially in the Manchester area.”