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

# How to Use SAT Mexico topic search in opencode

Returns SAT pages matching a tax topic or procedure name. Use it to find the official starting point for questions about CFDI, IVA, RFC, or withholding.

|  |  |
| --- | --- |
| Model | SAT Mexico topic search |
| 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 topic search in opencode

- Use SAT Mexico topic search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from SAT Mexico topic search and tell me what changed since last week.
- Check SAT Mexico topic search and summarize what you find in three bullet points.
- Pull the newest data from SAT Mexico topic search and give me the result as a table.
- Check SAT Mexico topic search every morning and tell me only when something changed.

## How to set up SAT Mexico topic search 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 topic search**: 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/search",
    "input": {
      "query": "<query>"
    }
  }'
```

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

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

## SAT Mexico topic search tools and prices

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

## What can you do with SAT Mexico topic search 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.

### Document an electronic invoicing feature

Find SAT guidance for CFDI cancellation or payment receipt complements. Turn the procedure requirements, supporting FAQs, and regulatory references into implementation notes for a Mexican invoicing product.

### 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 topic search in other agents

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

## More opencode guides

- [SAT Mexico tax rules and annexes](https://spiral.ai/integrations/opencode/sat-mexico-tax-rules-and-annexes)
- [Scrubby email verification](https://spiral.ai/integrations/opencode/scrubby-email-verification)
- [SAT Mexico tax regime details](https://spiral.ai/integrations/opencode/sat-mexico-tax-regime-details)
- [Seattle City Council news](https://spiral.ai/integrations/opencode/seattle-city-council-news)
- [SAT Mexico tax regime catalog](https://spiral.ai/integrations/opencode/sat-mexico-tax-regime-catalog)
- [Seattle City Council roster](https://spiral.ai/integrations/opencode/seattle-city-council-roster)

## Questions about SAT Mexico topic search in opencode

**Can opencode use SAT Mexico topic search?**

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

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

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

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

**Does opencode wait while SAT Mexico topic search runs?**

SAT Mexico topic search 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.

