Leis do Brasil

v0.3.0
io.github.mazulo/leis-mcp Checked 6 hours ago Published 18 days ago

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

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add leis-mcp -- uvx leis-mcp==0.3.0 serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "leis-mcp": {
      "args": [
        "leis-mcp==0.3.0",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "leis-mcp": {
      "args": [
        "leis-mcp==0.3.0",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "leis-mcp": {
      "args": [
        "leis-mcp==0.3.0",
        "serve"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.leis-mcp]
command = "uvx"
args = ["leis-mcp==0.3.0", "serve"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: buscar_norma, ler_artigo, buscar_texto, listar_normas.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json