ai.ragjur/mcp

السجل الرسمي الحكومة والقانون

Brazilian legal search and jurimetria: 115M+ court decisions from 90+ courts across 14 MCP tools.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http ai-ragjur-mcp 'https://mcp.ragjur.ai/mcp' --header 'x-api-key: <Optional alternative to OAuth 2.1: RAGJur API key (rj_…) created at https://app.ragjur.ai/painel/chaves. ChatGPT connectors do NOT use API keys — prefer OAuth (PKCE S256, scope ragjur:read), discovered via /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server (RFC 9728/8414, DCR at /oauth/register, Client ID Metadata Documents supported).>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "ai-ragjur-mcp": {
            "type": "http",
            "url": "https://mcp.ragjur.ai/mcp",
            "headers": {
                "x-api-key": "<Optional alternative to OAuth 2.1: RAGJur API key (rj_…) created at https://app.ragjur.ai/painel/chaves. ChatGPT connectors do NOT use API keys — prefer OAuth (PKCE S256, scope ragjur:read), discovered via /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server (RFC 9728/8414, DCR at /oauth/register, Client ID Metadata Documents supported).>"
            }
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. RAGJur — Claude Plugin
  2. Install
  3. What you get — 12 grounding tools
  4. How it works
  5. Privacy & data
  6. Support
  7. License

RAGJur — 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

ToolWhat it does
buscar_jurisprudenciaFull-text search over 112M+ decisions (BM25, filters by tribunal/class/date)
similaridadeSemantic search — decisions similar to a case or ementa (embeddings)
panorama_temaTopic overview: outcome rate, result categories, trend
divergencia_turmasDivergence between panels/chambers on a topic
evolucao_jurisprudencialHow a thesis evolved over time (quarterly)
predicao_resultadoStatistical outcome prediction with confidence interval
tempo_tramitacaoLitigation-time statistics (median, percentiles)
perfil_relatorJudge/rapporteur profile on a topic
dna_turmaStatistically characteristic terms of a panel
clusters_tematicosCluster a topic into sub-issues
estrategia_juizFull strategic analysis of a judge for a topic
verificar_citacaoAnti-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/draft tool — the synthesis layer is the host model, so answers come from the model you already pay for. (chat_juridico and gerar_peca remain 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; similaridade and estrategia_juiz can 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

License

MIT (this repository — plugin manifest and documentation). The RAGJur service is a commercial product of Beans Tech.

الأسئلة الشائعة

ما هو ai.ragjur/mcp؟

Brazilian legal search and jurimetria: 115M+ court decisions from 90+ courts across 14 MCP tools.

كيف أثبّت ai.ragjur/mcp؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http ai-ragjur-mcp 'https://mcp.ragjur.ai/mcp' --header 'x-api-key: <Optional alternative to OAuth 2.1: RAGJur API key (rj_…) created at https://app.ragjur.ai/painel/chaves. ChatGPT connectors do NOT use API keys — prefer OAuth (PKCE S256, scope ragjur:read), discovered via /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server (RFC 9728/8414, DCR at /oauth/register, Client ID Metadata Documents supported).>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج ai.ragjur/mcp إلى مفتاح API؟

نعم. يتطلب x-api-key، وتضبطها في إعداداته.

هل ai.ragjur/mcp مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون ai.ragjur/mcp؟

ينشره btechbrasil. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.