# tribunal_tjsp_pedido_civel — how to use (mcp.ai)

Tribunal TJSP: Certificate Cível de 1º Grau, 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_tjsp_pedido_civel?ms=1787191440000`
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_tjsp_pedido_civel_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/tribunal_tjsp_pedido_civel`
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_tjsp_pedido_civel/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/tribunal_tjsp_pedido_civel/consultar` — Tribunal TJSP: Certidão Cível de 1º Grau, 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 
  - body: { cpf?: string, cnpj?: string, nome?: string, razao_social?: string, instancia?: string, email: string, finalidade: string, pais?: string, uf?: string, municipio?: string, login_cpf?: string, login_senha?: string, pkcs12_cert?: string, pkcs12_pass?: string }

## Example prompts
- "Look up Tribunal TJSP: Certificate Cível de 1º Grau"

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