[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Legistar public office holders](https://spiral.ai/integrations/codex/legistar-public-office-holders)

# How to Use Legistar public office holders in Codex

Returns published office records with names, titles, government bodies, and term dates. Use it to establish who held an official role when a legislative decision was considered.

|  |  |
| --- | --- |
| Model | Legistar public office holders |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Legistar public office holders in Codex

- Use Legistar public office holders to retrieve Seattle City Council office records and add official titles and term dates to the project's public directory.
- Use Legistar public office holders to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Legistar public office holders and tell me what changed since last week.
- Check Legistar public office holders and summarize what you find in three bullet points.
- Pull the newest data from Legistar public office holders and give me the result as a table.

## How to set up Legistar public office holders in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

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

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Legistar public office holders**: 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/officials",
    "input": {
      "client": "<client>"
    }
  }'
```

Then paste one of the prompts above: Codex finds Legistar public office holders on Spiral, shows the price and runs it.

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

## Legistar public office holders tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| body |  | — | Substring of the body name (City Council, Planning Commission). |
| page | 1 to 200 | 1 | 1-based page; has_more says whether the next page exists. |
| query |  | — | Substring of the person's full name. |
| body_id | 1 to … | — | Only office records of this body (BodyId from bodies). |
| active_on |  | — | Date the office must be held on. Defaults to today (UTC). Ignored when active_only is false. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| page_size | 1 to 100 | 20 | Records per page, 1 to 100. |

## What can you do with Legistar public office holders in Codex?

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.

## Overview

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

## Legistar public office holders in other agents

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

## More Codex guides

- [Legistar meeting calendar](https://spiral.ai/integrations/codex/legistar-meeting-calendar)
- [MarineCadastre AIS archive status](https://spiral.ai/integrations/codex/marinecadastre-ais-archive-status)
- [Legistar meeting agenda](https://spiral.ai/integrations/codex/legistar-meeting-agenda)
- [MarineCadastre AIS file list](https://spiral.ai/integrations/codex/marinecadastre-ais-file-list)
- [Legistar legislation search](https://spiral.ai/integrations/codex/legistar-legislation-search)
- [MarineCadastre daily AIS file](https://spiral.ai/integrations/codex/marinecadastre-daily-ais-file)

## Questions about Legistar public office holders in Codex

**Can Codex use Legistar public office holders?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Legistar public office holders like any built-in tool.

**How much does Legistar public office holders cost in Codex?**

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

**Do I need an Alexandria account to use Legistar public office holders in Codex?**

No. Spiral runs Legistar public office holders 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 public office holders in Codex?**

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

**Does Codex wait while Legistar public office holders runs?**

Legistar public office holders runs in the background. Codex 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.

