home / mcp / brazilian law mcp server
Query Brazilian legislation from MCP clients with verbatim text, cross-references, and EU implementation data.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-brazil-law-mcp": {
"url": "https://brazilian-law-mcp.vercel.app/mcp"
}
}
}You can query Brazilian legislation directly from compatible MCP clients, including Claude and Cursor, using a dedicated MCP server that provides fast, verbatim statute text with cross-references and EU implementation data. This server makes Brazilian law searchable, auditable, and AI-ready for legal research, compliance work, and legal-tech applications.
Connect your MCP client to the hosted remote server or run the local MCP server to begin querying Brazilian law. You can search for provisions by topic, check whether statutes are in force, validate citations, and build legal stances across multiple laws. Use natural language questions like “What does the LGPD say about consent?” or “Which Brazilian laws implement the GDPR?” to retrieve exact provisions with context.
Prerequisites: Node.js and npm installed on your machine.
# Quick start: install dependencies, build, and run tests
git clone https://github.com/Ansvar-Systems/Brazil-law-mcp
cd Brazil-law-mcp
npm install
npm run build
npm test
# Start the server for development
npm run devDeployment options include a hosted remote MCP URL for quick start and a local runtime via npm for development and private deployments. The hosted endpoint is designed for zero-setup usage in client tools.
If you need to test locally, you can use the following commands to run the MCP server directly with npm. After starting, you can query the server using your MCP client of choice by pointing it at the appropriate URL or by integrating with your local process.
FTS5 full-text search across all provisions with BM25 ranking.
Retrieve a specific provision by statute plus chapter and section.
Check if a statute is currently in force, amended, or repealed.
Validate a citation against the database to minimize errors.
Aggregate citations from multiple statutes to form a legal argument.
Format citations according to Brazilian conventions (full, short, pinpoint).
List all available statutes with metadata and references.
Provide server information, capabilities, and coverage summary.
Retrieve EU directives or regulations applicable to a Brazilian statute.
Find Brazilian laws that implement a given EU act.
Search EU documents with counts of Brazilian implementations.
Obtain EU law references for a specific provision.
Check the implementation status of EU directives.