# JurisRAG instructions for AI agents

JurisRAG is a remote MCP and REST service for public Brazilian judicial data.

1. Discover tools at `https://jurisrag-api.lcalado.chatgpt.site/api/mcp` with MCP `initialize` and `tools/list`.
2. Call `search_brazilian_court_cases` with at least the lowercase `tribunal` acronym.
3. If the server returns HTTP 402, read the `PAYMENT-REQUIRED` header, authorize US$0.01 USDC on Base and retry with `PAYMENT-SIGNATURE`.
4. Treat returned records as public-source data from CNJ DataJud, not legal advice.
5. Do not attempt to access sealed cases or bypass payment.

Machine contracts: `/openapi.json`, `/.well-known/mcp.json`, `/.well-known/agent.json`, `/.well-known/x402`, `/mcp-actions.json`, `/agent-permissions.json`, `/llms.txt` and `/llms-full.txt`.
