Brazilian Law Research MCP Server
pdmtt/brlaw_mcp_server · 38 stars · Python · MIT
MCP server A MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources
Install
The repo has no one-line install. Follow its README.
Files
Brazilian Law Research MCP Server
A MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources.
Foreword
This server empowers models with scraping capacities, thus making research easier to anyone legitimately interested in Brazilian legal matters.
This facility comes with a price: the risk of overloading the official sources' servers if misused. Please be sure to keep the load on the sources to a reasonable amount.
Requirements
- git
- uv (recommended) or Python >= 3.12
- Google Chrome
How to use
- Clone the repository:
git clone https://github.com/pdmtt/brlaw_mcp_server.git
- Install the dependencies
uv run patchright install
- 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.StfLegalPrecedentsRequest: Research legal precedents made by the Supreme Court (STF) 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.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 38
- License
- MIT
- Language
- Python
- Last push
- 2025-07-29
- Forks
- 14
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k