[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Mass.gov application instructions](https://spiral.ai/integrations/grok/mass-gov-application-instructions)

# How to Use Mass.gov application instructions in Grok

Returns a Mass.gov how-to page with application instructions and next steps. Use it when someone needs the published route to apply for a program.

|  |  |
| --- | --- |
| Model | Mass.gov application instructions |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Mass.gov application instructions in Grok

- Use Mass.gov application instructions for https://www.mass.gov/how-to/supplemental-nutrition-assistance-program-snap-formerly-known-as-food-stamps and explain the published application process and next steps.
- Use Mass.gov application instructions to look this up and give me the result as a table.
- Pull the latest numbers from Mass.gov application instructions and tell me what changed since last week.
- Check Mass.gov application instructions and summarize what you find in three bullet points.
- Pull the newest data from Mass.gov application instructions and give me the result as a table.

## How to set up Mass.gov application instructions in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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.

```bash
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 application instructions**: One request; the result comes back by polling or a webhook.

```bash
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/how_to",
    "input": {
      "nid": 1
    }
  }'
```

Then paste one of the prompts above: Grok finds Mass.gov application instructions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Mass.gov application instructions tools and prices

- [Mass.gov · How to](https://spiral.ai/tools/alexandria/mass-gov/public-services/how_to) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| nid | 1 to … | — | Drupal node id of the how-to page (from search_pages or a link's `nid`). |
| url |  | — | Public URL or path of the how-to page on www.mass.gov (also accepts /node/{nid}). |

## What can you do with Mass.gov application instructions in Grok?

Produce a source-linked Massachusetts benefits reference for a library or nonprofit help desk. Turn published program information into a readable brief with the relevant application, form, agency, or office links.

### 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.

### Find translated application forms

Identify listed SNAP form translations and pair their download links with the published application instructions for a multilingual assistance desk.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Mass.gov application instructions in other agents

- [Amp](https://spiral.ai/integrations/amp/mass-gov-application-instructions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/mass-gov-application-instructions)
- [Claude](https://spiral.ai/integrations/claude-desktop/mass-gov-application-instructions)
- [Claude Code](https://spiral.ai/integrations/claude-code/mass-gov-application-instructions)
- [Cline](https://spiral.ai/integrations/cline/mass-gov-application-instructions)
- [Codex](https://spiral.ai/integrations/codex/mass-gov-application-instructions)
- [Cursor](https://spiral.ai/integrations/cursor/mass-gov-application-instructions)
- [Devin](https://spiral.ai/integrations/devin/mass-gov-application-instructions)
- [dots](https://spiral.ai/integrations/dots/mass-gov-application-instructions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/mass-gov-application-instructions)
- [Gemini](https://spiral.ai/integrations/gemini/mass-gov-application-instructions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/mass-gov-application-instructions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/mass-gov-application-instructions)
- [goose](https://spiral.ai/integrations/goose/mass-gov-application-instructions)
- [Grok Build](https://spiral.ai/integrations/grok-build/mass-gov-application-instructions)
- [Hermes](https://spiral.ai/integrations/hermes/mass-gov-application-instructions)
- [Instinct](https://spiral.ai/integrations/instinct/mass-gov-application-instructions)
- [Manus](https://spiral.ai/integrations/manus/mass-gov-application-instructions)
- [Muse](https://spiral.ai/integrations/muse/mass-gov-application-instructions)
- [Muse Code](https://spiral.ai/integrations/muse-code/mass-gov-application-instructions)
- [n8n](https://spiral.ai/integrations/n8n/mass-gov-application-instructions)
- [Notion](https://spiral.ai/integrations/notion/mass-gov-application-instructions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/mass-gov-application-instructions)
- [opencode](https://spiral.ai/integrations/opencode/mass-gov-application-instructions)
- [Perplexity](https://spiral.ai/integrations/perplexity/mass-gov-application-instructions)
- [Raycast](https://spiral.ai/integrations/raycast/mass-gov-application-instructions)
- [VS Code](https://spiral.ai/integrations/vscode/mass-gov-application-instructions)
- [Windsurf](https://spiral.ai/integrations/windsurf/mass-gov-application-instructions)
- [Zapier](https://spiral.ai/integrations/zapier/mass-gov-application-instructions)

## More Grok guides

- [Mass.gov application forms](https://spiral.ai/integrations/grok/mass-gov-application-forms)
- [Mass.gov office locations](https://spiral.ai/integrations/grok/mass-gov-office-locations)
- [Mass.gov agency details](https://spiral.ai/integrations/grok/mass-gov-agency-details)
- [Mass.gov page search](https://spiral.ai/integrations/grok/mass-gov-page-search)
- [MarineCadastre daily AIS file](https://spiral.ai/integrations/grok/marinecadastre-daily-ais-file)
- [Mass.gov service overview](https://spiral.ai/integrations/grok/mass-gov-service-overview)

## Questions about Mass.gov application instructions in Grok

**Can Grok use Mass.gov application instructions?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Mass.gov application instructions like any built-in tool.

**How much does Mass.gov application instructions cost in Grok?**

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

**Do I need an Alexandria account to use Mass.gov application instructions in Grok?**

No. Spiral runs Mass.gov application instructions 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 application instructions in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Mass.gov application instructions runs?**

Mass.gov application instructions runs in the background. Grok 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.

