Massachusetts has a national reputation as a bastion of gun control, but crimes and injuries related to firearms have risen — sometimes dramatically — since the state passed a comprehensive package of gun laws in 1998.

Murders committed with firearms have increased significantly, aggravated assaults and robberies involving guns have risen, and gunshot injuries are up, according to FBI and state data.

To gun-rights groups like the National Rifle Association, these statistics are evidence that gun control does not work. But to gun-control advocates, the numbers show that no state — no matter how tough the laws — is protected from firearms violence when guns are brought in from other states.

“The quality of your gun-licensing laws is only as good as those surrounding you,” said James Alan Fox, a Northeastern University criminologist.

By that measure, according to gun-law proponents, Massachusetts has proved to be vulnerable. Only two states have a higher percentage of out-of-state guns found at crime scenes, according to a study by Mayors Against Illegal Guns, a group cofounded by Boston Mayor Thomas M. Menino.

Many guns found in Massachusetts travel only a short distance: 133 crime guns were traced to New Hampshire in 2011, and 79 to Maine, according to the federal Bureau of Alcohol, Tobacco, Firearms, and Explosives. Those states alone accounted for nearly one-third of the 669 crime guns traced to states outside of Massachusetts.

New Hampshire and Maine, unlike Massachusetts, do not require a permit or license to buy a gun, although weapons bought at federally licensed gun shops are subjected to a background check.

“If you’re a kid in New Bedford and you had a beef with somebody, what do you do? You drive three hours to Maine to buy a gun,” said New Bedford Mayor Jonathan Mitchell, a former federal prosecutor in Boston, who appeared with Menino and other Massachusetts mayors last week to press for stricter gun laws.

Despite the threat posed by out-of-state guns and the increase in firearm deaths, Massachusetts still had the second-lowest rate of such fatalities in the nation in 2010, according to the latest data from the Centers for Disease Control and Prevention, or CDC.

But calls to crack down on out-of-state guns, sometimes bought by straw purchasers who resell them illegally to criminals in Massachusetts, have become more urgent as gun crimes and injuries have increased.

In 2011, Massachusetts recorded 122 murders committed with firearms, a striking increase from the 65 in 1998, said Fox, the Northeastern professor. Nationwide, such murders increased only 3 percent from 1999 to 2010, the CDC says.

There were increases in other crimes involving guns in Massachusetts, too. From 1998 to 2011, aggravated assaults with guns rose 26.7 percent. Robberies with firearms increased 20.7 percent during that period, according to an FBI analysis conducted for the Globe.

The rise in Massachusetts shootings extends beyond crime. All gunshot injuries not resulting in death, including accidents but excluding suicide attempts, increased 20 percent from 2001 to 2011, according to the state Department of Public Health. Across the country, the rise was 18 percent, the CDC reported.

The increases have occurred despite gun-control laws, passed in 1998, that state officials describe as among the nation’s toughest, with a ban on semiautomatic assault weapons, more stringent licensing requirements, and a mandate that firearms be stored safely.

To gun rights advocates, those laws were misguided. In 1998, “they were just creating this huge set of laws that dealt with lawful people — what you can and can’t do — rather than focusing on the criminal element,” said Jim Wallace, executive director of the Gun Owners’ Action League, the Massachusetts affiliate of the NRA.

The debate over gun control has been stoked by the recent shooting deaths of 20 first-graders and six educators in Newtown, Conn. The tragedy has spurred Massachusetts legislators to reexamine the gun laws. “This is a national problem that all too easily spills over state borders,” Somerville Mayor Joseph Curtatone said at the news conference with Menino. “Just because we’re already tough doesn’t mean we shouldn’t do more.”

That thinking is behind bills to strengthen the gun laws, including a proposed ban on high-capacity magazines and better access to mental-health records, that have been filed by Governor Deval Patrick and state Representative David Linsky, a Natick Democrat and former state prosecutor.Continued...