Brazilian CNH reports, traffic-violation lookup and points calculator for AI agents.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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).
Free-text question about Brazilian traffic law; do not include CPF or personal data.
Reserved for a future state-biased retrieval mode; currently ignored.
Reserved for a future report-grounded mode; ignored in this version.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http minha-cnh https://minhacnh.doutormultas.com.br/api/mcp
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).
| Argument | Type | Description |
|---|---|---|
| state | string | Reserved for a future state-biased retrieval mode; currently ignored. |
| question* | string | Free-text question about Brazilian traffic law; do not include CPF or personal data. |
| reportId | string | Reserved for a future report-grounded mode; ignored in this version. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"question"
],
"properties": {
"state": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Reserved for a future state-biased retrieval mode; currently ignored."
},
"question": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Free-text question about Brazilian traffic law; do not include CPF or personal data."
},
"reportId": {
"type": "string",
"description": "Reserved for a future report-grounded mode; ignored in this version."
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| isEAR | boolean | Whether the driver has EAR (drives professionally); EAR keeps the limit at 40. |
| currentPoints* | integer | Sum of all violation points in the rolling 12-month window (how Lei 14.071 counts them). |
| gravissimasCount* | integer | How many gravissima violations are in that window. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"currentPoints",
"gravissimasCount"
],
"properties": {
"isEAR": {
"type": "boolean",
"description": "Whether the driver has EAR (drives professionally); EAR keeps the limit at 40."
},
"currentPoints": {
"type": "integer",
"maximum": 200,
"minimum": 0,
"description": "Sum of all violation points in the rolling 12-month window (how Lei 14.071 counts them)."
},
"gravissimasCount": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "How many gravissima violations are in that window."
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| externalRef* | string | The externalRef you supplied on request_report. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"externalRef"
],
"properties": {
"externalRef": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The externalRef you supplied on request_report."
}
},
"additionalProperties": false
}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.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| reportId* | string | The reportId returned by request_report. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reportId"
],
"properties": {
"reportId": {
"type": "string",
"description": "The reportId returned by request_report."
}
},
"additionalProperties": false
}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.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}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).
| Argument | Type | Description |
|---|---|---|
| limit* | integer | |
| status | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"status": {
"enum": [
"PROCESSING",
"DELIVERED",
"ERROR"
],
"type": "string"
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| code* | string | RENAINF violation code, e.g. '5010' or '5029-1'. |
| desdob | integer | Optional desdobramento variant number. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 16,
"minLength": 1,
"description": "RENAINF violation code, e.g. '5010' or '5029-1'."
},
"desdob": {
"type": "integer",
"maximum": 99,
"minimum": 0,
"description": "Optional desdobramento variant number."
}
},
"additionalProperties": false
}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`.
| Argument | Type | Description |
|---|---|---|
| reportId* | string | The reportId of a report whose holderConsent is not null (from request_report or get_report). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reportId"
],
"properties": {
"reportId": {
"type": "string",
"description": "The reportId of a report whose holderConsent is not null (from request_report or get_report)."
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| cpf* | string | Brazilian CPF, 11 digits (formatting is ignored). |
| externalRef | string | Your stable reference for this logical request (e.g. your order or driver id); idempotency key per CPF for 1 hour. Reuse the SAME value when retrying — never generate a fresh one per attempt. Also lets you recover the report later via find_report_by_external_ref. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cpf"
],
"properties": {
"cpf": {
"type": "string",
"description": "Brazilian CPF, 11 digits (formatting is ignored)."
},
"externalRef": {
"type": "string",
"maxLength": 255,
"description": "Your stable reference for this logical request (e.g. your order or driver id); idempotency key per CPF for 1 hour. Reuse the SAME value when retrying — never generate a fresh one per attempt. Also lets you recover the report later via find_report_by_external_ref."
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| query* | string | What to look for, e.g. 'assinatura webhook'. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"minLength": 2,
"description": "What to look for, e.g. 'assinatura webhook'."
}
},
"additionalProperties": false
}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`).
| Argument | Type | Description |
|---|---|---|
| reportId* | string | The reportId returned by request_report. |
| timeoutSeconds | integer | Max seconds to wait (default 120, hard cap 240). Roughly a third of reports finish inside 120s and about three fifths inside 240s, so even the cap times out sometimes. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reportId"
],
"properties": {
"reportId": {
"type": "string",
"description": "The reportId returned by request_report."
},
"timeoutSeconds": {
"type": "integer",
"maximum": 240,
"minimum": 1,
"description": "Max seconds to wait (default 120, hard cap 240). Roughly a third of reports finish inside 120s and about three fifths inside 240s, so even the cap times out sometimes."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 30, 2026.