[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [gob.mx agency directory](https://spiral.ai/integrations/zapier/gob-mx-agency-directory)

# How to Use gob.mx agency directory in Zapier

Returns the agency directory used to locate government publishers. Use it to identify the institution whose publications or services you need to research.

|  |  |
| --- | --- |
| Model | gob.mx agency directory |
| 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 agency directory in Zapier

- Each month, use gob.mx agency directory to find institutions matching salud. Report changes in the returned directory entries compared with the previous check.
- Every Monday at 9am: use gob.mx agency directory to look this up and give me the result as a table.
- Pull the latest numbers from gob.mx agency directory and tell me what changed since last week.
- Check gob.mx agency directory and summarize what you find in three bullet points.
- Pull the newest data from gob.mx agency directory and give me the result as a table.

## How to set up gob.mx agency directory in Zapier

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

### Use the Spiral skill

1. **Send Zapier 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. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run gob.mx agency directory in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds gob.mx agency directory, prices it and runs it each time the step fires.

### 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 agency directory**: 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_agencies",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Zapier finds gob.mx agency directory on Spiral, shows the price and runs it.

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

## gob.mx agency directory tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Case-insensitive substring of the agency slug (for example `sict`, `salud`, `imss`). Omit for the full directory (about 670 agencies). |

## What can you do with gob.mx agency directory in Zapier?

Receive a regular reading list of new publications from Mexican federal agencies. A scheduled agent can also revisit selected documents, photographs, or procedure sheets and report changes found in the returned material.

### 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 procedure requirements

Locate the responsible agencies and compare their procedure sheets with explanatory pages, focusing on required documents and whether originals or copies are requested.

### 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 Zapier guides](https://spiral.ai/integrations/zapier)

## gob.mx agency directory in other agents

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

## More Zapier guides

- [ccMixter track details](https://spiral.ai/integrations/zapier/ccmixter-track-details)
- [gob.mx articles and documents](https://spiral.ai/integrations/zapier/gob-mx-articles-and-documents)
- [ccMixter music search](https://spiral.ai/integrations/zapier/ccmixter-music-search)
- [gob.mx photo gallery](https://spiral.ai/integrations/zapier/gob-mx-photo-gallery)
- [ambientCG asset search](https://spiral.ai/integrations/zapier/ambientcg-asset-search)
- [gob.mx press release](https://spiral.ai/integrations/zapier/gob-mx-press-release)

## Questions about gob.mx agency directory in Zapier

**Can Zapier use gob.mx agency directory?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run gob.mx agency directory like any built-in tool.

**How much does gob.mx agency directory cost in Zapier?**

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

**Do I need an Alexandria account to use gob.mx agency directory in Zapier?**

No. Spiral runs gob.mx agency directory 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 agency directory in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while gob.mx agency directory runs?**

gob.mx agency directory runs in the background. Zapier 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.

