[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [California bill text](https://spiral.ai/integrations/dots/california-bill-text)

# How to Use California bill text in dots

Returns a bill’s current text, Legislative Counsel’s digest, and version list from California Legislative Information. Use it to read the proposed changes before drawing conclusions from the bill’s status.

|  |  |
| --- | --- |
| Model | California bill text |
| 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 California bill text in dots

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

## How to set up California bill text in dots

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

### Use the Spiral skill

1. **Send dots 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 an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### 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 California bill text**: 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": "leginfo-legislature-ca-gov/legislation/bill",
    "input": {
      "bill_id": "<bill_id>"
    }
  }'
```

Then paste one of the prompts above: dots finds California bill text on Spiral, shows the price and runs it.

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

## California bill text tools and prices

- [California Legislative Information (leginfo.legislature.ca.gov) · Bill](https://spiral.ai/tools/alexandria/leginfo-legislature-ca-gov/legislation/bill) (Alexandria): $0.00873 per call.

## What can you do with California bill text in dots?

Produce a recurring California policy digest that flags changes in published legislative or statutory records. A scheduled agent can repeat topic searches or revisit selected bills and code provisions, then compare the retrieved material with its previous check.

### Prepare a consumer privacy policy brief

Find California consumer privacy bills, read their proposed changes, and document their status, procedural history, and votes. Use the Civil Code’s contents, relevant articles, and cited sections to compare those proposals with current statutory text.

### Build a housing legislation research packet

Research bills mentioning tenant protections or housing development, then assemble their text, status, action timelines, and recorded votes. Locate the relevant code headings and read the affected provisions together and individually for a proposal-versus-current-law comparison.

### Review employment policy proposals

Find bills about wages, leave, or employment contracts and examine their wording, progress, history, and votes. Navigate the relevant Labor Code or Business and Professions Code headings to assemble the current provisions for an HR policy review.

### Assemble an energy policy dossier

Search a session’s bill text for electricity or energy storage proposals and collect the relevant measures’ text, status, history, and votes. Browse Public Utilities Code headings and retrieve the articles and individual sections needed to explain the existing statutory context.

### Fact-check a legislative news story

Find the measure behind a policy announcement, read its actual wording, and check its published status. Use the complete action history and recorded votes to verify claims about how it moved through the Legislature.

### Teach a bill-to-code research exercise

Have students discover a bill, read its text, and reconstruct its published status, history, and votes. Then use the code contents, article text, and individual sections to explain the difference between a legislative measure and current statutory language.

### Maintain a public policy watch

Repeat topic searches and check selected bills for changes to text, status, history, or votes. Revisit the relevant code contents and statutory text to identify published changes that deserve a closer review.

## Overview

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

## California bill text in other agents

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

## More dots guides

- [California bill status](https://spiral.ai/integrations/dots/california-bill-status)
- [California bill votes](https://spiral.ai/integrations/dots/california-bill-votes)
- [California bill search](https://spiral.ai/integrations/dots/california-bill-search)
- [California code article](https://spiral.ai/integrations/dots/california-code-article)
- [California bill history](https://spiral.ai/integrations/dots/california-bill-history)
- [California code section](https://spiral.ai/integrations/dots/california-code-section)

## Questions about California bill text in dots

**Can dots use California bill text?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run California bill text like any built-in tool.

**How much does California bill text cost in dots?**

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

**Do I need an Alexandria account to use California bill text in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs California bill text on its own Alexandria account.

**How long does it take to set up California bill text in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while California bill text runs?**

California bill text runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**What California law does this source cover?**

California Law includes 29 subject-area codes, the State Constitution, and statutes. Its code collection presents laws currently in effect.

**How far back do the bill records go?**

The newer California Legislative Information bill database covers the 1999/2000 session onward. The older leginfo.ca.gov site is an archive and stopped updating on November 30, 2016.

**How quickly do bill actions appear?**

The Assembly Chief Clerk’s November 2020 guide describes the public LegInfo website as receiving nightly updates with information entered that day. That describes source publication, rather than a refresh guarantee for an extracted response.

**Does a bill’s current text show the law currently in effect?**

The bill record contains the measure’s current text, digest, and version list. The California Law collection separately presents laws currently in effect, so use the code text when your question concerns an existing statutory provision.

**What can I check beyond a bill’s latest status?**

California Legislative Information also publishes complete bill history and roll-call votes. Those records let you examine earlier procedural actions and recorded votes rather than relying on the status alone.

