Brlaw
FreeNot checkedA MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources
About
A MCP (Model Context Protocol) server for agent-driven research on Brazilian law using official sources
README
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.
Installing Brlaw
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/pdmtt/brlaw_mcp_serverFAQ
Is Brlaw MCP free?
Yes, Brlaw MCP is free — one-click install via Unyly at no cost.
Does Brlaw need an API key?
No, Brlaw runs without API keys or environment variables.
Is Brlaw hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Brlaw in Claude Desktop, Claude Code or Cursor?
Open Brlaw on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Brlaw with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
