# Luthor

> Luthor is a freemium MCP server for legal and government. Mexican law research for lawyers: exact articles and court rulings with citations. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, WhatsApp
- **Website:** https://luthor.mx
- **MCP Registry name:** mx.luthor/derecho-mexicano
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-27

## About

Luthor lets Mexican lawyers ask legal questions in Spanish and receive answers anchored to the exact article of a statute or the exact court ruling, with each citation opening its full text. The archive covers federal and state codes, regulations and treaties across all 32 entities, with dated versions for every reform so a case can cite the wording that was in force on the relevant date.

Besides the web app and a WhatsApp chat, it exposes a remote Model Context Protocol endpoint with six read-only tools for searching and reading court rulings, articles and legal instruments. Each result carries its canonical identifier, cut-off date and URL, and states whether a provision is in force, repealed or unverified.

It is aimed at law firms and legal-tech teams in Mexico who want sourced research they can check, while the vendor notes that answers are orientative and do not replace a lawyer's judgement.

## Features

- **Article-level citations:** Answers point to the specific article or ruling they rely on, with a link to its full text.
- **Dated law versions:** Each reform is stored with its publication date so older wording can be cited for past facts.
- **Court ruling search:** Search Poder Judicial and TFJA rulings by content, registry number or key.
- **MCP server access:** Remote Streamable HTTP endpoint with typed tools that AI clients can call with an organization API key.
- **WhatsApp legal queries:** Ask questions over WhatsApp and receive a single message with conclusion and supporting citations.
- **Validity status flags:** Provisions are marked as in force, repealed or not verified rather than guessed.

## Good for

- Finding the statutory article that governs a labour or commercial question
- Locating court rulings on a specific legal point to support a brief
- Checking which version of a law was in force on the date of the facts
- Connecting an AI assistant to Mexican legal sources through MCP
- Getting quick sourced answers on mobile through WhatsApp

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http derecho-mexicano https://mcp.luthor.mx/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "type": "http",
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.luthor.mx/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "type": "http",
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.luthor.mx/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add derecho-mexicano --url https://mcp.luthor.mx/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.derecho-mexicano]
url = "https://mcp.luthor.mx/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "httpUrl": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http derecho-mexicano https://mcp.luthor.mx/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "serverUrl": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "type": "streamableHttp",
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.luthor.mx/mcp
```

Enter a Name (for example "Luthor"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "derecho-mexicano": {
      "type": "http",
      "url": "https://mcp.luthor.mx/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `luthor_buscar_tesis`: Search court rulings by their content, returning excerpts, keys, registry numbers and URLs.
- `luthor_leer_tesis`: Read a court ruling with its headnote, text fragments, metadata and jurisprudential status.
- `luthor_buscar_articulo`: Search legal articles by content, optionally filtered by statute.
- `luthor_leer_articulo`: Read a legal article with its version, cut-off date and canonical URL.
- `luthor_buscar_ordenamiento`: Search Mexican statutes, regulations and treaties by name or subject with declared validity.
- `luthor_leer_ordenamiento`: Read the text of a statute in full, by article, or by topic.

## FAQ

### How do I connect Luthor to Claude or Claude Code?

Register the remote endpoint https://mcp.luthor.mx/mcp with an organization API key sent as a Bearer token, using the claude mcp add command or an mcpServers config entry.

### What does the free plan include?

A free account gives access to the archive of rulings, the statute census and the article wiki, and three free questions over WhatsApp without an account.

### Which jurisdictions are covered?

Federal and state laws from all 32 entities, plus international treaties, with versions dated from 1814 onward.

### Is the MCP access available to everyone?

It is described as an early-access specification for organizations, which receive an organization key from the administrator.

### How do I add Luthor to Claude Code?

Run this command in your terminal: claude mcp add --transport http derecho-mexicano https://mcp.luthor.mx/mcp

### What are the best alternatives to Luthor?

The closest alternatives to Luthor are Corpus Iuris, Lex API MX, Leyes MX: Mexican federal law at any date, JurisNet: Latin American legal data and Ulpianus.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Corpus Iuris](https://ai-powered.com/mcp/corpus-iuris): Corpus Iuris is a freemium MCP server for legal and government.
- [Lex API MX](https://ai-powered.com/mcp/lex-api-mx): Lex API MX is a free MCP server for legal and government.
- [Leyes MX: Mexican federal law at any date](https://ai-powered.com/mcp/leyes-mx-mexican-federal-law-at-any-date): Leyes MX: Mexican federal law at any date is an open-source MCP server for legal and government.
- [JurisNet: Latin American legal data](https://ai-powered.com/mcp/jurisnet-latin-american-legal-data): JurisNet: Latin American legal data is an MCP server for legal and government.
- [Ulpianus](https://ai-powered.com/mcp/ulpianus): Ulpianus is a freemium MCP server for legal and government.
- [Jurisprudencia.io](https://ai-powered.com/mcp/jurisprudencia-io): Jurisprudencia.io is an MCP server for legal and government.
- [Ansvar: Spanish Law](https://ai-powered.com/mcp/ansvar-spanish-law): Ansvar: Spanish Law is a freemium MCP server for legal and government.
- [Lexiara](https://ai-powered.com/mcp/lexiara): Lexiara is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/luthor
