[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Connecticut solar and battery installations](https://spiral.ai/integrations/opencode/connecticut-solar-and-battery-installations)

# How to Use Connecticut solar and battery installations in opencode

Returns individual solar or battery program records with installer, location, system size, and project details. Use it to examine the projects behind an installer comparison or town summary.

|  |  |
| --- | --- |
| Model | Connecticut solar and battery installations |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Connecticut solar and battery installations in opencode

- Use Connecticut solar and battery installations to fetch ESS projects in Glastonbury and create a CSV of installer, town, system size, and reported status.
- Use Connecticut solar and battery installations to retrieve RSIP projects matching Earthlight and add a system-size summary to my analysis notebook.
- Use Connecticut solar and battery installations to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Connecticut solar and battery installations and tell me what changed since last week.
- Check Connecticut solar and battery installations and summarize what you find in three bullet points.

## How to set up Connecticut solar and battery installations in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Connecticut solar and battery installations**: 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": "data-ct-gov/building-permits/search_installations",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Connecticut solar and battery installations on Spiral, shows the price and runs it.

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

## Connecticut solar and battery installations tools and prices

- [Connecticut Solar and Battery Installs (data.ct.gov) · Search installations](https://spiral.ai/tools/alexandria/data-ct-gov/building-permits/search_installations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | Five-digit ZIP of the install, e.g. 06033. Pattern: ^[0-9]{5}$. |
| sort | completed_desc, enrolled_desc, updated_desc, size_desc, cost_desc | completed_desc | completed_desc: newest completion first, projects in progress last; enrolled_desc: newest enrollment first; updated_desc (ESS only): most recently changed first; size_desc: largest kW first; cost_desc: most expensive first. |
| limit | 1 to 100 | 25 | Rows per page. |
| cursor |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| sector | residential, commercial | — | residential, or commercial for ESS C&I projects. RSIP is residential only. |
| status |  | — | ESS only: case-insensitive substring of the project stage or status (complete, installation, submitted, pending). |

## What can you do with Connecticut solar and battery installations in opencode?

Build a town comparison or installer table from Connecticut Green Bank program records. A coding agent can add project counts, system sizes, and ESS status summaries to your project's reports.

### Build a local installer shortlist

Compare contractors active in Glastonbury using program project counts, then review installation records to understand their system sizes and local work.

### Compare project volume with installed power

Identify contractors leading by project count versus total kW. Review individual installations to see whether a few large systems explain the difference.

### Compare town installation patterns

Compare program activity in West Hartford and Glastonbury, including installer concentration and system sizes, to inform a municipal energy briefing.

### Document historical solar deployment

Use RSIP records to describe which contractors delivered solar projects in Bridgeport and the sizes of those systems. Keep conclusions within RSIP coverage.

### Review battery program progress

Compare installer activity across reporting periods and inspect ESS project statuses to distinguish completed work from projects still moving through the program.

### Research commercial battery contractors

Compare contractors associated with commercial ESS projects and review the underlying system sizes to prepare questions for a contractor assessment.

## Overview

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

## Connecticut solar and battery installations in other agents

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

## More opencode guides

- [Columbus contractor permit activity](https://spiral.ai/integrations/opencode/columbus-contractor-permit-activity)
- [Connecticut solar and battery installer activity](https://spiral.ai/integrations/opencode/connecticut-solar-and-battery-installer-activity)
- [Columbus building permit search](https://spiral.ai/integrations/opencode/columbus-building-permit-search)
- [Craigslist housing posting details](https://spiral.ai/integrations/opencode/craigslist-housing-posting-details)
- [Columbus building permit details](https://spiral.ai/integrations/opencode/columbus-building-permit-details)
- [Craigslist housing regions](https://spiral.ai/integrations/opencode/craigslist-housing-regions)

## Questions about Connecticut solar and battery installations in opencode

**Can opencode use Connecticut solar and battery installations?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Connecticut solar and battery installations like any built-in tool.

**How much does Connecticut solar and battery installations cost in opencode?**

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

**Do I need an Alexandria account to use Connecticut solar and battery installations in opencode?**

No. Spiral runs Connecticut solar and battery installations on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Connecticut solar and battery installations in opencode?**

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

**Does opencode wait while Connecticut solar and battery installations runs?**

Connecticut solar and battery installations runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this cover every solar or battery installation in Connecticut?**

Coverage is limited to projects supported by ESS or RSIP. A comparison using these records measures activity within those incentive programs, rather than the entire Connecticut installation market.

**How fresh is the battery project data?**

The provider says ESS data reloads monthly. It includes projects moving from application through completion, so a refresh can change existing project records as well as add projects.

**What does the solar dataset cover?**

RSIP publishes anonymized records of approved and completed projects supported by the Residential Solar Investment Program. Connecticut Green Bank identifies system sizes, costs, and installing contractors among the available details.

**Does an approved battery project mean the battery is installed?**

ESS separates Submitted, Approved, and Completed statuses. Use completed projects when measuring delivered installations; approval alone does not establish completion.

**Are these customer identification records?**

Both ESS and RSIP describe their public project listings as anonymized. They support analysis of program participation and contractor activity rather than customer identification.

