[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [SAT Mexico office directory](https://spiral.ai/integrations/opencode/sat-mexico-office-directory)

# How to Use SAT Mexico office directory in opencode

Returns SAT service office listings for Mexican states. Use it to add an official location to a procedure checklist or business registration guide.

|  |  |
| --- | --- |
| Model | SAT Mexico office directory |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with SAT Mexico office directory in opencode

- Use SAT Mexico office directory to retrieve Colima office listings and prepare a data fixture for this project's SAT location selector using only returned values.
- Use SAT Mexico office directory to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from SAT Mexico office directory and tell me what changed since last week.
- Check SAT Mexico office directory and summarize what you find in three bullet points.
- Pull the newest data from SAT Mexico office directory and give me the result as a table.

## How to set up SAT Mexico office directory 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 SAT Mexico office 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": "sat-gob-mx/tax-rules/offices",
    "input": {
      "state": "<state>"
    }
  }'
```

Then paste one of the prompts above: opencode finds SAT Mexico office directory on Spiral, shows the price and runs it.

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

## SAT Mexico office directory tools and prices

- [SAT Mexico (sat.gob.mx) · Offices](https://spiral.ai/tools/alexandria/sat-gob-mx/tax-rules/offices) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| state |  | — | Source state code, e.g. `colima`. Pattern: ^[a-z][a-z_]{1,40}$. |
| module_type | ADSC, MST, SARE | — | module_type |

## What can you do with SAT Mexico office directory in opencode?

Build a Mexico tax reference panel with SAT source links in your accounting project. Use the published guidance, documents, dates, or office listings relevant to the feature you are implementing.

### Prepare a Mexican company registration packet

For a business opening in Jalisco, identify the relevant company regime and registration procedures, assemble requirements and supporting materials, locate cited rules and published dates, and add nearby SAT offices.

### Maintain an accounting team's SAT reference

Organize official regime and procedure pages into a reference with requirements, FAQs, regulatory links, calendar events, and state office listings. Give each entry its SAT source so staff can inspect the underlying guidance.

### Plan a chamber of commerce tax workshop

Prepare a Mexico business tax workshop around published regime choices, procedures, FAQs, and regulatory documents. Add a calendar handout and local SAT office references for attendees who need in-person assistance.

### Review an internal SAT knowledge base

Compare saved references with newly retrieved SAT catalogs, guidance, materials, regulatory listings, calendar events, and office listings. Produce a review queue for changed requirements, dates, locations, and source links.

### Prepare a local business assistance guide

For businesses in Colima, pair official procedure requirements and help materials with SAT office listings. Use topic search and the procedure catalog to organize the guide around actual administrative tasks.

## Overview

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

## SAT Mexico office directory in other agents

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

## More opencode guides

- [SAT Mexico help materials](https://spiral.ai/integrations/opencode/sat-mexico-help-materials)
- [SAT Mexico procedure catalog](https://spiral.ai/integrations/opencode/sat-mexico-procedure-catalog)
- [SAP SuccessFactors job search](https://spiral.ai/integrations/opencode/sap-successfactors-job-search)
- [SAT Mexico procedure details](https://spiral.ai/integrations/opencode/sat-mexico-procedure-details)
- [SAP SuccessFactors job details](https://spiral.ai/integrations/opencode/sap-successfactors-job-details)
- [SAT Mexico tax calendar](https://spiral.ai/integrations/opencode/sat-mexico-tax-calendar)

## Questions about SAT Mexico office directory in opencode

**Can opencode use SAT Mexico office directory?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SAT Mexico office directory like any built-in tool.

**How much does SAT Mexico office directory 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 SAT Mexico office directory in opencode?**

No. Spiral runs SAT Mexico office 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 SAT Mexico office directory in opencode?**

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

**Does opencode wait while SAT Mexico office directory runs?**

SAT Mexico office directory runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does SAT guidance cover companies as well as individuals?**

Yes. SAT publishes guidance for both personas físicas and personas morales, so identify the taxpayer category before applying regime guidance.

**How current are SAT's regulatory documents?**

SAT publishes amendments within the fiscal year. For example, its 2026 archive lists a third amendment to RMF Annex 2 dated November 6, 2026, so the original annual publication may not contain subsequent changes.

**Is every SAT calendar event a filing deadline?**

No. The calendar distinguishes three categories: nonworking days, SAT events, and obligation deadlines. Check the event category before treating a date as a filing requirement.

**What geographic area does the office directory cover?**

It covers SAT locations in Mexico, including taxpayer service offices, Módulos de Servicios Tributarios, and SARE modules. The directory supports finding offices by Mexican state.

**Can SAT portal guidance establish the legal text of a rule?**

SAT's compilation tools help locate rules, but SAT explicitly directs readers to the Diario Oficial de la Federación to legally support acts or resolutions. Follow the cited publication when the precise legal text matters.

