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

Muse Code · Listings

How to Use Boston contractor permit activity in Muse Code

Returns applicants ranked by permit count or total declared valuation in Boston’s issued permit records. Use it to compare contractor activity before examining individual permits.

Prompts to try with Boston contractor permit activity in Muse Code

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

Use Boston contractor permit activity to compare applicants associated with solar permits in ZIP code 02132 through December 31, 2025, and add a chart of permit counts to this project.

Boston contractor permit activityMuse Code
Try asking
  • Use Boston contractor permit activity to retrieve Sunrun applicant activity through December 31, 2025, and add a table of returned applicant names, permit counts, and declared valuations to this project.

  • Use Boston contractor permit activity to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Boston contractor permit activity and tell me what changed since last week.

  • Check Boston contractor permit activity and summarize what you find in three bullet points.

How to set up Boston contractor permit activity in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 Boston contractor permit activity

    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": "data-boston-gov/building-permits/contractor_activity",
        "input": {
          "issued_since": "<issued_since>"
        }
      }'

Then paste one of the prompts above: Muse Code finds Boston contractor permit activity on Spiral, shows the price and runs it.

Boston contractor permit activity providers and prices

Spiral runs Boston contractor permit activity through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortpermits_desc or valuation_descpermits_desc

permits_desc: most permits first; valuation_desc: largest total declared valuation first.

Limit1 to 10025

Rows per page.

Every API field of Analyze Boston: building permits, zoning appeals and violations (data.boston.gov) · Contractor activity is on its tool page: open its card above.

What can you do with Boston contractor permit activity in Muse Code?

Build a Boston construction report that connects contractor rankings to supporting permit records. A coding agent can turn applicant activity, project descriptions, and issuance dates into tables and views in your project.

Compare solar contractor activity

Rank applicants associated with Boston solar permits, collect the underlying permits, and inspect selected work descriptions. Build a comparison based on recorded permit activity.

Research the roofing market

Compare applicant permit counts and declared valuations for roofing work. Review individual permits to show what kinds of projects contribute to each applicant’s totals.

Prepare a ZIP code construction brief

Summarize issued permits in a Boston ZIP code, identify active applicants, and add selected project descriptions. Use permit numbers to connect the summary to supporting records.

Review new construction activity

Find new construction permits, compare applicant activity, and inspect the published records behind selected projects. Present permit counts and declared valuations as separate measures.

Check a contractor shortlist

Compare public contractor businesses using their recorded applicant activity. Examine underlying permit descriptions and dates to select examples relevant to a planned project.

Support a construction news report

Find recently issued Boston permits, identify applicants with substantial recorded activity, and inspect notable project records. Include permit numbers and declared valuations alongside the work descriptions.

Questions about Boston contractor permit activity in Muse Code

Can Muse Code use Boston contractor permit activity?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Boston contractor permit activity like any built-in tool.

How much does Boston contractor permit activity cost in Muse Code?

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

Do I need an Alexandria account to use Boston contractor permit activity in Muse Code?

No. Spiral runs Boston contractor permit activity on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Boston contractor permit activity in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Boston contractor permit activity runs?

Boston contractor permit activity runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Does this cover all of Greater Boston?

The source is the City of Boston’s Approved Building Permits dataset. Its coverage is Boston permits; it does not establish coverage for Cambridge, Somerville, or other neighboring municipalities.

How often does Boston refresh the permit data?

The provider describes a daily reload of Boston’s issued permit dataset. That schedule does not establish that every newly issued permit appears immediately.

How far back does the permit history go?

The provider describes records dating to 2006, while Boston’s own historical-record guide points to this dataset for permits issued after December 15, 2009. Complete coverage before that date is not established.

Can I retrieve building plans with the permit data?

Boston says building plans must be viewed in person at its document room. The published permit columns include descriptions, comments, dates, and status, rather than the plans themselves.

Can I reuse Boston permit data in a commercial report?

The dataset is identified as PDDL licensed. PDDL permits commercial use and combining the data with other datasets.

Get started

Start using Boston contractor permit activity in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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