Overview
JUIT is a Brazilian legal technology company that provides structured access to judicial data from all levels of the Brazilian court system. The JUIT MCP Server connects AI assistants to this verified legal database.
With this integration you can search court rulings (jurisprudence) and court proceedings across all major Brazilian courts — STF, STJ, TST, TRFs, and all 27 state courts (TJs).
All data comes from official court sources. Never rely on AI-generated legal citations — JUIT returns real rulings with case numbers, dates, and full text verified against official records.
Important: JUIT provides legal data for research purposes only. It does not constitute legal advice. All results should be reviewed and validated by a qualified legal professional before use in any legal proceeding.
Getting Started
Prerequisites
A JUIT account with an active subscription (paid or trial)
Access to Claude (claude.ai), Cursor, or any MCP-compatible client
Connecting via Claude
Open Claude and go to Settings → MCP Servers
Add a new remote MCP server with the URL:
https://mcp.juit.io/mcp
When prompted, sign in with your JUIT credentials (via Auth0)
Claude will confirm the connection — you're ready to search
Connecting via Cursor
Add the following to your MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"juit": {
"url": "https://mcp.juit.io/mcp"
}
}
}Multi-Account Users
If your email is associated with multiple JUIT accounts, Claude will ask you to select which account to use. You can switch accounts at any time by asking Claude to change your active account.
Available Tools
JUIT provides 14 tools organized in three categories:
Account & Server
Tool | Description |
| Returns your identity and active account information |
| Selects which JUIT account to use (multi-account users) |
| Checks if the server is active and responding |
| Returns server name and version |
Jurisprudence (Case Law)
Tool | Description |
| Search verified court rulings across Brazilian courts |
| Download the full text or PDF of a ruling |
Court Proceedings (Processos)
Tool | Description |
| Search lawsuits by CNJ number, party, lawyer, court, dates, and more |
| Check if a case exists by its number |
| Get a quick summary of a case's current status |
| Get all available data for a case in a single call |
| List all parties and their legal representatives |
| List procedural movements (rulings, decisions, publications) |
| List available documents attached to the case |
| Download the content of a specific document |
Usage Examples
Searching Jurisprudence
Ask Claude:
"Search for recent STJ rulings about tenant eviction for non-payment"
Claude will call search_jurisprudence with appropriate filters and return verified rulings with case numbers, dates, court, judge, and headnotes (ementas).
You can refine your search:
"Filter only rulings from 2024 onwards, sorted by date"
"Search for STF precedents on freedom of speech in social media"
"Find rulings by judge Alexandre de Moraes about electoral law"
Downloading Full Rulings
After a search, you can ask:
"Show me the full text of the first ruling"
Claude will call get_jurisprudence_artifact to download the complete document (inteiro teor). Text documents are returned directly; PDFs and binary files are delivered as downloadable attachments.
Searching Court Proceedings
Ask Claude:
"Look up all lawsuits involving Banco do Brasil in TJSP"
"Find the case with CNJ number 0001234-56.2024.8.26.0100"
"Search for proceedings where lawyer OAB SP172172 is representing"
"List all federal cases filed against CNPJ 00.000.000/0001-00 in the last year"
Inspecting a Case
Once you have a case number, you can dive deeper:
"Show me all the details of this case"
"Who are the parties and lawyers in this lawsuit?"
"List the recent movements and decisions"
"Download the latest court decision document"
Search Parameters Reference
Jurisprudence Search
Parameter | Description | Example |
| Search terms (required) | "dano moral consumidor" |
| Fields to search: |
|
| Court codes |
|
| Judge/rapporteur name | "Alexandre de Moraes" |
| Minimum date (format: |
|
| Maximum date (format: |
|
| Disable synonyms on specific fields |
|
| Sort field: |
|
| Sort direction: |
|
| Pagination token from previous response | (returned by API) |
| Search ID (required after first page) | (returned by API) |
Case Search
Parameter | Description | Example |
| Full CNJ number |
|
| Party name in the case | "Banco do Brasil" |
| CPF or CNPJ (with leading zeros) |
|
| Lawyer's OAB number |
|
| Court code |
|
| Justice segment |
|
| Court instance |
|
| Update period (ISO 8601) |
|
| Filing period (ISO 8601) |
|
| Sort field for results | (varies) |
| Pagination token from previous response | (returned by API) |
Supported Courts
Superior Courts
STF — Supremo Tribunal Federal (Supreme Court)
STJ — Superior Tribunal de Justiça (Superior Court of Justice)
TST — Tribunal Superior do Trabalho (Superior Labor Court)
TSE — Tribunal Superior Eleitoral (Superior Electoral Court)
STM — Superior Tribunal Militar (Superior Military Court)
Federal Regional Courts
TRF1 through TRF6 — Tribunais Regionais Federais
State Courts
TJAC, TJAL, TJAM, TJAP, TJBA, TJCE, TJDF, TJES, TJGO, TJMA, TJMG, TJMS, TJMT, TJPA, TJPB, TJPE, TJPI, TJPR, TJRJ, TJRN, TJRO, TJRR, TJRS, TJSC, TJSE, TJSP, TJTO — All 27 state courts
Authentication
JUIT uses OAuth 2.0 with Auth0 for secure authentication:
When you first connect, Claude redirects you to the JUIT login page (powered by Auth0)
Sign in with your JUIT email and password
After authentication, Claude receives a secure token to access JUIT on your behalf
The token is automatically refreshed — you won't need to sign in again unless the session expires
Your credentials are never shared with Claude or Anthropic. Authentication is handled entirely through the OAuth 2.0 standard protocol.
Document Downloads
When downloading ruling documents or case artifacts:
Text documents (HTML, TXT) are returned directly in the conversation
Binary documents (PDF, DOCX, RTF) are delivered as base64-encoded attachments
Large files (over 5 MB) return metadata only — download them directly from the court's website
Troubleshooting
Issue | Solution |
"Account selection required" | You have multiple JUIT accounts. Ask Claude to list your accounts and select one. |
"No account selected" | Call |
Authentication errors | Try disconnecting and reconnecting the MCP server to refresh your session. |
Empty search results | Try broader search terms, different courts, or wider date ranges. |
API error (HTTP 4xx/5xx) | The JUIT API may be temporarily unavailable. Wait a moment and retry. If the error persists, contact support. |
Artifact download fails | Verify the |
Privacy & Data Handling
JUIT only accesses your email address for authentication and account identification
Search queries are sent to the JUIT API to retrieve results — they are not stored for profiling
No conversation data is collected or retained beyond what is necessary to process your request
All communication is encrypted via HTTPS (TLS 1.2+)
See our full Privacy Policy for details
Support
Email: [email protected]
Website: https://juit.com.br
Terms of Use: https://juit.com.br/legal/termos-de-uso