About Brazilian Law
Brazilian Law is an MCP server published by pdmtt in the Developer Tools category: a MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources.
The repository has 38 stars and 14 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/pdmtt/brlaw_mcp_serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (3)
StfLegalPrecedentsRequestResearch legal precedents made by the Supreme Court (STF) that meet
Parameters not published.
StjLegalPrecedentsRequestResearch legal precedents made by the National High Court of Brazil
Parameters not published.
TstLegalPrecedentsRequestResearch legal precedents made by the National High Labor Court of
Parameters not published.
Ask AI
Ask AI about Brazilian Law
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
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.
README fetched from the repository 6 days ago. The original is authoritative.