MCP サーバー概要
what is the project about?
Spain Legal by Legal Fournier is a remote Model Context Protocol (MCP) server that provides read-only, structured legal screening for Spain immigration, residency, tax, property, business, wealth, and administrative matters. It’s built for AI agents to run intake screens, consult canonical legal resources, execute public Legal Fournier tools in‑MCP, flag risks and missing facts, and prepare explicit-consent contact requests for human lawyer review. Outputs are informational only—not legal or tax advice.
how to use the project?
- Remote MCP endpoint: https://legalfournier.com/mcp/spain-legal (transport: streamable-http). OpenAPI fallback: https://legalfournier.com/.well-known/openapi/spain-legal-api.json
- Integrate by adding the MCP server to agent platforms (ChatGPT Apps/Actions, Claude, Codex, Grok/xAI, Cursor, VS Code/Copilot, Gemini CLI, Claude Code) or import the OpenAPI file for non‑MCP clients (Zapier, n8n, etc.).
- Typical flow: run structured screening tools (e.g., get_visa_options, check_beckham_eligibility), examine missing facts and complexity flags, run Legal Fournier calculators inside the MCP, and use the consent-gated create_legal_fournier_contact_request only after explicit user consent to hand off the matter to a lawyer.
key features of the project
- Structured screening endpoints: find_legal_fournier_tool, run_legal_fournier_tool, get_visa_options, check_beckham_eligibility, get_residency_path, explain_nie_process, compare_tax_regimes, route_to_legal_fournier_help, create_legal_fournier_contact_request
- Runs public Legal Fournier tools inside the MCP and returns missing facts, flags, planning notes, and handoff guidance
- Canonical resource catalog and stable references (legalfournier://spain-legal/…) to avoid scraping blog posts
- Consent-gated lead creation and structured handoff fields for lawyer follow-up
- Guardrails and outputs that separate stable legal logic from volatile verification items and representation warnings
- OpenAPI fallback for Actions/connectors and detailed install instructions for many agent surfaces
use cases of the project
- Automated intake and screening for law firms handling moves to Spain
- Agent-driven visa/residence route ranking and blocker analysis
- Pre-screening Beckham regime eligibility and conceptual tax comparisons
- Explaining NIE/TIE processes while flagging appointment and office-practice issues
- Preparing structured, consented handoffs and leads for Legal Fournier lawyers
FAQ from the project
- Is this legal or tax advice?
No. The MCP provides informational screening only and is not individualized legal/tax advice. Human review is required for filing-ready work.
- How do I integrate the MCP with my agent platform?
Add the MCP server URL to the platform (see specific setup steps for ChatGPT, Claude, Codex, Grok, Cursor, VS Code, Gemini CLI) or import the OpenAPI fallback for non-MCP clients.
- Does the server require authentication?
No. The server is public and configured as no-auth. Use HTTPS only.
- When can I create a contact request for Legal Fournier?
Only after the user explicitly consents. The contact-creation tool is consent-gated and will add a structured lead for firm follow-up.
- What should I do if connections fail or tools are blocked?
Ensure HTTPS is used, allow POST/OPTIONS and required headers (Content-Type, Accept, MCP-Protocol-Version, MCP-Session-Id, Last-Event-ID), or use the OpenAPI fallback for non-MCP connectors. Check discovery metadata (server card/OpenAPI/llms files) for debugging.
- Who can I contact for support?