The New York Police Department is stepping up patrols in three Brooklyn neighborhoods after a surge of anti-Semitic crimes reported to the police in the last two weeks, Mayor Bill de Blasio announced on Friday.

Police officers are scheduled to patrol the streets of Borough Park, Crown Heights and Williamsburg, neighborhoods with a large numbers of Jewish residents, where they also plan to visit houses of worship and other “critical areas in the community,” Mr. de Blasio added on Twitter.

“Anti-Semitism is an attack on the values of our city — and we will confront it head-on,” Mr. de Blasio said on Twitter.

The announcement of the increased foot and car patrols comes as the Police Department’s Hate Crimes Task Force investigates eight “alarming” anti-Semitic incidents since Dec. 13, the police said.