Skip to content
MCP server
Registry

spainlaw MCP Server

Spain legal guidance: published articles, visa routes, Beckham checks, residency and tax.

spainlaw scores 70 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 8 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 63 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by cloudcorprecordsMITTypeScript1 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 70 comes from

22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cloudcorprecords-spainlaw": {      "command": "npx",      "args": [        "-y",        "@reneturcios/spainlaw@0.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools8Tool docs quality grade B

All capabilities
  • A gatecheck for the Beckham special tax regime. employmenttype and movereason are required.

  • A comparison of tax regimes for a set of circumstances. No parameters are required.

  • How the NIE process works. Takes no input.

  • Live paid-call availability for a date range. from, to and timezone are required.

  • The published paid consultation options, prices and quote/payment endpoints, returned as data. Read-only; it creates no order and submits no payment. Takes no input.

  • Residency-path milestones from a current status and time in Spain. currentstatus and yearsinspain are required.

  • Ranked visa routes for a set of circumstances. nationality, incomesource and intent are required.

  • Compose a ready-to-send handoff message for the firm's help channels from non-contact inputs only; it submits nothing. area is required.

About

spainlaw

Spain legal guidance from your own machine's tool list. spainlaw is a local forwarding client for the published Legal Fournier Spain-legal MCP service: it answers tools/list locally from the captured tool definitions and forwards every call to the remote service, returning the answers exactly as the service sends them back.

The built surface covers published-content search and fetch, the published paid-consultation options and live paid-call availability, and rule-based guidance for people relocating to or living in Spain: visa-route ranking, Beckham-regime eligibility checks, residency-path milestones, the NIE process, tax-regime comparison, and routing a case to the firm's help channels. Nothing is computed or stored locally — the package is a pipe, not a law firm.

This is a labelled subset rebuild: the upstream capture enumerates thirteen tools, and ten are built here. Three are omitted — find_legal_fournier_tool and run_legal_fournier_tool, a meta-dispatch pair that finds and runs unenumerated calculators and screeners by id, and create_legal_fournier_contact_request, which creates a lead at the firm from a person's name, email and case summary. The omitted tools are not registered, not served in tools/list, and not available on the CLI.

The tools

  • search — Search published articles, videos and canonical legal resources, with language, type and topic filters. No parameters are required.
  • fetch — Fetch one published item in full by id or URI, with offset and length controls. No parameters are required.
  • get_paid_consultation_options — The published paid consultation options, prices and quote/payment endpoints, returned as data. Read-only; it creates no order and submits no payment. Takes no input.
  • get_paid_call_availability — Live paid-call availability for a date range. from, to and timezone are required.
  • get_visa_options — Ranked visa routes for a set of circumstances. nationality, income_source and intent are required.
  • check_beckham_eligibility — A gatecheck for the Beckham special tax regime. employment_type and move_reason are required.
  • get_residency_path — Residency-path milestones from a current status and time in Spain. current_status and years_in_spain are required.
  • explain_nie_process — How the NIE process works. Takes no input.
  • compare_tax_regimes — A comparison of tax regimes for a set of circumstances. No parameters are required.
  • route_to_legal_fournier_help — Compose a ready-to-send handoff message for the firm's help channels from non-contact inputs only; it submits nothing. area is required.

Install and run

As an MCP server via npm:

npx -y @reneturcios/spainlaw mcp

MCP client configuration:

{
  "mcpServers": {
    "spainlaw": {
      "command": "npx",
      "args": ["-y", "@reneturcios/spainlaw", "mcp"]
    }
  }
}

As a container:

docker run -i ghcr.io/cloudcorprecords/spainlaw
docker run --rm ghcr.io/cloudcorprecords/spainlaw get_visa_options '{"nationality":"US","income_source":"remote","intent":"live"}'

CLI

One binary serves both the command line and the MCP server. Each tool is a subcommand taking a single JSON string with that tool's arguments:

spainlaw search '{"query":"digital nomad visa","language":"en"}'
spainlaw fetch '{"id":"example"}'
spainlaw get_paid_consultation_options '{}'
spainlaw get_visa_options '{"nationality":"US","income_source":"remote","intent":"live"}'
spainlaw check_beckham_eligibility '{"employment_type":"employee","move_reason":"job"}'
spainlaw route_to_legal_fournier_help '{"area":"visa"}'
spainlaw --version

Exit codes: 0 when the forwarded call succeeds, 1 when the upstream result is an error, and 2 for usage problems such as an unknown subcommand or a malformed JSON argument.

Configuration

  • LEGALFOURNIER_MCP_URL — Overrides the upstream endpoint. The default is the pinned published endpoint, https://legalfournier.com/mcp/spain-legal. (The override variable is a reconstruction added by this rebuild.)

The upstream registry record declares no headers, so no authentication header is ever sent; the tool surface was captured keyless.

Upstream failures — a JSON-RPC error from the service, a non-2xx response, an unreadable body, or a request that fails outright — are reported to the caller as an error result whose text starts with spainlaw error:.

How forwarding works

The first forwarded call opens a session: an initialize request (protocol version 2025-03-26), followed by a notifications/initialized notification, then the tools/call itself. If the service answers the initialize request with an Mcp-Session-Id header, that value is carried on every later request, and the open session is reused for the rest of the process. Replies are accepted either as plain JSON or as server-sent events. Successful results pass through verbatim, including any isError flag and any extra fields the service includes.

Development

npm install
npm run build   # tsc -> dist/ (dist/cli.js is the bin)
npm test        # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev     # run the CLI from source

The test suite checks the served tool list against the captured surface, asserts the three omitted tools are absent at the registry, MCP and CLI levels, exercises the session handshake and its reuse, verifies that no Authorization header is ever sent, and verifies that arguments go upstream untouched and results come back untouched.

License

MIT — see LICENSE.

Frequently asked questions

What is spainlaw MCP Server?

Spain legal guidance: published articles, visa routes, Beckham checks, residency and tax.

How do I install spainlaw MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. spainlaw MCP Server runs locally from the npm package @reneturcios/spainlaw with the command npx -y @reneturcios/spainlaw@0.1.0.

Is spainlaw MCP Server free and open source?

Yes. spainlaw MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does spainlaw MCP Server support remote (HTTP) connections?

No remote endpoint is listed for spainlaw MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does spainlaw MCP Server provide?

spainlaw MCP Server provides 8 tools, including check_beckham_eligibility, compare_tax_regimes, explain_nie_process, and get_paid_call_availability. See the full tool list for descriptions and parameters.

How is spainlaw MCP Server's trust score calculated?

spainlaw MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server