[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [gob.mx publication archive](https://spiral.ai/integrations/gemini-cli/gob-mx-publication-archive)

# How to Use gob.mx publication archive in Gemini CLI

Returns an agency’s publication listings across its content sections. Use it to discover dated announcements, documents, or galleries before opening individual pages.

|  |  |
| --- | --- |
| Model | gob.mx publication archive |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with gob.mx publication archive in Gemini CLI

- Use gob.mx publication archive to find SICT documents published in September 2026. Create a reading list in the project with titles, dates, and source links.
- Use gob.mx publication archive to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from gob.mx publication archive and tell me what changed since last week.
- Check gob.mx publication archive and summarize what you find in three bullet points.
- Pull the newest data from gob.mx publication archive and give me the result as a table.

## How to set up gob.mx publication archive in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 gob.mx publication archive**: 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": "gob-mx/government-content/list_archive",
    "input": {
      "agency": "<agency>",
      "section": "prensa"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds gob.mx publication archive on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## gob.mx publication archive tools and prices

- [gob.mx (Gobierno de México) · List archive](https://spiral.ai/tools/alexandria/gob-mx/government-content/list_archive) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| q |  | — | Keyword filter (the archive's advanced search). The site's UI offers it for prensa; other sections accept the parameter but may ignore it. |
| to |  | — | Latest publication date, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| from |  | — | Earliest publication date, YYYY-MM-DD (sent to the site as dd/mm/yyyy). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| page | 1 to 100000 | 1 | 1-based page number, 9 cards per page. Use `next_page` from the previous output. |
| order | DESC, ASC | DESC | Publication order; DESC is newest first. |
| category |  | — | Category tag as displayed on prensa cards (for example `Comunicado`, `Comunicados`, `Boletín`). |

## What can you do with gob.mx publication archive in Gemini CLI?

Add Mexican federal publications to a project’s research notes with links back to the issuing agency. A coding agent can organize documents, announcements, photographs, and procedure requirements into a useful reference.

### Research an infrastructure project

Identify the publishing agency, locate its announcements and planning documents, and examine its photographs to build personal research notes on a road or bridge project.

### Study changes to a government procedure

Find the responsible institution, compare its announcements and explanatory documents, and read the procedure sheet to understand published changes to requirements.

### Prepare a government service research assignment

Study one federal institution through its directory entry, publications, program descriptions, event photographs, and public procedure sheets.

### Locate official photographs for reference

Find the agency covering a public project, browse its photo listings, and read the corresponding announcement to understand the context of the published images.

### Compare project plans with announcements

Read planning documents, dated releases, and published photographs to study how an agency describes a project’s goals and subsequent progress.

### Build a personal agency reading list

Find a federal institution and collect links to its program explanations, documents, and relevant procedure sheets for further reading.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## gob.mx publication archive in other agents

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

## More Gemini CLI guides

- [gob.mx procedure details](https://spiral.ai/integrations/gemini-cli/gob-mx-procedure-details)
- [AER application decision](https://spiral.ai/integrations/gemini-cli/aer-application-decision)
- [gob.mx press release](https://spiral.ai/integrations/gemini-cli/gob-mx-press-release)
- [AER application notice](https://spiral.ai/integrations/gemini-cli/aer-application-notice)
- [gob.mx photo gallery](https://spiral.ai/integrations/gemini-cli/gob-mx-photo-gallery)
- [AER bulletin](https://spiral.ai/integrations/gemini-cli/aer-bulletin)

## Questions about gob.mx publication archive in Gemini CLI

**Can Gemini CLI use gob.mx publication archive?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run gob.mx publication archive like any built-in tool.

**How much does gob.mx publication archive cost in Gemini CLI?**

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

**Do I need an Alexandria account to use gob.mx publication archive in Gemini CLI?**

No. Spiral runs gob.mx publication archive on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up gob.mx publication archive in Gemini CLI?**

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

**Does Gemini CLI wait while gob.mx publication archive runs?**

gob.mx publication archive runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Which government institutions does gob.mx cover?**

gob.mx brings together federal government information and procedures. Its government directory distinguishes central departments from government entities, so those categories should not be mistaken for a count of everything returned by the agency directory.

**How far back do the publications go?**

Salud’s press archive includes entries from April 2015. That confirms historical material is available, but does not establish the same starting date or complete coverage for every agency.

**Does a recent publication contain recent data?**

The publication date and reporting period can differ. SICT’s 2025–2026 activities report covers September 1, 2025, through June 30, 2026, while its statistical yearbook is an annual publication.

**What kinds of public material can I find?**

Agency archives cover press releases, photographs, articles, documents, videos, and programs. Procedure sheets are a separate source of published service requirements, identified by a homoclave.

**What detail should a procedure sheet provide about documents?**

The official publishing guidance calls for required documents and their presentation format, such as an original, copy, or certified copy. This makes the sheet useful for checking exactly what the agency says applicants must present.

