# spain-legal

Spain immigration, residency, NIE/TIE, and tax MCP for agents from Legal Fournier, https://legalfournier.com/.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add legalfournier/spain-legal

# Browse available tools
npx -y @smithery/cli@latest tool list legalfournier/spain-legal

# Get full schema for a tool
npx -y @smithery/cli@latest tool get legalfournier/spain-legal get_visa_options

# Call a tool
npx -y @smithery/cli@latest tool call legalfournier/spain-legal get_visa_options '{}'
```

## Direct MCP Connection

Endpoint: `https://legalfournier.run.tools`

## Tools (6)

- `get_visa_options` — Rank Spain residence routes using evergreen logic and return decision traces, next actions, and canonical MCP resources…
- `check_beckham_eligibility` — Screen Spain's Beckham regime using qualitative gatechecks, returning the rule trace, review level, and canonical MCP r…
- `get_residency_path` — Explain the next permanent-residency or nationality milestone from current status and time in Spain, with explicit caut…
- `explain_nie_process` — Return the stable NIE and TIE workflow, the key procedural distinctions, and the canonical process resource for agents.
- `compare_tax_regimes` — Compare Beckham versus standard Spanish resident taxation conceptually, returning reasoning, review level, and canonica…
- `route_to_legal_fournier_help` — Decide whether a Spain legal matter should be escalated to Legal Fournier and return a service match, preparation check…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get legalfournier/spain-legal <tool-name>
```

## Resources

- `legalfournier://spain-legal/catalog` — Canonical catalog of route, process, track, and topic packs for the Spain Legal server.
- `legalfournier://spain-legal/routes/eu-registration` — EU, EEA, and Swiss nationals generally do not need a third-country visa and instead register their residence in Spain.
- `legalfournier://spain-legal/routes/eu-family-member-card` — Best fit for non-EU family members accompanying or joining a qualifying EU, EEA, or Swiss citizen in Spain under the co…
- `legalfournier://spain-legal/routes/digital-nomad-visa` — Best fit for people working remotely for foreign employers or clients while living in Spain.
- `legalfournier://spain-legal/routes/non-lucrative-visa` — Best fit for retirees or financially independent applicants who will not work in Spain.
- `legalfournier://spain-legal/routes/work-permit-employees` — Best fit for non-EU applicants hired by a Spanish employer under a local employment relationship.
- `legalfournier://spain-legal/routes/self-employed-work-permit` — Best fit for non-EU freelancers or business owners working in the Spanish market.
- `legalfournier://spain-legal/routes/entrepreneur-visa` — Best fit for founders whose project is innovative enough to use Spain's entrepreneur route rather than a standard self-…
- `legalfournier://spain-legal/routes/highly-qualified-professional-visa` — Best fit for executives, specialists, and senior hires entering Spain under a qualifying professional role.
- `legalfournier://spain-legal/routes/eu-blue-card` — Best fit for highly qualified non-EU professionals seeking a route with broader EU mobility logic.
- `legalfournier://spain-legal/processes/nie-tie` — Canonical pack for distinguishing NIE number handling from TIE card issuance and renewal procedures.
- `legalfournier://spain-legal/processes/residency-clock` — Canonical pack for reasoning about permanent-residence and nationality timelines without flattening all statuses into t…
- `legalfournier://spain-legal/processes/tax-regime-review` — Canonical pack for deciding when to screen Beckham first and when to stay in standard resident-tax analysis.
- `legalfournier://spain-legal/tracks/permanent-residency-5-year` — Canonical pack for the ordinary long-term residence milestone after sustained lawful residence.
- `legalfournier://spain-legal/tracks/nationality-standard-10-year` — Canonical pack for the ordinary nationality-by-residence timeline when no reduced track applies.
- `legalfournier://spain-legal/tracks/nationality-ibero-2-year` — Canonical pack for the reduced nationality path commonly available to Ibero-American nationals and certain equivalent g…
- `legalfournier://spain-legal/tracks/nationality-special-1-year` — Canonical pack for reduced one-year nationality paths tied to specific personal circumstances.
- `legalfournier://spain-legal/tracks/nationality-refugee-5-year` — Canonical pack for the nationality timeline tied to refugee status.
- `legalfournier://spain-legal/topics/route-selection` — Canonical pack for deciding which Spain immigration branch to screen before discussing detailed documents or tax conseq…
- `legalfournier://spain-legal/topics/beckham-regime` — Canonical pack for deciding whether the facts support a Beckham analysis or only a standard resident-tax analysis.
- `legalfournier://spain-legal/topics/tax-regimes` — Canonical pack for comparing Beckham and ordinary resident-tax logic without flattening the answer into headline percen…
- `legalfournier://spain-legal/topics/eu-family-route-check` — Canonical pack for flagging that an EU family-member route may change the primary immigration analysis.
- `legalfournier://spain-legal/topics/nationality-continuity` — Canonical pack for checking whether nationality timing is clean enough once continuity, absences, and immediately-prior…
- `legalfournier://spain-legal/topics/legal-fournier-handoff` — Canonical pack for deciding when an agent should escalate a Spain legal matter to Legal Fournier and what the handoff s…

## Prompts (4)

- `screen_move_to_spain_case` (nationality, income_source, intent, has_eu_family_link, eu_family_relationship) — Agent workflow for screening a move-to-Spain case with canonical route-selection context already embedded.
- `draft_spain_immigration_answer` (topic, question) — Answer a Spain immigration or tax question with the relevant canonical resource pack embedded in the prompt.
- `audit_spain_case_risks` (area, draft_answer) — Review a draft Spain immigration or tax answer for missing facts, unsupported claims, and overconfident route assumptio…
- `prepare_legal_fournier_handoff` (area, summary) — Generate a concise, structured handoff summary for escalating a Spain legal case to Legal Fournier.
