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

opencode · Public Records

How to Use Legistar meeting agenda in opencode

Returns one meeting's agenda items, linked legislative files, recorded actions, results, and vote tallies. Use it to explain what happened to a proposal at a particular meeting.

Prompts to try with Legistar meeting agenda in opencode

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

Use Legistar meeting agenda to look this up and give me the result as a table. Save the result in ./assets.

Legistar meeting agendaopencode
Try asking
  • Pull the latest numbers from Legistar meeting agenda and tell me what changed since last week.

  • Check Legistar meeting agenda and summarize what you find in three bullet points.

  • Pull the newest data from Legistar meeting agenda and give me the result as a table.

  • Check Legistar meeting agenda every morning and tell me only when something changed.

How to set up Legistar meeting agenda 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Legistar meeting agenda

    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/meeting_agenda",
        "input": {
          "client": "<client>",
          "event_id": 1
        }
      }'

Then paste one of the prompts above: opencode finds Legistar meeting agenda on Spiral, shows the price and runs it.

Legistar meeting agenda providers and prices

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

AlexandriaPublic Records

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Event IDa number from 1

Legistar EventId of the meeting.

Include noteson or off

Fetch agenda and minutes notes (converted from RTF to plain text).

Include voteson or off

Fetch each member's vote for items with a recorded result, one request per item, at most 20 items per call (the rest keep votes null and the result is marked partial). Combine with query.

Include attachmentson or off

Fetch attachment links for each linked file.

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

What can you do with Legistar meeting agenda in opencode?

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.

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.

Questions about Legistar meeting agenda in opencode

Can opencode use Legistar meeting agenda?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Legistar meeting agenda like any built-in tool.

How much does Legistar meeting agenda 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 Legistar meeting agenda in opencode?

No. Spiral runs Legistar meeting agenda 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 meeting agenda in opencode?

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

Does opencode wait while Legistar meeting agenda runs?

Legistar meeting agenda runs in the background. opencode 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 meeting agenda in opencode

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

Paste this into opencode:

Set up opencode

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