spain-legal — Claude Code MCP server: Spanish visas, residency, taxes
spain-legal — an MCP server from Legal Fournier for screening Spanish visa routes, residency paths, NIE/TIE processes, and tax regimes. Gives agents tools to analyze immigration options and escalate complex cases to lawyers.
no license 1,424 installs updated 2026-03-25
claude mcp add --transport http spain-legal https://legalfournier.run.toolsWhat spain-legal does
spain-legal brings Spanish immigration and tax law into your IDE. An agent can screen available visa routes with decision logic, check Beckham regime eligibility, trace the path to permanent residency or citizenship accounting for time in country, work through NIE and TIE procedures, and compare tax treatment for residents.
Six tools inside: get_visa_options ranks routes and explains the logic; check_beckham_eligibility screens the regime's conditions; get_residency_path shows the next milestone with caution flags for time-counting issues; explain_nie_process walks through NIE and TIE workflows; compare_tax_regimes compares standard versus Beckham taxation; route_to_legal_fournier_help decides whether to escalate and prepares a checklist and handoff message.
The server connects as an HTTP endpoint in one command to any supported platform. Responses include decision traces and source references for verification. For matters beyond screening scope, the agent can suggest a consultation with Legal Fournier attorneys.
What it helps with
- Screen which Spanish visa routes are available based on a person's profile
- Check whether someone qualifies for the Beckham tax regime and its benefits
- Understand NIE and TIE processes and what distinguishes them
- Track the path to permanent residency or Spanish citizenship
- Compare tax burden for residents under Beckham versus standard Spanish taxation
Example prompts for the agent
- What visa routes are available for a US freelancer planning to live in Spain for a year?
- Check whether I qualify for Beckham: I'm an engineer with 15 years in tech, now relocating to Barcelona.
- Walk me through the NIE application process if I've already filed for a D visa through an agent.
How to install spain-legal
Platform CLI: remote server
claude mcp add --transport http spain-legal https://legalfournier.run.toolsPlatform CLI: remote server
codex mcp add spain-legal --url https://legalfournier.run.toolsConfig file
{
"mcpServers": {
"spain-legal": {
"url": "https://legalfournier.run.tools"
}
}
}Config file
{
"servers": {
"spain-legal": {
"type": "http",
"url": "https://legalfournier.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http spain-legal https://legalfournier.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about spain-legal
How do I install spain-legal in Claude Code?
Run claude mcp add --transport http spain-legal https://legalfournier.run.tools in your terminal. The server connects to Claude Code and becomes available to agents in the IDE.
What does spain-legal do?
It equips agents with tools to screen Spanish visas, residency eligibility, and tax rules. It returns reasoning and decision traces rather than final answers, and helps route complex matters to Legal Fournier attorneys.
Which platforms work with spain-legal?
Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI all support it. Each has its own install command, but they all point to the same endpoint: https://legalfournier.run.tools.