[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Legistar legislation details](https://spiral.ai/integrations/n8n/legistar-legislation-details)

# How to Use Legistar legislation details in n8n

Returns one legislative file with its sponsors, action history, and public attachment links. Use it to explain how a proposal progressed and find the supporting documents behind a search result.

|  |  |
| --- | --- |
| Model | Legistar legislation details |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Legistar legislation details in n8n

- Every Monday at 9am: use Legistar legislation details to look this up and give me the result as a table.
- Pull the latest numbers from Legistar legislation details and tell me what changed since last week.
- Check Legistar legislation details and summarize what you find in three bullet points.
- Pull the newest data from Legistar legislation details and give me the result as a table.
- Check Legistar legislation details every morning and tell me only when something changed.

## How to set up Legistar legislation details in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Legistar legislation details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Legistar legislation details, prices it and runs it each time the step fires.

### 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 Legistar legislation details**: 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": "legistar-com/legislation/legislation_detail",
    "input": {
      "client": "<client>",
      "matter_id": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds Legistar legislation details on Spiral, shows the price and runs it.

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

## Legistar legislation details tools and prices

- [Legistar council legislation and meetings · Legislation detail](https://spiral.ai/tools/alexandria/legistar-com/legislation/legislation_detail) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| include |  | — | Sections to fetch (one extra request each). Defaults to all three; sections not requested are null. |

## What can you do with Legistar legislation details in n8n?

Deliver a recurring city hall digest that identifies changes in public legislative records. A scheduled agent can compare Legistar records across runs and report developments in proposals, meetings, bodies, and official roles.

### Prepare a public hearing briefing

Identify the responsible body and its office holders, find the proposal and supporting documents, then connect the hearing date to the relevant agenda items.

### Research a zoning proposal

Assemble a briefing that connects a rezoning file, its action history, the reviewing boards, official roles, and the meetings where it was considered.

### Explain a municipal budget decision

Find budget legislation and attachments, identify the council or finance committee and its office holders, and link the proposal's progress to meeting actions.

### Write a weekly city hall digest

Combine legislative developments and meeting records with a short explanation of which government bodies and official roles are involved.

### Reconstruct a proposal's decision timeline

Follow a legislative file through its recorded actions and meeting appearances, with links to the relevant agendas and supporting documents.

## Overview

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

## Legistar legislation details in other agents

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

## More n8n guides

- [Legistar government bodies](https://spiral.ai/integrations/n8n/legistar-government-bodies)
- [Legistar legislation search](https://spiral.ai/integrations/n8n/legistar-legislation-search)
- [Justice Laws section text](https://spiral.ai/integrations/n8n/justice-laws-section-text)
- [Legistar meeting agenda](https://spiral.ai/integrations/n8n/legistar-meeting-agenda)
- [Justice Laws legislation versions](https://spiral.ai/integrations/n8n/justice-laws-legislation-versions)
- [Legistar meeting calendar](https://spiral.ai/integrations/n8n/legistar-meeting-calendar)

## Questions about Legistar legislation details in n8n

**Can n8n use Legistar legislation details?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Legistar legislation details like any built-in tool.

**How much does Legistar legislation details cost in n8n?**

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

**Do I need an Alexandria account to use Legistar legislation details in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Legistar legislation details on its own Alexandria account.

**How long does it take to set up Legistar legislation details in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Legistar legislation details runs?**

Legistar legislation details runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does Legistar cover every US local government?**

The source covers hundreds of US city and county Legistar portals. Its coverage is tied to those jurisdictional portals, rather than a single nationwide legislative register.

**Can I retrieve unpublished government records?**

Public read responses are limited to records marked public and available through Legistar's InSite website. Internal records outside that publication boundary are excluded.

**How many records can the underlying source return?**

Legistar documents a limit of 1,000 responses per query reply, with pagination for additional results. That is the underlying source's limit.

**What identifies a record's original jurisdiction?**

The provider includes public-record attribution naming the client jurisdiction and the record's original source URL.

**Are a proposal's introduction and passage dates the same thing?**

Legistar stores introduction, agenda, and passage dates separately. A dated legislative record therefore needs to be interpreted according to the particular milestone it describes.

