Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · News & Media

How to Use gob.mx agency directory in Muse Code

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

Prompts to try with gob.mx agency directory in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use gob.mx agency directory to look this up and give me the result as a table. Save the result in ./assets.

gob.mx agency directoryMuse Code
Try asking
  • 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.

  • Check gob.mx agency directory every morning and tell me only when something changed.

How to set up gob.mx agency directory in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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.

    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.

    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: Muse Code finds gob.mx agency directory on Spiral, shows the price and runs it.

gob.mx agency directory providers and prices

Spiral runs gob.mx agency directory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
gob.mx (Gobierno de México) · List agencies
gob-mx/government-content/list_agencies

What can you do with gob.mx agency directory in Muse Code?

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

Questions about gob.mx agency directory in Muse Code

Can Muse Code use gob.mx agency directory?

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

How much does gob.mx agency directory cost in Muse Code?

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

Do I need an Alexandria account to use gob.mx agency directory in Muse Code?

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 Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while gob.mx agency directory runs?

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

Get started

Start using gob.mx agency directory in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options