# Leis do Brasil (pypi · leis-mcp)

Busca e cita o texto oficial de mais de 1,2 milhão de normas brasileiras (ctresb/leis).

- Trust score: 66/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- mcpb · `leis-mcp.mcpb`: 13/100, [markdown](https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp.md), [page](https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp)
- pypi · `leis-mcp`: 66/100 (this document), [markdown](https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2.md), [page](https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2)

## Channel facts

- Registry: `pypi`
- Package: `leis-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 50/100
  - Malware scan not yet available for this package.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs uv_build at install time, a recognised build step with no custom scripting around it.
  - 1 of 32 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to mazulo/leis-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 1 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 73/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 944 tokens (~188/item across 5 items; 4 tools + 1 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the Leis do Brasil MCP server?

Leis do Brasil runs locally as a PyPI package, launched with uvx leis-mcp serve. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add mazulo-leis-mcp -- uvx leis-mcp serve
```

### Cursor

```json
{
  "mcpServers": {
    "mazulo-leis-mcp": {
      "command": "uvx",
      "args": [
        "leis-mcp",
        "serve"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "mazulo-leis-mcp": {
      "command": "uvx",
      "args": [
        "leis-mcp",
        "serve"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add mazulo-leis-mcp -- uvx leis-mcp serve
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mazulo-leis-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "leis-mcp",
        "serve"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mazulo-leis-mcp --command uvx --arg leis-mcp --arg serve
```

### Hermes

```yaml
mcp_servers:
  mazulo-leis-mcp:
    command: "uvx"
    args: ["leis-mcp", "serve"]
```

### Netclaw

```json
{
  "McpServers": {
    "mazulo-leis-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "leis-mcp",
        "serve"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add mazulo-leis-mcp -t stdio -c uvx -a leis-mcp serve
```

### Other

```json
{
  "mcpServers": {
    "mazulo-leis-mcp": {
      "command": "uvx",
      "args": [
        "leis-mcp",
        "serve"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-04 (score 66)

First indexed and scored.

## MCP tools (4)

### `buscar_norma` (~235 tokens)

Localiza uma norma e devolve metadados do cabeçalho (título, ementa, data, revogada, versão do texto), caminho no repositório e link oficial da fonte.

Input parameters:

- `ano`: Ano (4 dígitos).
- `esfera`: federal, estaduais, municipais, reguladores, jurisprudencia ou tratados.
- `limite` (integer): Máximo de resultados (1 a 50).
- `numero`: Número da norma (alternativa a `referencia`).
- `referencia`: Referência livre: 'Lei 8.245/91', '8245/1991', '8.245', 'LC 123/2006', 'DL 5.452', ou apelido ('CDC', 'CLT', 'código civil', 'constituição').
- `tipo`: Tipo: 'lei', 'lei complementar', 'decreto-lei', 'decreto', 'medida provisória', 'emenda constitucional' ou nome do diretório ('leis-ordinarias').
- `uf`: UF, para normas estaduais (ex.: 'SP').

### `ler_artigo` (~208 tokens)

Devolve o texto exato de um artigo (ou parágrafo, inciso, alínea), com o caput como contexto, link da fonte e avisos de revogação ou texto não compilado.

Input parameters:

- `alinea`: Alínea: 'a', 'b'...
- `artigo` (string, required): Artigo: '23', '9º', '4-A', '1.000'.
- `bloco`: Quando a numeração reinicia na norma (ex.: ADCT na CF), trecho do título do bloco ('transitórias') ou índice.
- `inciso`: Inciso em romano ('III') ou número (3).
- `norma` (string, required): Norma: '8245/1991', 'Lei 8.245/91', apelido ('CDC', 'CLT', 'CF', 'ADCT') ou caminho no repositório.
- `paragrafo`: Parágrafo: '2', '2º' ou 'único'.

### `buscar_texto` (~132 tokens)

Busca um termo dentro de uma norma, ou nas normas já em cache local, indicando o artigo de cada ocorrência.

Input parameters:

- `ano`: Filtro de ano.
- `consulta` (string, required): Palavra ou trecho (ignora maiúsculas e acentos).
- `esfera`: Filtro de esfera.
- `limite` (integer): Máximo de ocorrências (1 a 100).
- `norma`: Restringe a uma norma (baixada sob demanda). Sem isso, busca só nas normas já em cache local.
- `tipo`: Filtro de tipo.
- `uf`: Filtro de UF.

### `listar_normas` (~190 tokens)

Navega pelo acervo: sem filtros devolve contagens por esfera; com esfera, por tipo; com tipo, por ano; com ano, lista as normas.

Input parameters:

- `ano`: Ano. Vazio: contagem por ano.
- `esfera`: federal, estaduais, municipais, reguladores, jurisprudencia, tratados. Vazio: contagem por esfera.
- `limite` (integer): Itens por página (1 a 200).
- `municipio`: Município (slug, ex.: 'rio-branco').
- `offset` (integer): Deslocamento para paginação.
- `orgao`: Órgão regulador ou tribunal (ex.: 'anvisa', 'stf').
- `tipo`: Tipo (ex.: 'leis-ordinarias'). Vazio: contagem por tipo/UF/órgão.
- `uf`: UF (estaduais/municipais).

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2#diagnostics

## Score history

- 2026-11-05: 66
- 2026-11-04: 66

## Common questions

### What is the Leis do Brasil MCP server?

Leis do Brasil is an MCP server listed in the public MCP registry as io.github.mazulo/leis-mcp. Busca e cita o texto oficial de mais de 1,2 milhão de normas brasileiras (ctresb/leis). This page covers its PyPI package (leis-mcp).

### Is the Leis do Brasil MCP server safe to use?

Leis do Brasil scores 66 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Leis do Brasil MCP server expose?

Leis do Brasil exposes 4 tools: buscar_norma, ler_artigo, buscar_texto, listar_normas. Their descriptions and schemas cost roughly 765 tokens of context every time the server is loaded.

### Is the Leis do Brasil MCP server still maintained?

Leis do Brasil is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Leis do Brasil MCP server under?

Leis do Brasil declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Leis do Brasil MCP server?

VerifyMCP ran 14 checks on Leis do Brasil, covering Known CVEs, Install scripts, Dependency health, Source repository and 10 more. 2 items could not be completed, a gap on our side rather than a finding about Leis do Brasil: Malware scan and Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/leis-mcp/
- Socket report: https://socket.dev/pypi/package/leis-mcp
- Repository: https://github.com/mazulo/leis-mcp
- Changelog RSS feed: https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2.xml
- Changelog JSON feed: https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2.json
- HTML version of this page: https://verifymcp.io/servers/mazulo-leis-mcp/leis-mcp-2
