# tribunal_tjrj_processo — how to use (mcp.ai)

Tribunal TJRJ: Court Case, official-source lookup. Platform-hosted, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_tribunal_tjrj_processo?ms=1787191320000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `tribunal_tjrj_processo_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/tribunal_tjrj_processo`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/tribunal_tjrj_processo/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/tribunal_tjrj_processo/consultar` — Tribunal TJRJ: Processo, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais b
  - body: { cpf?: string, cnpj?: string, oab?: string, nome_advogado?: string, origem?: string, comarca_regional?: string, competencia?: string, ano_inicial?: string, ano_final?: string, numero_processo?: string }

## Example prompts
- "Look up Tribunal TJRJ: Court Case"

## More
- Page: https://mcp.ai/tribunal_tjrj_processo
- Agent spec (llms.txt): https://mcp.ai/tribunal_tjrj_processo/llms.txt
- Postman collection: https://mcp.ai/tribunal_tjrj_processo/postman.json
