{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card.json",
  "serverInfo": {
    "name": "com.legalfournier/spain-legal",
    "title": "Spain Legal by Legal Fournier",
    "version": "0.2.9",
    "description": "Read-only Spain legal MCP for visa screening, Beckham eligibility, NIE/TIE, residency, nationality, EU family routes, and Legal Fournier handoff preparation."
  },
  "websiteUrl": "https://legalfournier.com/en/mcp/spain-legal/",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://legalfournier.com/mcp/spain-legal"
    }
  ],
  "authentication": {
    "type": "none",
    "description": "The public MCP endpoint is read-only and does not require OAuth."
  },
  "capabilities": {
    "tools": {
      "readOnly": true,
      "names": [
        "get_visa_options",
        "check_beckham_eligibility",
        "get_residency_path",
        "explain_nie_process",
        "compare_tax_regimes",
        "route_to_legal_fournier_help"
      ]
    },
    "prompts": {
      "names": [
        "screen_move_to_spain_case",
        "draft_spain_immigration_answer",
        "audit_spain_case_risks",
        "prepare_legal_fournier_handoff"
      ]
    },
    "resources": {
      "templates": [
        "legalfournier://spain-legal/routes/{route_id}",
        "legalfournier://spain-legal/processes/{process_id}",
        "legalfournier://spain-legal/tracks/{track_id}",
        "legalfournier://spain-legal/topics/{topic_id}",
        "legalfournier://spain-legal/skills/{skill_id}"
      ]
    }
  },
  "discovery": {
    "llms": "https://legalfournier.com/llms.txt",
    "llmsFull": "https://legalfournier.com/llms-full.txt",
    "serviceCatalog": "https://legalfournier.com/.well-known/legal-services.json",
    "agentSkills": "https://legalfournier.com/.well-known/agent-skills/index.json"
  },
  "handoff": {
    "tool": "route_to_legal_fournier_help",
    "contactPage": "https://legalfournier.com/en/contact/",
    "bookingUrl": "https://cal.com/legal-fournier/45-min-legal-consultation",
    "useWhen": [
      "The case is filing-critical, deadline-sensitive, or commercially important.",
      "Eligibility depends on missing facts, local office practice, or current appointment availability.",
      "The user wants Legal Fournier to review documents, file, appeal, renew, or prepare a business/tax strategy."
    ],
    "privacy": "Send only the facts needed for screening. Do not send passport numbers, ID numbers, full addresses, phone numbers, emails, or documents unless the user explicitly requests a human handoff."
  },
  "examples": [
    {
      "name": "Digital nomad visa route screening",
      "tool": "get_visa_options",
      "inputSummary": "Nationality, remote work status, employer or client structure, family members, and intended Spain timeline.",
      "nextStep": "If route fit depends on employer/client structure or family facts, call route_to_legal_fournier_help."
    },
    {
      "name": "Beckham Law pre-check",
      "tool": "check_beckham_eligibility",
      "inputSummary": "Years since Spanish tax residence, move reason, employment or founder role, and ownership/control facts.",
      "nextStep": "If likely eligible or close to a deadline, use compare_tax_regimes only conceptually and escalate for human tax review."
    },
    {
      "name": "TIE or NIE process confusion",
      "tool": "explain_nie_process",
      "inputSummary": "Whether the user needs an identity number, a residence card, fingerprint appointment, renewal card, or duplicate card.",
      "nextStep": "If the issue depends on appointment availability or a specific office, flag current verification and hand off."
    },
    {
      "name": "Regularization or long-term residence timing",
      "tool": "get_residency_path",
      "inputSummary": "Current status, years in Spain, family links, work facts, absences, and any risk facts the user volunteers.",
      "nextStep": "If absences, criminal record, family dependency, or deadline risk appears, escalate before giving firm conclusions."
    }
  ],
  "icons": [
    {
      "src": "https://legalfournier.com/wp-content/uploads/2026/01/cropped-legal_fournier_favicon-192x192.png",
      "mimeType": "image/png",
      "sizes": "192x192"
    }
  ]
}
