Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Public Records

How to Use Mass.gov office locations in Cursor

Returns public office listings and addresses from Mass.gov. Use it to find in-person assistance, checking whether a listed site is an office or a kiosk with limited services.

Prompts to try with Mass.gov office locations in Cursor

Copy an example into Cursor, or ask in your own words.

Use Mass.gov office locations to find returned DTA listings in Worcester and update our location directory with their published names and addresses.

Mass.gov office locationsCursor
Try asking
  • Use Mass.gov office locations to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Mass.gov office locations and tell me what changed since last week.

  • Check Mass.gov office locations and summarize what you find in three bullet points.

  • Pull the newest data from Mass.gov office locations and give me the result as a table.

How to set up Mass.gov office locations in Cursor

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Mass.gov office locations

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "mass-gov/public-services/locations",
        "input": {
          "org_nid": 1
        }
      }'

Then paste one of the prompts above: Cursor finds Mass.gov office locations on Spiral, shows the price and runs it.

Mass.gov office locations providers and prices

Spiral runs Mass.gov office locations through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Mass.gov · Locations
mass-gov/public-services/locations

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Org nida number from 1

Node id of the organization page.

Limit1 to 5020

Page size; the JSON:API caps pages at 50.

Offset0 to 1000000

Offset of the first row; pass next_offset from the previous page.

Every API field of Mass.gov · Locations is on its tool page: open its card above.

What can you do with Mass.gov office locations in Cursor?

Build a Massachusetts service directory that links residents to published program guidance, forms, and assistance. Use Mass.gov content to populate the project and identify supported changes to existing referral entries.

Prepare a SNAP referral packet

Gather the program overview, application instructions, printable forms, responsible agency, and nearby assistance offices into a source-linked packet for a Massachusetts food pantry.

Build a library's benefits resource directory

Assemble public MassHealth and SNAP resources with separate links for program information, application steps, forms, agency contacts, and in-person help.

Refresh a nonprofit's referral guide

Compare retrieved Mass.gov content with the guide's existing program descriptions, application routes, form links, agency contacts, and office addresses. Produce a list of supported corrections for an editor.

Train public-service navigators

Create a worked SNAP referral example that distinguishes the program overview, application process, downloadable forms, agency responsibility, and physical assistance locations.

Prepare an in-person assistance handout

Use published office addresses and application instructions to prepare a Worcester assistance handout, retaining any source descriptions of limited-service kiosks.

Questions about Mass.gov office locations in Cursor

Can Cursor use Mass.gov office locations?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Mass.gov office locations like any built-in tool.

How much does Mass.gov office locations cost in Cursor?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

Do I need an Alexandria account to use Mass.gov office locations in Cursor?

No. Spiral runs Mass.gov office locations on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Mass.gov office locations in Cursor?

About two minutes: add the hosted server, then sign in.

Does Cursor wait while Mass.gov office locations runs?

Mass.gov office locations runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

Which services does the Mass.gov data cover?

The documented coverage includes Massachusetts programs such as SNAP, MassHealth, TAFDC, heating assistance, WIC, and child care. It covers the public pages, forms, agencies, and offices that Mass.gov publishes for those services.

Is this public guidance or individual benefit case data?

The documented source is Mass.gov's public Drupal content: service pages, application instructions, agency information, offices, and forms. Individual benefit case records fall outside that documented coverage.

How current is Mass.gov's published information?

Mass.gov recommends monthly editorial checks for problems including obsolete content and broken links. That recommendation does not establish a guaranteed update interval for any page or API response.

Can one list request return every matching record?

Mass.gov's JSON:API caps list pages at 50 records. Longer result sets require additional pages; the provider documents continuing from the next offset returned by the preceding page.

Where can I look for an older version of a Mass.gov page?

Mass.gov says its content is archived through Archive-It in the Wayback Machine. Those snapshots provide a separate route for investigating earlier published guidance.

Get started

Start using Mass.gov office locations in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options