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

Claude Code · Public Records

How to Use Legistar government bodies in Claude Code

Returns the councils, committees, boards, and departments a jurisdiction tracks, with body types and active status. Use it to identify the right government body before researching its legislation or meetings.

Prompts to try with Legistar government bodies in Claude Code

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

Use Legistar government bodies to retrieve Seattle's active bodies and add a searchable council and committee directory to this project.

Legistar government bodiesClaude Code
Try asking
  • Use Legistar government bodies to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Legistar government bodies and tell me what changed since last week.

  • Check Legistar government bodies and summarize what you find in three bullet points.

  • Pull the newest data from Legistar government bodies and give me the result as a table.

How to set up Legistar government bodies in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 Legistar government bodies

    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": "legistar-com/legislation/bodies",
        "input": {
          "client": "<client>"
        }
      }'

Then paste one of the prompts above: Claude Code finds Legistar government bodies on Spiral, shows the price and runs it.

Legistar government bodies providers and prices

Spiral runs Legistar government bodies through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 2001

1-based page; has_more says whether the next page exists.

Page size1 to 10020

Records per page, 1 to 100.

Active onlyon or off

Only bodies flagged active.

Every API field of Legistar council legislation and meetings · Bodies is on its tool page: open its card above.

What can you do with Legistar government bodies in Claude Code?

Build a city hall reference page that connects legislative decisions to government bodies, official roles, and meetings. A coding agent can turn Legistar's structured public records into project data and linked views.

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.

Build a public committee directory

List government bodies, their published office holders and term dates, and the meetings associated with each body.

Questions about Legistar government bodies in Claude Code

Can Claude Code use Legistar government bodies?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Legistar government bodies like any built-in tool.

How much does Legistar government bodies cost in Claude 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 Claude Code plan is separate.

Do I need an Alexandria account to use Legistar government bodies in Claude Code?

No. Spiral runs Legistar government bodies on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Legistar government bodies in Claude Code?

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

Does Claude Code wait while Legistar government bodies runs?

Legistar government bodies runs in the background. Claude Code 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.

Get started

Start using Legistar government bodies in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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