# tribunal_tse_certidao — how to use (mcp.ai)

Tribunal TSE: Certificate de Quitação Eleitoral, 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_tse_certidao?ms=1787194080000`
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_tse_certidao_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/tribunal_tse_certidao/consultar` — Tribunal TSE: Certidão de Quitação Eleitoral, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fonte
  - body: { name: string, birthdate: string, cpf?: string, titulo_eleitoral?: string, mother?: string, father?: string }

## Example prompts
- "Look up Tribunal TSE: Certificate de Quitação Eleitoral"

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