jusbrasil-mcp

jusbrasil-mcp is a skill for Claude Code, Codex from mcp-dir/jusbrasil-mcp. It costs 67 tokens per session (3,885 once invoked), scanned A, original, MIT.

A guide for connecting to a remote Brazilian legal-search API through MCP, the Model Context Protocol. It explains how to search public legal records by name, CPF, CNPJ, or case number and how to authenticate requests.

In plain words
What is it for?
Use it to query lawsuits, court publications, sanctions, municipal mentions, and case law through the Legal MCP service.
Why use it?
It removes the need to work out the API address, request format, authorization header, and response structure. It also explains what to report when the service returns an error or unexpected data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to query lawsuits, court publications, sanctions, municipal mentions, and case law through the Legal MCP service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mcp-dir/jusbrasil-mcp --skill jusbrasil-mcp
Clone the repo
git clone --depth 1 https://github.com/mcp-dir/jusbrasil-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jusbrasil-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp/github.svg)](https://agentmods.dev/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp)
Your own site
<a href="https://agentmods.dev/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp"><img src="https://agentmods.dev/badge/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jusbrasil-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp"><img src="https://agentmods.dev/badge/skills/mcp-dir/jusbrasil-mcp/jusbrasil-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.03885
Opus 5.5 $0.00027 $0.01554
Sonnet 5.5 $0.00013 $0.00777
Haiku 4.5 $0.00007 $0.00388

Measured 2mo ago against content hash 6e8632823531, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jusbrasil-mcp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://api.mcp.ai/api/legal/cnpj/consultar \
skills/jusbrasil-mcp/SKILL.md · 262 lines

How it starts

The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Você tem acesso à Legal MCP (alternativa ao Jusbrasil) REST API na MCP.AI.

Alternativa ao Jusbrasil pensada para IA. Descubra processos por nome, CPF, CNPJ ou número CNJ e monte um raio-X jurídico consolidado: processos, publicações no DJEN, sanções, menções municipais e jurisprudência — fontes públicas oficiais, sem login. Não afiliado ao Jusbrasil.

Base URL

https://api.mcp.ai/api/legal

Todo endpoint é um POST na Base URL + o path abaixo. Os parâmetros vão no corpo JSON.

Autenticação

Inclua em toda request:

Authorization: Bearer sk_live_...
Content-Type: application/json

Gere sua chave em https://app.mcp.ai/settings/api-keys (workspace API key sk_live_…, não expira, revogável). Uma única chave serve pra todos os seus MCPs.

Formato de resposta

{ "ok": true, "tool": "<tool_id>", "result": <payload> }

Exemplo cURL

curl -X POST https://api.mcp.ai/api/legal/cnpj/consultar \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"cnpj":"..."}'

Reportar problemas

Se um endpoint retornar erro, vazio ou dado inesperado, reporte (não desista calado): POST /api/legal/report com { "message": "...", "context"?: "...", "conversation"?: [...] }. Isso notifica o time da MCP.AI.

Endpoints (20)

cnpj_consultar

Consulta cadastral de um CNPJ (grátis): razão social, nome fantasia, situação cadastral, CNAE principal, porte, município/UF e SÓCIOS (QSA). (POST /api/legal/cnpj/consultar)

Parâmetro Tipo Obrigatório Descrição
cnpj string Sim CNPJ (14 dígitos), com ou sem máscara.
cnpj_processos

DESCOBERTA por CNPJ: resolve o CNPJ em razão social (e sócios) e busca os processos por NOME no Diário (DJEN) — grátis, com número de processo completo. (POST /api/legal/cnpj/processos)

Parâmetro Tipo Obrigatório Descrição
cnpj string Sim CNPJ (14 dígitos), com ou sem máscara.
incluir_socios boolean Não Se true, também busca os processos de cada sócio (QSA). Default false.

Read the full file on GitHub · 262 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 262 lines · 0 tokens per session scan A 6e8632823531

Subscribe to this mod's changes

jusbrasil-mcp is a skill published in the GitHub repository mcp-dir/jusbrasil-mcp (6 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 3,885 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

jusbrasil-mcp compared with skills from other repositories

jusbrasil-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jusbrasil-mcpmcp-dir/jusbrasil-mcpSkill62mo agoMITA67Claude Code, Codex
fto-triageanthropics/claude-for-legalSkill9.9k3d agoApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill9.9k3d agoApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill19k3d agoMITA49Claude Code
terms-of-servicegenspark-ai/genofficeSkill12kyesterdayApache-2.0A32Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.7k7d agoApache-2.0A57Claude Code, Codex
gesellschaftsrechtliche-satzungen-agbKlotzkette/claude-fuer-deutsches-rechtSkill1.8kyesterdayApache-2.0A69Claude Code