Francis Hannon appeals from the district court’s final order dismissing his claims against Jeffrey Beard and Mary-jane Hesse for lack of personal jurisdiction. We have jurisdiction pursuant to 28 U.S.C. § 1291. We affirm in part and reverse and remand in part.
I.
Hannon’s claims against Beard and Hesse are part of a multi-party, multi-claim lawsuit filed in the district court for the District of Massachusetts. Hannon and his fellow plaintiffs, all prisoners in Massachusetts, alleged various federal and state constitutional violations against numerous defendants, most of whom were officials in the Massachusetts Department of Corrections (DOC). However, Hannon, who was convicted in Pennsylvania and has spent most of his prison time there, also included a claim against Beard and Hesse, who were officials in the Pennsylvania DOC during the time periods relevant to this action.
Since his 1978 conviction and incarceration in Pennsylvania, Hannon has been the quintessential “jailhouse lawyer,” pursuing post-conviction relief and filing numerous grievances and lawsuits on behalf of himself and other prisoners challenging their conditions of confinement. Hannon estimates that he has represented “thousands” of his fellow inmates in proceedings. He alleges that the Pennsylvania DOC grew tired of his lawsuits and agitation and, in order to prevent him from filing more lawsuits and in retaliation for the actions he had already taken, began a strategy of transferring him to out-of-state prisons.
Transfers of state prisoners to prisons in other states are effected pursuant to the Interstate Corrections Compact (Compact), which generally permits states to contract for one state’s incarceration of another state’s convicts in consideration for payment. Pursuant to the Compact, Hannon was transferred in 1997 to a District of Columbia prison and, in the first several months of 2001, was transferred to another District of Columbia prison, two different Maryland prisons, and eventually back to Pennsylvania. In December of 2001, he was transferred from Pennsylvania to Massachusetts. Hannon alleges that his legal materials “disappeared” during the transfer to Massachusetts.
Hannon asserts that the decision to transfer him to Massachusetts was authorized and directed by Beard, the Secretary of the Pennsylvania DOC, in retaliation for Hannon’s lawsuits against DOC officers. Though Beard asserted that he has not been involved with Hannon subsequent to the transfer, he did not deny involvement leading up to the transfer.
Once in Massachusetts, Hannon sent a number of letters to Hesse, a Pennsylvania *279 DOC prison librarian, requesting legal materials. She responded several times, sometimes denying his requests and sometimes sending requested material either to him or to a prison librarian in Massachusetts. At times, she sought legal counsel’s advice to determine whether she was required to send the requested materials. She states that every time she denied a request for material, it was because legal counsel had advised her that she was not required to supply Hannon with it.
In 2003, Hannon filed a complaint against Beard and Hesse, as well as against numerous Massachusetts prison officials, in the Massachusetts district court. His claims against Beard and Hesse allege that they violated his First and Fourteenth Amendment rights and his rights under Articles XI and XII of the Massachusetts Declaration of Rights by transferring him between prisons, confiscating his legal materials, and refusing to provide him with requested legal materials.
In January 2007, after he filed this action, Hannon learned that he was to be transferred yet again. His emergency motion for a temporary restraining order enjoining the transfer was denied, and this was affirmed by us on appeal. He was transferred to New Jersey.
Beard and Hesse filed a motion to dismiss, arguing, among other things, that the Massachusetts district court lacked personal jurisdiction over them. On June 26, 2007, the district court granted the motion and dismissed Hannon’s claims against Hesse and Beard for lack of personal jurisdiction. The court reasoned that the long-arm statute did not reach Hesse or Beard because they did not “transact business” within Massachusetts: “The decision to transfer plaintiff and confiscate legal materials all occurred in Pennsylvania where the Pennsylvania defendants reside.” The district court concluded that a transfer pursuant to the Compact does not alone constitute the transaction of business in Massachusetts. Because the district court dismissed for lack of jurisdiction, it did not reach any of the other grounds for dismissal argued in Beard and Hesse’s motion to dismiss. Several of Hannon’s claims against other defendants, as well as other plaintiffs’ claims, survived motions to dismiss. Final judgment on the dismissal of the claims against Beard and Hesse was entered pursuant to Hannon’s Rule 54(b) motion, and Hannon timely appealed.
II.
It is axiomatic that, “[t]o hear a case, a court must have personal jurisdiction over the parties, ‘that is, the power to require the parties to obey its decrees.’ ”
Daynard v. Ness, Motley, Loadholt, Richardson, & Poole, P.A.,
Hannon has not alleged that Beard or Hesse “has engaged in continuous and systematic activity” in Massachusetts; so, in the absence of general jurisdiction, the court’s power will depend upon the existence of specific jurisdiction.
See id.
at 51. “Specific jurisdiction exists when there is a demonstrable nexus between a plaintiffs claims and a defendant’s forum-based activities, such as when the
*280
litigation itself is founded directly on those activities.”
Mass. Sch. of Law at Andover, Inc. v. Am. Bar Ass’n,
A.
Because we have construed the Massachusetts long-arm statute to be coextensive with the limits allowed by the United States Constitution, we often “sidestep the statutory inquiry and proceed directly to the constitutional analysis.”
See id.
However, Hannon’s claim involves Pennsylvania state officials’ exercise of their discretion, rather than a conventional contract or tort claim. It would be useful therefore to consider first, as the district court did, whether the Massachusetts long-arm statute reaches Beard as the Secretary of the Pennsylvania DOC and Hesse as a prison librarian for the Pennsylvania DOC.
See Stroman Realty, Inc. v. Wercinski,
Hannon’s assertion of personal jurisdiction under the long-arm statute is based on the portion of that statute providing that “[a] court may exercise personal jurisdiction over a person, who acts directly or by an agent, as to a cause of action in law or equity arising from the person’s transacting any business in this commonwealth.” Mass. Gen. Laws ch. 223A, § 3(a). That provision “should be construed broadly,” and “does not require that the defendant have engaged in commercial activity. [The] language is general and applies to any purposeful acts by an individual, whether personal, private, or commercial.”
Ealing Corp. v. Harrods Ltd.,
To support jurisdiction in this case, Hannon alleges that Beard “authorized, directed, and/or effected” his transfer from the Pennsylvania DOC to the Massachusetts DOC pursuant to the Compact. The Compact creates a five-year agreement between the states, and outlines the specific procedures for transferring inmates. According to the terms of the Compact, Pennsylvania was required to send an application to Massachusetts requesting to transfer Hannon, arrange and pay for Hannon’s transportation to a Massachusetts institution, transfer funds owed to *281 Hannon to Massachusetts, furnish documents and provide legal advice as necessary to Massachusetts, pre-authorize and pay for Hannon’s medical, psychiatric, and dental care or treatment in Massachusetts, and authorize Hannon’s security classification, among other things. Massachusetts, in turn, was obligated to make regular reports to Pennsylvania on Hannon’s conduct. See 61 P.S. § 1062; Mass. Gen. Law ch. 125 App., § 2-1. In sum, as Hannon alleges, when Beard arranged for the transfer between the Pennsylvania DOC and the Massachusetts DOC pursuant to an existing, on-going contract between the two, he “caused extensive services to be rendered in Massachusetts, caused payment to be made in Massachusetts, and procured the application of Massachusetts law to [ ] Hannon’s future conduct.”
The contacts that Beard would have had to make to arrange for Hannon’s transfer from Pennsylvania to Massachusetts are sufficient to constitute “transacting business” under the broadly-construed long-arm statute. The district court erred when it reasoned that because “[t]he decision to transfer plaintiff ... occurred in Pennsylvania,” it lacked jurisdiction over Beard. A defendant need not have been physically present in the forum state in order to have “transacted business” there.
See Fairview Mach.,
That Beard’s actions were not “commercial” is not relevant,
see Ealing Corp.,
Beard cites no case that suggests that prison officials cannot be subject to personal jurisdiction in a foreign state merely because they are state officials. Certainly, there are constitutional limitations on a plaintiffs ability to hale a prison official into another state, which we address shortly. Under these circumstances, though, we hold that Beard “transacted business” in Massachusetts for purposes of the state’s long-arm statute, particularly because the contacts Hannon alleges form the basis for Hannon’s claim against Beard.
Hannon’s jurisdictional case for Hesse is far less persuasive. Hannon bases his argument on Hesse’s responses to a number of written requests for legal materials that he sent to her from a Massachusetts prison. At least twice Hesse sent requested materials to a Massachusetts prison librarian (and so advised Hannon), about six times she denied Hannon’s requests after receiving advice from legal counsel that she was not obligated to send the materials, and three times she directly sent Hannon the requested material.
These limited interactions do not constitute “transacting business” under the Massachusetts long-arm statute. Hesse did not initiate contact with Hannon, and she did not purposefully direct any action toward Massachusetts. She had nothing to do with Hannon’s transfer there, and it
*282
was merely incidental that she sent replies to Massachusetts because that was where he happened to have been transferred. Our cases make clear that contacts with the forum state must be “purposeful” in order to constitute the transaction of business.
See Ealing Corp.,
B.
Having determined that the Massachusetts long-arm statute permits jurisdiction over Beard, we must decide whether asserting jurisdiction over him would comport with the requirements of due process. “In the personal jurisdiction context, we have characterized compliance with the Constitution as implicating three distinct components, namely, relatedness, purposeful availment (sometimes called ‘minimum contacts’), and reasonableness.”
See Mass. Sch. of Law,
1.
The first step to achieving personal jurisdiction is that “a claim must arise out of, or be related to, the defendant’s in-forum activities.”
Id.
(internal quotation marks and citation omitted). The relatedness standard is flexible and “focuses on the nexus between the defendant’s contacts and the plaintiffs cause of action.”
Adelson v. Hananel,
Though the relatedness standard has been described as the least developed part of the due process standard,
see, e.g., Swiss Am. Bank, Ltd.,
That Hannon was not a party to the Compact or arrangements made between Beard and Massachusetts is not relevant to this relatedness analysis. Though it was not argued in the briefs, Beard’s counsel at oral argument stressed that, because Hannon was not a party to the Compact between Pennsylvania and Massachusetts, the Compact and any arrangements made pursuant to it cannot be used by Hannon to assert jurisdiction over Beard. Indeed, Article XXXII of the Intergovernmental Agreement for the Implementation of the
*283
Compact restricts any rights under the agreement to the state parties. However, Beard provided no case law for the proposition that only a party to a contract can use the contract as a basis for asserting personal jurisdiction over another party to the contract, and we conclude that the proposition is unsound as applied to this situation. First, the relatedness requirement focuses on the nexus between the plaintiffs claim and the defendant’s contacts with the forum state, not on the relationship between the plaintiff and defendant.
See Sawtelle v. Farrell,
Second, Hannon’s claim is not for breach of contract. He does not argue that his treatment in Massachusetts or even that the transfer to Massachusetts violated the Compact. Rather, Hannon raises a constitutional claim, arguing that the transfer was in retaliation for his exercise of constitutional rights. This claim is more analogous to a tort claim than a contract claim for jurisdictional purposes,
see Stroman Realty,
Finally, we stress that Hannon’s claim based on the unconstitutionality of the transfer itself is critical to our analysis. One of Beard’s principal arguments against asserting personal jurisdiction on the basis of participation in the Compact is that it would subject Beard and his counterparts across the country to lawsuits in every state that is a party to the Compact. While we understand his concern, our decision ought not have this affect. Several district courts have declined to exercise personal jurisdiction over out-of-state defendants when prisoners transferred pursuant to the Compact sue their former prison officials in foreign states.
See, e.g., Ibrahim v. Dist. of Columbia,
2.
That a defendant’s forum-state contacts are related to a plaintiffs claims is not enough to justify an assertion of
*284
personal jurisdiction. The defendant’s contacts must also “represent a purposeful availment of the privilege of conducting activities in the forum state, thereby invoking the benefits and protections of that state’s laws and making the defendant’s presence before the state’s courts foreseeable.”
Daynard,
Whether Beard’s actions in transferring Hannon from Pennsylvania to Massachusetts were a purposeful availment of the privilege of conducting business in Massachusetts is a close question. But we are convinced that Beard’s contacts with Massachusetts were not “random, isolated or fortuitous.”
See Adelson,
Furthermore, if it is true that Beard’s transfer was made for unconstitutional reasons, Beard could not only have foreseen that Hannon would sue him but that Hannon would sue him in Massachusetts. In fact, the Compact provides that, “The sending state and receiving state will cooperate in other matters of mutual interest in the defense of transfer-related litigation.” That expressly contemplates the possibility of transfer-related litigation, and it seems reasonable to expect that the litigation could occur in either the sending state or the receiving state. Based on the volun-tariness of Beard’s alleged actions and the foreseeability that the transfer would spur litigation in Massachusetts, we conclude that Beard purposefully availed himself of the privilege of doing business in Massachusetts and established the requisite minimum contacts necessary to satisfy due process concerns.
3.
Finally, after considering whether a defendant’s contacts are related to a plaintiffs claim and whether the defendant purposefully availed himself of the benefits of doing business in the forum state, we ask whether asserting personal jurisdiction would be reasonable. The factors we examine to consider reasonableness are: “(1) the defendant’s burden of appearing, (2) the forum state’s interest in adjudicating the dispute, (3) the plaintiffs interest in obtaining convenient and effective relief, (4) the judicial .system’s interest in obtaining the most effective resolution of the controversy, and (5) the common interests of all sovereigns in promoting substantive social policies.” Id. at 51.
*285
First, Beard has not shown an unusual hardship would result from having to appear in Massachusetts. It is true that appearing in Massachusetts is more burdensome for Beard than appearing in Pennsylvania. However, “staging a defense in a foreign jurisdiction is almost always inconvenient and/or costly,” so “this factor is only meaningful where a party can demonstrate some kind of special or unusual burden.”
See Pritzker v. Yari,
Second, Massachusetts may have an interest in adjudicating this dispute. Han-non argues that Massachusetts has a significant interest in ensuring that out-of-state defendants do not retaliate against unwanted prisoners by casting them into Massachusetts. This may be true. Massachusetts may not want prisoners sent to its prisons in retaliation for their exercise of constitutional rights, so it has some interest in adjudicating the dispute.
Third, Hannon has some interest in litigating in Massachusetts to obtain convenient and effective relief. This court “has repeatedly observed that a plaintiffs choice of forum must be accorded a degree of deference with respect to the issue of its own convenience.”
Sawtelle,
Fourth, litigating this issue in Massachusetts would promote the judicial system’s interest in obtaining the most effective resolution of the controversy. Hannon has an attorney in Massachusetts and this case has been litigated in Massachusetts for several years already. Changing venue at this point may entail substantial judicial resources and it may be most effective to keep the action in Massachusetts. There is no reason that the Massachusetts court cannot effectively resolve a dispute between Hannon and Beard.
Finally, the interests of all sovereigns in promoting substantive social policies may weigh slightly in Hannon’s favor. The substantive social policy, that transfers pursuant to the Compact should not be effected for illegal or retaliatory purposes, suggests that this issue could be litigated in Massachusetts. However, this factor does not weigh particularly in Hannon’s favor because the same interest would be served in a Pennsylvania district court.
Overall, the reasonableness factors weigh in Hannon’s favor. Therefore, because Hannon’s claims are related to Beard’s contacts, and Beard purposefully availed himself of the privilege of doing business in Massachusetts, we hold that it would not offend due process to assert personal jurisdiction over Beard.
III.
Because an assertion of personal jurisdiction over Beard is authorized by the Massachusetts long-arm statute, and because it comports with constitutional due process, we reverse the district court’s order dismissing Hannon’s claims against Beard for lack of personal jurisdiction and *286 remand for further proceedings. However, we affirm the district court’s dismissal of Hannon’s claim against Hesse because the Massachusetts long-arm statute does not permit an assertion of personal jurisdiction over her.
REVERSED AND REMANDED IN PART, AFFIRMED IN PART. Each party should bear its own costs.
