About ragjur
ragjur connects legal professionals and researchers to Brazilian court decisions and jurimetrics through Claude and other MCP clients. Its tools cover search, statistical analysis, and citation verification; conversational answers are produced by the host model.
Key features
- 01Full-text search across court decisions
- 02Semantic search for similar decisions
- 03Topic and panel trend analysis
- 04Litigation and outcome statistics
- 05Judge and rapporteur profiles
- 06Citation verification
Use cases
- 01Find recent decisions by court and topic
- 02Compare outcomes across court panels
- 03Estimate litigation duration or outcomes
- 04Check citations in a legal document
MCP support
Provides a remote MCP server over Streamable HTTP at `https://mcp.ragjur.ai/mcp`. It exposes legal search and jurimetrics tools to MCP clients, with the available tool set dependent on the subscription plan.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.ragjur.ai/mcpclaude mcp add --transport http ai-ragjur https://mcp.ragjur.ai/mcp{"mcpServers":{"ai-ragjur":{"type":"http","url":"https://mcp.ragjur.ai/mcp"}}}Open in Cursor{"servers":{"ai-ragjur":{"type":"http","url":"https://mcp.ragjur.ai/mcp"}}}Open in VS Code{"mcpServers":{"ai-ragjur":{"type":"http","url":"https://mcp.ragjur.ai/mcp"}}}{"mcpServers":{"ai-ragjur":{"serverUrl":"https://mcp.ragjur.ai/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.ragjur.ai/mcpAuth requiredTools
Details
From the project READMERAGJur — Claude Plugin
Brazilian legal RAG for Claude — search 112M+ court decisions from 90+ Brazilian tribunals.
💳 Paid subscription required (from R$ 197/month — see ragjur.ai/precos). Installation and authorization are free; using the tools requires a RAGJur subscription: ragjur.ai.
This repository contains the Claude plugin manifest for RAGJur. The plugin connects Claude to the RAGJur MCP server (remote, streamable HTTP) at https://mcp.ragjur.ai/mcp.
Install
In Claude Code:
/plugin marketplace add btechbrasil/ragjur-mcp
/plugin install ragjur@btechbrasil
No API key to paste. On the first tool call, your host (Claude, ZCode/GLM, or any MCP client with OAuth support) receives the server's authorization challenge and opens your browser for login (BeansTech ID). Authorize once and the connection reconnects automatically; your plan travels in the token and the tool list adapts (see Plans below).
What you get — 12 grounding tools
| Tool | What it does |
|---|---|
buscar_jurisprudencia | Full-text search over 112M+ decisions (BM25, filters by tribunal/class/date) |
similaridade | Semantic search — decisions similar to a case or ementa (embeddings) |
panorama_tema | Topic overview: outcome rate, result categories, trend |
divergencia_turmas | Divergence between panels/chambers on a topic |
evolucao_jurisprudencial | How a thesis evolved over time (quarterly) |
predicao_resultado | Statistical outcome prediction with confidence interval |
tempo_tramitacao | Litigation-time statistics (median, percentiles) |
perfil_relator | Judge/rapporteur profile on a topic |
dna_turma | Statistically characteristic terms of a panel |
clusters_tematicos | Cluster a topic into sub-issues |
estrategia_juiz | Full strategic analysis of a judge for a topic |
verificar_citacao | Anti-hallucination citation verification |
📊 Plans: Essential (R$ 197/mo, 100 queries) unlocks the core research tools (
buscar_jurisprudencia,similaridade,verificar_citacao,panorama_tema); Pro (500 queries) unlocks all 12. The server filters the tool list to your plan automatically.
🧠 The prose is yours: conversational Q&A and document drafting are done by the LLM of the platform you're in (Claude, GLM/ZCode, ChatGPT, Cursor), grounded by these retrieval and jurimetrics tools. The plugin intentionally ships no
chat/drafttool — the synthesis layer is the host model, so answers come from the model you already pay for. (chat_juridicoandgerar_pecaremain available on the REST API for direct integrations.)
Coverage
STF, STJ, TST, TSE, TCU, all TRFs (1–6), all state courts (TJs), labor courts (TRTs), electoral courts, state audit courts (TCEs) and administrative tax appeal tribunals (CARF/DRJs/TARFs) — 112 million+ decisions and growing daily.
Example prompts
- "Busque os acórdãos mais recentes do STJ sobre busca e apreensão em alienação fiduciária"
- "Qual a taxa de provimento de recursos sobre dano moral no TJSP? Há divergência entre as câmaras?"
- "Verifique se as citações desta peça existem"
- "Redija uma contestação sobre despejo por falta de pagamento, lado réu, TJMG"
How it works
The plugin registers one remote MCP server (HTTP transport). Your queries are sent to mcp.ragjur.ai, which searches the Elasticsearch corpus and returns grounded results. The server is stateless — no conversation or query data is persisted after the session ends.
⏱️ Response times: search and analytics tools answer in seconds;
similaridadeandestrategia_juizcan take up to ~30–60 s on hard queries. The plugin declares a 110 s tool timeout (aligned with the server's own cap) so hosts whose default tool timeout is 30 s don't abort these calls mid-flight.
Privacy & data
- Stateless MCP server (30-minute session TTL, nothing stored)
- Data processed in Brazil (Alibaba Cloud São Paulo region)
- LGPD-compliant: ragjur.ai/lgpd
- Privacy policy: ragjur.ai/privacidade
Support
- Site: ragjur.ai
- API docs: api.ragjur.ai
- Contact: [email protected]
License
MIT (this repository — plugin manifest and documentation). The RAGJur service is a commercial product of Beans Tech.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.