# TCU Jurisprudência — how to use (mcp.ai)

Public search of the Brazilian Federal Court of Accounts (TCU) case law: keyword search across rulings (acórdãos), selected jurisprudence (enunciados) and binding summaries (súmulas), with summary, highlighted snippets, rapporteur and links to full text. Also lists the latest rulings. Platform-hosted, no credentials.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_tcu?ms=1781858820000`
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. `tcu_acordaos_recentes`).

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

### Endpoints
- `POST https://api.mcp.ai/api/tcu/acordaos/recentes` — Lista os acórdãos mais recentes do TCU (dados abertos oficiais), paginado, sem palavra-chave: sumário, relator, colegiado, data da sessão e links. Pra buscar por tema, use tcu_buscar.
  - body: { inicio?: integer, quantidade?: integer }
- `POST https://api.mcp.ai/api/tcu/buscar` — Busca textual (por palavra-chave) na jurisprudência do TCU. Escolha a base: 'acordaos' (entendimentos exarados em acórdãos), 'jurisprudencia' (enunciados da jurisprudência selecionada) ou 'sumulas'. R
  - body: { termo: string, base?: string, inicio?: integer, tamanho?: integer }

## Example prompts
- "Search TCU rulings on bid-rigging in procurement"
- "Which TCU binding summaries cover waiver of bidding?"
- "Show the latest TCU rulings"

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