How to Use gob.mx articles and documents in Windsurf
Fetches an agency’s article, document, video, program, or organizational page, including its text and available attachment links. Use it to read the source behind an archive listing.
Prompts to try with gob.mx articles and documents in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use gob.mx articles and documents to retrieve SICT’s Anuario Estadístico del Sector de Infraestructura, Comunicaciones y Transportes 2025. Add its title, publisher, publication date, and attachment links to this project’s research notes.
Use gob.mx articles and documents to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from gob.mx articles and documents and tell me what changed since last week.
Check gob.mx articles and documents and summarize what you find in three bullet points.
Pull the newest data from gob.mx articles and documents and give me the result as a table.
How to set up gob.mx articles and documents in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run gob.mx articles and documents
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/get_content", "input": { "kind": "articulo", "slug": "<slug>", "agency": "<agency>" } }'
Then paste one of the prompts above: Windsurf finds gob.mx articles and documents on Spiral, shows the price and runs it.
gob.mx articles and documents providers and prices
Spiral runs gob.mx articles and documents through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Kind | articulo, documento, video, accion_programa, or estructura | Page type: /<agency>/es/articulos/, /documentos/, /videos/, /acciones-y-programas/ or /estructuras/. |
Every API field of gob.mx (Gobierno de México) · Get content is on its tool page: open its card above.
What can you do with gob.mx articles and documents in Windsurf?
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.
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.
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.
Study transport planning and permits
Use SICT documents, project announcements, photographs, and road-permit sheets as reference material for an educational case study about federal road infrastructure.
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.
More on gob.mx articles and documents and Windsurf
Overview
gob.mx articles and documents in other agents
Questions about gob.mx articles and documents in Windsurf
Can Windsurf use gob.mx articles and documents?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run gob.mx articles and documents like any built-in tool.
How much does gob.mx articles and documents cost in Windsurf?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use gob.mx articles and documents in Windsurf?
No. Spiral runs gob.mx articles and documents 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 articles and documents in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while gob.mx articles and documents runs?
gob.mx articles and documents runs in the background. Windsurf 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.
Start using gob.mx articles and documents in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


