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.
Prompts to try with Legistar public office holders in Codex
Copy an example into Codex, or ask in your own words.
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
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Legistar public office holders
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/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.
Legistar public office holders providers and prices
Spiral runs Legistar public office holders through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 200 | 1 | 1-based page; has_more says whether the next page exists. |
| Body ID | a number from 1 | Only office records of this body (BodyId from bodies). | |
| Page size | 1 to 100 | 20 | Records per page, 1 to 100. |
| Active only | on or off | false returns historical office records too. |
Every API field of Legistar council legislation and meetings · Officials is on its tool page: open its card above.
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.
More on Legistar public office holders and Codex
Overview
Legistar public office holders in other agents
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.
Start using Legistar public office holders in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


