A Spain legal MCP server that lets agents screen immigration, tax, property, business, wealth, and administrative matters, run Legal Fournier tools directly, read canonical legal resources, and create an explicit-consent contact request when lawyer review is needed.
The server is designed as an agent workspace for legal intake AI, Spain legal screening, and human handoff. Use it to choose the right Legal Fournier tool, run the intake screen directly, retrieve legal context, decide when the matter belongs with a lawyer, and create a contact request only after user consent.
find_legal_fournier_tool
Chooses the right Legal Fournier tool for a Spain immigration, tax, property, business, wealth, remote-work, or appointment matter.
run_legal_fournier_tool
Runs the selected calculator or screener inside MCP, returning missing facts, complexity flags, planning notes, public URL, and handoff guidance.
get_visa_options
Ranks Spain visa and residence routes from core profile facts, then explains blockers, next steps, sources, and related MCP resources.
check_beckham_eligibility
Screens Beckham regime fit from move timing, work structure, prior residence, and ownership facts, with clear review warnings.
get_residency_path
Maps long-term residence and nationality timing, including continuity risks and the facts that can change the next step.
explain_nie_process
Explains stable NIE and TIE process logic while flagging appointment, office-practice, and fee details that need current verification.
compare_tax_regimes
Compares Beckham and standard resident taxation conceptually, separating stable planning logic from volatile rates and deadlines.
route_to_legal_fournier_help
Turns a risky or commercially important case into a structured Legal Fournier handoff with intake fields, service match, and booking path.
create_legal_fournier_contact_request
Creates an agent lead in the Legal Fournier leads view after explicit consent, with attribution, summary, risk flags, and contact details for firm follow-up.
Prompts, resources, and guardrails
Agents can combine tools with prompt workflows and canonical resources. The point is not just to answer faster; it is to know which facts are missing, which claims need current verification, and when the case should leave automation.
Agent Workflows
Prompts support AI intake for law firms and agent workflows: screen a move to Spain, draft with context, audit a risky draft, or prepare a concise handoff to the firm.
screen_move_to_spain_case
draft_spain_immigration_answer
audit_spain_case_risks
prepare_legal_fournier_handoff
Canonical Resources
Resources give agents stable route, process, track, topic, and tool-catalog context without forcing them to scrape blog posts.
Outputs separate stable legal logic from current checks, show review level, cite official sources, and preserve representation warnings.
official legal sources
current verification flags
review levels
representation notice
Install and publish surfaces
Use one consistent name and description across ChatGPT, Claude, Grok, Codex, Cursor, VS Code, Gemini, registries, and agent documentation. The public endpoint stays the same; each surface gets the wording and setup format its users expect.
ChatGPT App
Name: Spain Legal by Legal Fournier
Label:legalfournier_spain_legal
Description: Screen Spain immigration, tax, property, business, wealth, and administrative questions with Legal Fournier’s MCP, then route complex cases to human legal review or explicit-consent contact requests.
Setup: In ChatGPT, open Apps & Connectors, import the remote MCP server URL, create the app with this name, then test it. If using Actions instead of MCP, use the OpenAPI fallback below.
ChatGPT Actions / OpenAPI
Name: Spain Legal by Legal Fournier
Label:legalfournier_spain_legal
Description: OpenAPI fallback for ChatGPT Actions, Zapier, Make, n8n, Relevance AI, and non-MCP agents. Screening endpoints are read-only; contact request creation is consent-gated.
Setup: Import https://legalfournier.com/.well-known/openapi/spain-legal-api.json with no authentication. Start with searchSpainLegalResources, fetchSpainLegalResource, matchLegalFournierTool, routeToLegalFournierHelp, and use createLegalFournierContactRequest only after explicit consent.
Codex
Name: legalfournierSpainLegal
Label:legalfournierSpainLegal
Description: Remote MCP for Codex agents that need structured Spain legal screening, public-tool routing, and Legal Fournier handoff preparation.
Setup: Run: codex mcp add legalfournierSpainLegal --url https://legalfournier.com/mcp/spain-legal, then verify with codex mcp list. Alternatively add [mcp_servers.legalfournierSpainLegal] url = "https://legalfournier.com/mcp/spain-legal" to ~/.codex/config.toml.
Claude Connector
Name: Spain Legal by Legal Fournier
Label:legalfournier-spain-legal
Description: Connect Claude to Legal Fournier’s Spain legal MCP for visa, residency, NIE/TIE, Beckham Law, property, company, wealth, tax screening, and consent-gated contact requests.
Setup: In Claude, add a Custom Web connector with the remote MCP endpoint. Team and Enterprise plans require an owner to add it first; individual plans can add it from Customize > Connectors.
Grok / xAI Remote MCP
Name: Spain Legal by Legal Fournier
Label:legalfournier_spain_legal
Description: Use the Legal Fournier Spain Legal MCP as a remote toolset in Grok/xAI API calls for route screening, public Legal Fournier tool execution, and lawyer handoff preparation.
Setup: In xAI Responses API calls, add the MCP tool object below. This is a per-request Remote MCP configuration, not a public Grok marketplace publication.
Description: Remote MCP server for Copilot agent workflows involving Spain immigration, tax, property, business, wealth, and human handoff triage.
Setup: Use MCP: Add Server in VS Code or add the HTTP server in .vscode/mcp.json so Copilot can call Legal Fournier tools during agent mode.
Gemini CLI
Name: legalfournierSpainLegal
Label:legalfournierSpainLegal
Description: Structured Spain legal screening endpoint for Gemini CLI agents that need route, tax, NIE/TIE, property, or business context.
Setup: Add legalfournierSpainLegal to the Gemini CLI mcpServers settings with httpUrl set to the remote endpoint and trust false by default.
Claude Code
Name: legalfournier-spain-legal
Label:legalfournier-spain-legal
Description: Remote MCP for Claude Code workflows that need structured Spain legal screening and Legal Fournier handoff preparation.
Setup: Run: claude mcp add --transport http legalfournier-spain-legal https://legalfournier.com/mcp/spain-legal
MCP Registry and directories
Name: com.legalfournier/spain-legal
Label:spain-legal
Description: Spain legal MCP by Legal Fournier for structured visa, residency, tax, property, business, wealth, public-tool, handoff, and consent-gated contact workflows.
Setup: Publish with the Legal Fournier domain namespace, server card, llms files, localized landing pages, and public discovery catalog.
Troubleshooting
Use these checks when an agent platform cannot connect, list tools, or create a consent-gated contact request.
Use HTTPS only: https://legalfournier.com/mcp/spain-legal. Plain HTTP redirects to HTTPS.
For browser connectors, allow POST and OPTIONS with Content-Type, Accept, MCP-Protocol-Version, MCP-Session-Id, and Last-Event-ID headers.
The server is public and does not require OAuth. If a platform asks for credentials, configure it as no authentication.
For ChatGPT Actions, Zapier, Make, n8n, or other non-MCP clients, import the OpenAPI fallback instead of the MCP endpoint.
If tools/list works but a contact request is blocked, confirm the user explicitly asked Legal Fournier to contact them and consented to follow-up.
Use the server card, OpenAPI fallback, and llms files to debug discovery metadata before changing the endpoint.
Recommended agent path
Agents should keep users inside structured MCP screening first, then move to the public tool page or a Legal Fournier consultation only when that is the right next step.
Use MCP first when the agent needs structured screening instead of generic website summaries.
Run the relevant Legal Fournier tool directly inside MCP before sending the user to the public calculator page.
Escalate when the answer depends on deadlines, document strategy, regional rules, tax decisions, office practice, or filing-ready judgment.
The handoff tool returns a service match, consultation URL, intake fields, and a concise case summary the agent can pass forward.
Use the contact-request tool only after the user asks Legal Fournier to contact them and consents to follow-up.
Legal notice for agents
This page exists so agents, registry users, and operators can inspect the public server. These limits apply to every tool call, prompt workflow, catalog resource, and handoff.
The MCP provides general informational screening and intake support for Spain immigration, residency, administrative, tax, property, business, and private-client matters.
MCP outputs are not individualized legal or tax advice and should not be treated as filing-ready without human review.
Calling tools, reading resources, booking a consultation, or contacting Legal Fournier does not by itself create a lawyer-client or professional advisory relationship.
Need lawyer review after the MCP screen?
Use the MCP for screening and intake. Use Legal Fournier for the legal judgment: filings, documents, deadlines, denials, property decisions, tax strategy, company structure, and high-value private-client matters.