- Home
- MCP servers
- Brlaw
Brlaw
- python
27
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"pdmtt-brlaw_mcp_server": {
"command": "uv",
"args": [
"--directory",
"/<path>/brlaw_mcp_server",
"run",
"serve"
]
}
}
}The Brazilian Law Research MCP Server enables agent-driven research on Brazilian law by fetching information from official sources and presenting it through the MCP (Model Context Protocol). It streamlines legal research workflows by letting your MCP client trigger server-side queries and gather precedents and legal materials in a structured way, while keeping the load on official sources reasonable when used responsibly.
How to use
You will run the MCP server locally and connect your MCP client to it. Use the provided stdio configuration to start the server and point your client to the running process. The server exposes tools that let you search for Brazilian legal precedents from STJ, TST, and STF based on your criteria.
How to install
Prerequisites you need before starting are: git, uv (recommended) or Python >= 3.12, and Google Chrome.
Step 1: Clone the repository.
git clone https://github.com/pdmtt/brlaw_mcp_server.git
Step 2: Install the dependencies.
uv run patchright install
Step 3: Configure your MCP client to connect to this server using the inline MCP configuration.
{
"mcpServers": {
"brlaw_mcp_server": {
"command": "uv",
"args": [
"--directory",
"/<path>/brlaw_mcp_server",
"run",
"serve"
]
}
}
}
Additional sections
Notes on usage and capabilities: The MCP server supports querying Brazilian legal precedents from three sources: the National High Court of Brazil (STJ), the National High Labor Court of Brazil (TST), and the Supreme Court (STF). You can tailor searches to match specific criteria (such as topic, date range, or ruling characteristics) and retrieve relevant precedents that meet those criteria.
Security and load considerations: Use the server responsibly to avoid overloading official sources. Design your queries to be concise and respect rate limits. If you plan large-scale scraping or high-frequency queries, coordinate with the source institutions and implement polite throttling in your client.
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.