[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Cámara de Diputados legislation updates](https://spiral.ai/integrations/opencode/c-mara-de-diputados-legislation-updates)

# How to Use Cámara de Diputados legislation updates in opencode

Fetch dated entries from the Mexican federal legal library's updates feed. Use their change summaries to identify publications that need closer review.

|  |  |
| --- | --- |
| Model | Cámara de Diputados legislation updates |
| 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 Cámara de Diputados legislation updates in opencode

- Use Cámara de Diputados legislation updates to find entries about the Código Fiscal de la Federación. Compare their summaries with the topics covered in our compliance documentation and propose a review list.
- Use Cámara de Diputados legislation updates to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Cámara de Diputados legislation updates and tell me what changed since last week.
- Check Cámara de Diputados legislation updates and summarize what you find in three bullet points.
- Pull the newest data from Cámara de Diputados legislation updates and give me the result as a table.

## How to set up Cámara de Diputados legislation updates 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Cámara de Diputados legislation updates**: 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": "diputados-gob-mx/legislation/recent_updates",
    "input": {
      "code": "<code>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Cámara de Diputados legislation updates on Spiral, shows the price and runs it.

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

## Cámara de Diputados legislation updates tools and prices

- [Cámara de Diputados LeyesBiblio · Recent updates](https://spiral.ai/tools/alexandria/diputados-gob-mx/legislation/recent_updates) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| code |  | — | Keep only entries that link this law code's reform page (e.g. `lisr`, `cpeum`). Pattern: ^[A-Za-z0-9_-]{1,40}$. |
| query |  | — | Keep only entries whose title or summary contains this text (case- and accent-insensitive). |

## What can you do with Cámara de Diputados legislation updates in opencode?

Build a cited reference for Mexican federal laws used in your project's documentation. A coding agent can connect catalog entries, article wording, reform decrees, or recorded updates to the passages that need review.

### Prepare a tax law review

Find the VAT and income tax laws, collect relevant articles, trace their reform decrees, and check update entries before preparing questions for a tax adviser.

### Review an employee handbook

Locate the Ley Federal del Trabajo, retrieve provisions cited in the handbook, and use reform history and update summaries to identify sections for legal review.

### Research an import procedure

Locate the Ley Aduanera and its regulation, collect cited provisions, and check reform decrees and update summaries for changes relevant to an import procedure.

### Maintain a consumer policy reference

Find the Ley Federal de Protección al Consumidor, assemble article citations for policy review, and check its reform history and recorded updates for changes.

### Prepare a federal legislation news brief

Use update summaries to select developments, confirm legal instrument titles in the catalog, and consult reform histories for the underlying decree links.

## Overview

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

## Cámara de Diputados legislation updates in other agents

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

## More opencode guides

- [Cámara de Diputados law reform history](https://spiral.ai/integrations/opencode/c-mara-de-diputados-law-reform-history)
- [Data.gov.au dataset details](https://spiral.ai/integrations/opencode/data-gov-au-dataset-details)
- [Cámara de Diputados law articles](https://spiral.ai/integrations/opencode/c-mara-de-diputados-law-articles)
- [Data.gov.au dataset search](https://spiral.ai/integrations/opencode/data-gov-au-dataset-search)
- [Cámara de Diputados federal law catalog](https://spiral.ai/integrations/opencode/c-mara-de-diputados-federal-law-catalog)
- [Data.gov.au publisher directory](https://spiral.ai/integrations/opencode/data-gov-au-publisher-directory)

## Questions about Cámara de Diputados legislation updates in opencode

**Can opencode use Cámara de Diputados legislation updates?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Cámara de Diputados legislation updates like any built-in tool.

**How much does Cámara de Diputados legislation updates 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 Cámara de Diputados legislation updates in opencode?**

No. Spiral runs Cámara de Diputados legislation updates on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Cámara de Diputados legislation updates in opencode?**

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

**Does opencode wait while Cámara de Diputados legislation updates runs?**

Cámara de Diputados legislation updates runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this cover Mexican state and municipal laws?**

The documented coverage is Mexican federal legislation. The law catalog and separate regulations catalog should not be treated as a nationwide collection of state and municipal rules.

**Are laws and regulations listed together?**

LeyesBiblio maintains separate catalogs for federal laws and regulations of federal laws in force. The regulations catalog provides DOF publication information and current texts in PDF and Word.

**Can a reform appear before the consolidated text is updated?**

Yes. When checked, the income tax law page listed a November 13, 2026 reform while marking its current text as 'En actualización'.

**Is a reform's publication date its effective date?**

Those dates can differ. The income tax reform published November 13, 2026 says it enters into force January 1, 2027 in its transitory provision.

**How far back can the source documents go?**

History depends on the law. The VAT law documents identify its original publication on December 29, 1978; its reform page displayed November 12, 2021 as the latest reform when checked.

