mcpbeat Sign in

Leis do Brasil MCP Server

local only

Leis do Brasil runs on your own machine — the client starts it, so there is no endpoint to ping. 2 307 installs a week from pypi. Last commit 4 Nov 2026.

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

Installs per day peak 1 577 · avg 76
a month agotoday
2 307
Installs / week
pypi · leis-mcp
62
Stars
1 open issue
4 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        with subprocess.Popen(command, cwd=self._dir, stdout=subprocess.PIPE, stderr=subprocess.PIPE) as process:
            metadata = yaml.load(match["yaml"], Loader=_StringDateLoader)  # noqa: S506 - SafeLoader subclass

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add leis-mcp -- uvx leis-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "leis-mcp": {
      "command": "uvx",
      "args": [
        "leis-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.leis-mcp]
command = "uvx"
args = ["leis-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "leis-mcp": {
      "command": "uvx",
      "args": [
        "leis-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "leis-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "leis-mcp"
      ]
    }
  }
}

Alternatives to Leis do Brasil

same job, measured the same way
Guard Brasil
by enioxt

Detecta e mascara dado pessoal brasileiro (CPF, CNPJ, RG, e-mail) antes do texto ir a uma IA. LGPD.

47 installs/wk 3 tools answering
BitBusca Empresas
by bitbusca

CNPJ, empresas em lista, publicações do DJEN, prazos, editais de licitação e advogados do Brasil.

answering
Hotéis e Pousadas no Booking Brasil — Leads com E-mail e CNPJ
by paulovitorti

Hotéis, pousadas e hostels do Booking Brasil com e-mail, telefone, razão social e CNPJ da Receita.

answering
L
Licitações BR
by douglasgouvea

Licitações e contratos públicos do Brasil (PNCP): fatos oficiais com fonte e data

answering
Google Maps Brasil - Leads Locais
by paulovitorti

Empresas do Google Maps no Brasil com telefone, e-mail, site e CNPJ da Receita Federal.

answering
massa
by criando

Massa de teste brasileira válida: CPF, CNPJ, cartão, conta e mais, em CSV, JSON, SQL ou Excel.

5 tools answering
Sudrel
by com-sudrel

Notas fiscais do Brasil: emita NFS-e de uma planilha, com confirmação, e consulte NF-e e CT-e.

answering
Apuração Eleições 2026 (TSE)
by daniel-filius

Resultados oficiais parciais das eleições brasileiras 2026 (TSE) por UF, cargo e município.

local only

Leis do Brasil — questions

Answers built from our own checks of this server.

Why is there no uptime for Leis do Brasil?
Leis do Brasil runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package leis-mcp was installed 2 307 times last week.
How do I connect Leis do Brasil?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls leis-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Leis do Brasil?
The pypi package leis-mcp was installed 2 307 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Leis do Brasil open source?
Yes — it is published under the MIT licence, written in Python, 62 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.