MCP ExplorerExplorer

Brlaw Mcp Server

@pdmtton a year ago
2 MIT
FreeCommunity
AI Systems
A MCP (Model Context Protocol) server for agent-driven research on Brazilian law

Overview

What is Brlaw Mcp Server

brlaw_mcp_server is a Model Context Protocol (MCP) server designed for agent-driven research specifically focused on Brazilian law.

Use cases

Use cases for brlaw_mcp_server include conducting legal research, analyzing judicial precedents, and assisting in the study of Brazilian law for educational purposes.

How to use

To use brlaw_mcp_server, clone the repository from GitHub and set up your MCP client with the provided configuration. Ensure you have the necessary requirements installed, including git, uv or Python, and Google Chrome.

Key features

Key features include the ability to research legal precedents through the tool ‘pesquisar_precedentes_judiciais’, which allows users to find relevant legal cases based on specified criteria.

Where to use

brlaw_mcp_server is primarily used in the legal field, particularly by lawyers, law students, and researchers who need to access and analyze Brazilian legal information.

Content

Brazilian Law Research MCP Server

🇧🇷 Leia em português

A MCP (Model Context Protocol) server for agent-driven research on Brazilian law.

Requirements

  • git
  • uv (recommended) or Python >= 3.11
  • Google Chrome

How to use

  1. Clone the repository:
git clone https://github.com/pdmtt/brlaw_mcp_server.git
  1. Install the dependencies
uv run patchright install
  1. Setup your MCP client (e.g. Claude Desktop):
{
  "mcpServers": {
    "brlaw_mcp_server": {
      "command": "uv",
      "args": [
        "--directory",
        "/<path>/brlaw_mcp_server",
        "run",
        "serve"
      ]
    }
  }
}

Available Tools

  • StjLegalPrecedentsRequest: Research legal precedents made by the National High Court of Brazil
    (STJ) that meet the specified criteria.
  • TstLegalPrecedentsRequest: Research legal precedents made by the National High Labor Court of
    Brazil (TST) that meet the specified criteria.

Development

Tooling

The project uses:

  • Ruff for linting and formatting.
  • BasedPyright for type checking.
  • Pytest for testing.

Language

Resources, tools and prompts related stuff must be written in Portuguese, because this project aims
to be used by non-dev folks, such as lawyers and law students.

Technical legal vocabulary is highly dependent on a country’s legal tradition and translating it is
no trivial task.

Development related stuff should stick to English as conventional, such as source code.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers