Minha CNH
Server Details
Brazilian CNH reports, traffic-violation lookup and points calculator for AI agents.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Most tools target clearly distinct actions, and the descriptions explicitly explain when to use each (e.g. get_report vs wait_for_report vs find_report_by_external_ref, get_usage vs get_credit_balance). The only mild overlap is the three separate report-retrieval paths, which an agent must read carefully to choose correctly, but each has a stated use case.
All twelve tools follow a consistent verb_noun snake_case pattern (get_report, list_reports, request_report, calculate_points, lookup_violation_code). The one Portuguese-named tool, ask_doutor_multas, still fits the verb-object convention.
Twelve tools is well within the ideal range and each earns its place: core report lifecycle, credit/usage accounting, consent flow, and free supporting lookups. No obvious filler or redundant tools.
The report lifecycle is thoroughly covered (request, wait, get, list, recover by external ref), plus consent, billing/usage, docs, and legal lookups. Minor gaps: no webhook subscription management despite webhooks being the recommended production delivery pattern, and no report cancellation.
Available Tools
12 toolsask_doutor_multasARead-onlyInspect
Ask a general Brazilian traffic-law question, answered with retrieval over the CTB and state legislation. Generic legal information only — it knows no specific driver or report; do not include CPF or other personal data in the question, and every answer carries a disclaimer that it is not legal advice. Free of charge, but rate-limited per organization (a 429 error carries retryAfter).
Inputs: question (required), state, reportId.
calculate_pointsARead-onlyInspect
Calculate the CNH points situation under Lei 14.071/2020: the applicable suspension threshold (40, or 30 with one gravissima, or 20 with two or more; always 40 for EAR drivers), remaining margin, percentage used, and risk level. currentPoints is the SUM of points in the rolling 12-month window and gravissimasCount the number of gravissima violations in that same window (e.g. taken from a delivered report's diagnosis). If that diagnosis has no points and its allAlerts carries fines_unverified, the points were NOT verified — do not call this with 0 or present the driver as having no points. Free of charge.
Inputs: currentPoints (required), gravissimasCount (required), isEAR.
find_report_by_external_refARead-onlyInspect
Recover a report using your own externalRef (the idempotency key you passed to request_report) — the recovery path when you lost the reportId, e.g. after a crash or a timed-out call. Returns the most recent matching report for your organization, in the same shape and with the same caveats as get_report (incl. fines_unverified). Free of charge.
Inputs: externalRef (required).
get_credit_balanceARead-onlyInspect
Current credit balance for the organization, in centavos (prepaid; organizations under contract may have a credit line). creditLineLimit is the negative floor the balance may reach before new reports are blocked (0 = no credit line). Call this after a 402 from request_report: a balance at the floor means it is exhausted — ask your organization admin to top up in the API settings; retrying will not succeed. With a cnh_test_ key the result is synthetic (sandbox: true): sandbox reports never charge, so its 402 comes only from the sandbox's 402 test CPF.
Inputs: no named parameters.
get_reportARead-onlyInspect
Fetch a CNH report by id for the authenticated organization. status PROCESSING with diagnosis null means the report is still being generated — a normal state, not an error; check again later or use wait_for_report. A report from another organization returns not-found. If diagnosis.allAlerts contains fines_unverified, points and fines were NOT verified — never report them as zero or as "no fines"; the verdict (diagnosis.status) still holds. When holderConsent.status is required, the holder must authorize the lookup of the data in holderConsent.covers (points, fines) for the state in holderConsent.stateCode: offer request_holder_consent.
Inputs: reportId (required).
get_usageARead-onlyInspect
Report-API usage in the current per-minute and per-day windows against the organization's configured rate limits, plus the price per report in centavos. Use it to pace request_report calls; when any tool returns a 429 error, wait the retryAfter seconds it carries before retrying. With a cnh_test_ key it counts sandbox reports only, at price 0.
Inputs: no named parameters.
list_reportsARead-onlyInspect
List recent reports for the organization, most recent first. CPF is masked — use get_report for the full report. status filters client-side over the fetched page (fetch a larger limit if a status filter returns fewer rows than expected).
Inputs: limit (required), status.
lookup_violation_codeARead-onlyInspect
Look up a Brazilian RENAINF traffic-violation code (e.g. '5010', or with desdobramento '5029-1'). Returns the violation description, CTB article, points, severity category, multiplier, responsible party, and autosuspension info. The dataset carries no fine amounts (R$). Free of charge.
Inputs: code (required), desdob.
request_holder_consentAInspect
Get the link a licence holder opens to authorize the lookup of data their issuing state releases only with consent (today SP points and fines, on gov.br). Use it when a report's holderConsent.status is required, declined, denied, expired or revoked; holderConsent.stateCode and covers say which state and what the consent releases. Hand the url to the user so they send it to the holder. The link is valid 7 days; calling again issues a new one and the previous link stops working. After the holder authorizes, the same report is updated (holderConsent.status becomes active; check it with get_report). Never call it for a report whose holderConsent is null or active.
Inputs: reportId (required).
request_reportAInspect
Request a CNH report for a Brazilian CPF; consumes one credit per new report. Returns immediately with a reportId — delivery is asynchronous (typically ~5 minutes): webhooks are the production pattern; use wait_for_report or poll get_report in interactive sessions. When retrying a logical request, reuse the SAME externalRef (idempotent per CPF+externalRef for 1 hour) — a fresh externalRef per retry attempt defeats idempotency and bills again. On a 402 error the credit line is exhausted: check get_credit_balance and contact your organization admin (not retryable); on a 429, wait the returned retryAfter seconds before retrying.
Inputs: cpf (required), externalRef.
search_docsARead-onlyInspect
Search the Minha CNH integration docs (API, webhooks, MCP, events). Returns up to 5 pages, each with a title, an excerpt and a markdownUrl you can fetch for the page as plain Markdown. Free of charge.
Inputs: query (required).
wait_for_reportARead-onlyInspect
Wait (bounded) for a report to finish and return it. Median delivery is around 190s, so the default 120s timeout returns {status:'PROCESSING', pollAfterSeconds} for most reports — pass timeoutSeconds: 240 for the best single-call odds, and prefer the webhook when you cannot afford to poll. Timing out is a normal outcome here, not an error: wait pollAfterSeconds, then call this tool again or use get_report. With a cnh_test_ key the wait is capped at 30s — sandbox reports are prompt or scheduled, so poll again as told. Does not consume credits. The returned report has the same shape and caveats as get_report (incl. fines_unverified).
Inputs: reportId (required), timeoutSeconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Checks the status of a person's driver's license (CNH) from the CPF. Built for the holder to check t
Brazilian company data & sanctions screening for AI agents. Certified. Pay-per-call x402.
DNIT: Traffic Fines (CNPJ), official-source lookup. Platform-hosted, pay per query with prepaid cred
SENATRAN: Download Infração, official-source lookup. Platform-hosted, pay per query with prepaid cre
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables users to query public Brazilian vehicle and traffic data from official sources, including vehicle debts (IPVA, licensing, open fines), federal infractions by plate/RENAVAM, vehicles registered to an owner, and driver's license status.MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Brazilian traffic fine tickets (boletos de infração) from SENATRAN official source, read-only, via a single MCP tool for AI assistants.MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying traffic fines from São Paulo city hall, providing read-only access via natural language.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to query Brazilian public data such as CEP, CNPJ, banks, holidays, business days, FIPE vehicle prices, DDD, IBGE municipalities, .br domains, and ISBN, with read-only tools and offline document validation.1461 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.