{"name":"com.legalfournier/spain-legal","slug":"legalfournier-spain-legal","title":"Spain Legal by Legal Fournier","description":"Spain legal MCP for visas, residency, Beckham Law, NIE/TIE, nationality, tax, tools, and handoff.","url":"https://mcp.market/server/legalfournier-spain-legal","rating":null,"grade":"C","score":60,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":8,"stars":null,"forks":null,"downloads_week":null,"last_push_at":null,"license":null},"uptime":{"percent":100,"checks":20,"ok":20,"last_checked_at":"2026-09-24T06:25:46.357Z","last_ok_at":"2026-09-24T06:25:46.357Z","latency_ms":125},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":null,"website":"https://legalfournier.com/en/mcp/spain-legal/","version":"0.2.17","remotes":[{"type":"streamable-http","url":"https://legalfournier.com/mcp/spain-legal"}],"packages":[],"tools":[{"name":"check_beckham_eligibility","description":"Screen Spain's Beckham regime using qualitative gatechecks, returning the rule trace, review level, and canonical MCP resources for follow-up.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"years_since_last_spanish_residency":{"type":"number","minimum":0,"description":"Number of years since the applicant was last a Spanish tax resident."},"employment_type":{"type":"string","enum":["spanish_employee","foreign_remote_employee","director_lt25","director_gte25","self_employed","highly_qualified_professional","unknown"],"description":"Employment structure that will support the move."},"move_reason":{"type":"string","enum":["new_spanish_job","foreign_remote_work","startup_or_innovation","intragroup_transfer","family_move","other"],"description":"Main reason for relocating to Spain."},"ownership_band":{"description":"Optional ownership context for director-style cases.","type":"string","enum":["none","under_25","25_or_more"]}},"required":["years_since_last_spanish_residency","employment_type","move_reason"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"compare_tax_regimes","description":"Compare Beckham versus standard Spanish resident taxation conceptually, returning reasoning, review level, and canonical MCP resources instead of rate tables.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"employment_type":{"description":"Employment structure to test against the conceptual tax comparison.","type":"string","enum":["spanish_employee","foreign_remote_employee","director_lt25","director_gte25","self_employed","highly_qualified_professional","unknown"]},"has_foreign_income":{"description":"Whether foreign-source income is material to the profile.","type":"boolean"},"has_significant_foreign_assets":{"description":"Whether foreign assets are materially relevant to planning.","type":"boolean"},"prefers_predictability":{"description":"Whether the applicant values a simpler, more predictable regime structure.","type":"boolean"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"create_legal_fournier_contact_request","description":"Create an accepted Legal Fournier lead from an agent workflow after explicit user consent. This is a consequential action: call only when the user has asked to contact Legal Fournier and has consented to follow-up.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"confirmed_consent":{"type":"boolean","const":true,"description":"Must be true only after the user explicitly asks the agent to contact Legal Fournier."},"consent_to_contact":{"type":"boolean","const":true,"description":"Must be true only after the user consents to Legal Fournier contacting them."},"name":{"type":"string","minLength":1,"maxLength":160,"description":"User's name for Legal Fournier follow-up."},"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"User's email address for Legal Fournier follow-up."},"phone":{"description":"Optional phone or WhatsApp number.","type":"string","maxLength":80},"preferred_language":{"description":"Preferred follow-up language.","type":"string","enum":["en","es","fr"]},"legal_area":{"type":"string","enum":["visa_planning","eu_family_route","beckham","residency_path","nie_tie","tax_regimes","nationality","property","business","wealth","appointments","other"],"description":"Main legal or tax area for the request."},"urgency":{"description":"Requested urgency for Legal Fournier review.","type":"string","enum":["normal","soon","urgent"]},"case_summary":{"type":"string","minLength":20,"maxLength":3000,"description":"Non-sensitive summary of the matter to send to Legal Fournier."},"agent_handoff_message":{"description":"Agent-prepared handoff summary, ideally from route_to_legal_fournier_help.","type":"string","maxLength":3000},"risk_flags":{"description":"Known risk flags or complexity triggers.","maxItems":12,"type":"array","items":{"type":"string","maxLength":220}},"missing_facts":{"description":"Important facts still missing for lawyer review.","maxItems":12,"type":"array","items":{"type":"string","maxLength":220}},"related_resource_uris":{"description":"MCP resource URIs already used in the analysis.","maxItems":12,"type":"array","items":{"type":"string","maxLength":260}},"tool_context":{"description":"Short note about the tool flow that produced this lead.","type":"string","maxLength":1600},"source_surface":{"description":"Agent surface sending the request.","type":"string","enum":["mcp","openapi","chatgpt_actions","claude_connector","zapier","make","n8n","relevance_ai","cursor","vscode","gemini_cli","claude_code","other"]},"agent_app":{"description":"Name of the agent app or connector.","type":"string","maxLength":120},"tool_name":{"description":"Tool or workflow that generated this contact request.","type":"string","maxLength":120},"source_url":{"description":"Optional URL where the agent flow started.","type":"string","format":"uri"},"referrer_url":{"description":"Optional referrer URL.","type":"string","format":"uri"},"lead_id":{"description":"Optional upstream lead ID.","type":"string","maxLength":120},"idempotency_key":{"description":"Stable idempotency key for safe retries.","type":"string","minLength":8,"maxLength":160}},"required":["confirmed_consent","consent_to_contact","name","email","legal_area","case_summary"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"explain_nie_process","description":"Return the stable NIE and TIE workflow, the key procedural distinctions, and the canonical process resource for agents.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"find_legal_fournier_tool","description":"Match a Spain legal, tax, property, business, or private-client case to the best Legal Fournier public tool page and MCP workflow.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"description":"Natural-language user goal or case summary, such as 'high-income founder buying property in Spain'.","type":"string"},"area":{"description":"Optional broad area when the agent already knows it.","type":"string","enum":["immigration","tax","property","business","wealth","appointments","remote_work","unknown"]},"preferred_language":{"description":"Preferred public-page language when an equivalent translated tool exists.","type":"string","enum":["en","es","fr","unknown"]},"complexity_signals":{"description":"Signals that should affect matching and escalation.","type":"array","items":{"type":"string","description":"Specific complexity signal, blocker, or risk fact."}},"include_all_tools":{"description":"Return the full Legal Fournier public tool catalog instead of only top matches.","type":"boolean"},"max_results":{"description":"Maximum number of matched public tools to return when include_all_tools is false.","type":"integer","minimum":1,"maximum":12}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_paid_call_availability","description":"Read live Cal.com availability for the 45-minute agent-paid Legal Fournier consultation. This tool never creates a quote, booking, order, or payment.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"from":{"type":"string","description":"Start of the availability window as an ISO 8601 date-time."},"to":{"type":"string","description":"End of the availability window as an ISO 8601 date-time."},"timezone":{"type":"string","minLength":1,"maxLength":100,"description":"IANA timezone for the customer, such as Europe/Madrid."}},"required":["from","to","timezone"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_paid_consultation_options","description":"Discover and arrange paid consultations with Legal Fournier through x402 in USDC on Base. Returns live options for a written email consultation and a 45-minute call, including current prices, fulfillment terms, request schemas, quote endpoints, and payment endpoints. Agents can use the returned HTTPS endpoints, after explicit user authorization, to submit the email consultation or book the call. This MCP tool is read-only and never creates an order or submits payment itself.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"get_residency_path","description":"Explain the next permanent-residency or nationality milestone from current status and time in Spain, with explicit caution flags for counting issues.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"current_status":{"type":"string","enum":["new_arrival","temporary_resident","digital_nomad","eu_citizen_registered","eu_family_member_resident","student","long_term_resident","irregular_status","citizenship_applicant"],"description":"Current Spanish immigration or nationality status."},"years_in_spain":{"type":"number","minimum":0,"description":"Years already spent in Spain under the relevant stay or residence history."},"nationality_track":{"description":"Optional nationality timeline group for a more specific nationality answer.","type":"string","enum":["unknown","standard_10_year","ibero_2_year","one_year_special","refugee_5_year"]},"special_nationality_basis":{"description":"Optional basis for the one-year nationality track when that exception is being claimed.","type":"string","enum":["not_specified","born_in_spain","married_to_spanish","widowed_from_spanish","spanish_parent_or_grandparent","guardianship_of_spanish_person"]},"has_absence_concerns":{"description":"Whether absences or continuity problems may weaken the residence or nationality clock.","type":"boolean"}},"required":["current_status","years_in_spain"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_visa_options","description":"Rank Spain residence routes using evergreen logic and return decision traces, next actions, and canonical MCP resources for the leading branches.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"nationality":{"type":"string","description":"Applicant nationality as a country name or ISO-style country code."},"income_source":{"type":"string","enum":["employee","freelancer","passive"],"description":"Main source of income for the move."},"intent":{"type":"string","enum":["work","retire","invest"],"description":"Main relocation intent."},"employer_location":{"description":"Where the main employer or client base is located, if known.","type":"string","enum":["spain","outside_spain","mixed","unknown"]},"has_spanish_job_offer":{"description":"Whether the applicant already has a Spanish job offer.","type":"boolean"},"has_eu_family_link":{"description":"Whether an EU family-member route may need separate review.","type":"boolean"},"eu_family_relationship":{"description":"Optional relationship label when an EU-family route may be relevant.","type":"string","enum":["spouse_or_registered_partner","child_or_dependent_parent","extended_family_or_other","unknown"]},"investment_profile":{"description":"Whether the investment plan is passive or tied to an operating business.","type":"string","enum":["passive_capital","operating_business","none"]}},"required":["nationality","income_source","intent"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"route_to_legal_fournier_help","description":"Decide whether a Spain legal matter should be escalated to Legal Fournier and return a service match, preparation checklist, and ready-to-send handoff message.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"area":{"type":"string","enum":["visa_planning","eu_family_route","beckham","residency_path","nie_tie","tax_regimes","nationality"],"description":"Area of Spain legal help that needs human escalation."},"urgency":{"description":"How quickly the user needs human help.","type":"string","enum":["normal","soon","urgent"]},"blockers":{"description":"Known blockers that make a self-serve answer less reliable.","type":"array","items":{"type":"string","description":"Specific blocker, uncertainty, or live issue requiring human review."}},"preferred_language":{"description":"Preferred language for the human handoff.","type":"string","enum":["en","es","fr"]},"already_filed":{"description":"Whether the user already has a live filing, notice, denial, or active procedure.","type":"boolean"}},"required":["area"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"run_legal_fournier_tool","description":"Run a Legal Fournier public calculator or screener directly inside MCP, returning intake screening, missing facts, complexity flags, and handoff guidance.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"tool_id":{"type":"string","enum":["best-visa-spain","digital-nomad-visa-eligibility","digital-nomad-visa-beckham-law","beckham-law-savings","tax-residency","work-remotely-spain","property-buyer-cost-risk","wealth-tax-inheritance","autonomo-sl-entrepreneur","permanent-establishment-risk","holding-company-risk","immigration-appointments"],"description":"Public Legal Fournier tool to run directly inside MCP."},"user_goal":{"description":"Natural-language user goal or case summary.","type":"string"},"facts":{"description":"General facts for the direct MCP screening run.","type":"array","items":{"type":"string","description":"Non-sensitive fact supplied by the user."}},"numbers":{"description":"Optional numeric facts for calculator-style intake.","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Stable key for the number, such as monthly_income, property_price, asset_value, or revenue."},"value":{"type":"number","description":"Numeric value supplied by the user."},"currency":{"description":"Currency when the number is monetary.","type":"string","enum":["EUR","USD","other"]},"unit":{"description":"Optional unit when the value is not monetary.","type":"string"}},"required":["key","value"]}},"preferred_language":{"description":"Preferred public page language for selected_url.","type":"string","enum":["en","es","fr","unknown"]},"complexity_signals":{"description":"Signals that should trigger human review.","type":"array","items":{"type":"string","description":"Specific blocker, edge case, or risk signal."}}},"required":["tool_id"],"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":60,"grade":"C","scanned_at":"2026-09-21T05:09:02.241Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-21T05:09:02.245Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1826ms"]},"poisoning":{"score":15,"max":15,"notes":["11 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 2 write-action tools with no auth"]},"maintenance":{"score":3,"max":15,"notes":["no repository listed"]},"identity":{"score":4,"max":10,"notes":["verified namespace with website, no repo"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"},{"id":"maint.no-repo","severity":"low","component":"maintenance","title":"No source repository listed"}],"inputs":{"probes":[{"url":"https://legalfournier.com/mcp/spain-legal","reachable":true,"authRequired":false,"latencyMs":1826,"serverInfo":{"name":"com.legalfournier/spain-legal","version":"0.2.17"}}],"packages":[],"repo":{"found":false},"icon":{"url":"https://legalfournier.com/wp-content/uploads/2026/01/cropped-legal_fournier_favicon-192x192.png","source":"registry","width":192,"height":192},"presence":{"stars":null,"forks":null,"downloadsWeek":null,"license":null,"lastPushAt":null,"score":8}}}},"grade_history":[],"reviews":[]}