MCP server · Org-owned · Audited from source
Brasil MCP server
by mcp-brasil/mcp-brasilMIT licenceAudited 23 Sep 2026 · source a53cf2c46ad0
Is it safe? With care — CAUTION, grade C (74/100). It exposes 10 tools: 10 read, 0 write and 0 destructive. The audit recorded 12 findings (0 critical, 0 high, 9 medium, 3 low). Maintainer's description: MCP Server para 70 APIs públicas brasileiras
Cite
Cite this page
ModelsAtlas. “Brasil MCP server (mcp-brasil/mcp-brasil)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/mcp-brasil/brasil-2
Copy of mcp/jxnxts/brasil: identical text; the original is the page to read and cite.
Trust audit
Audit 0.4.1 · full source read 23 Sep 2026
12 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemUndeclared4 observations not in its description
- NetworkDeclared5 observations
- ShellDeclared5 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 11 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
mcp-brasilOrganizationAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-brasil, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push3 days agoActivity of the repository when we read it.
- Source commit reada53cf2c46ad0The audit covers exactly this commit, read on 23 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory10 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (12)
Sorted by severity
MEDIUMCode injectioncode.dynamic_import · src/mcp_brasil/_shared/batch.py:45
pkg = importlib.import_module(base)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/mcp_brasil/_shared/batch.py:61
mod = importlib.import_module(f"{module_path}.tools")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/mcp_brasil/_shared/datasets/registry.py:35
package = importlib.import_module(package_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/mcp_brasil/_shared/datasets/registry.py:46
module = importlib.import_module(full_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMCode injectioncode.dynamic_import · src/mcp_brasil/_shared/feature.py:130
package = importlib.import_module(package_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.destructive · scripts/refresh_anac_tarifas.py:142
shutil.rmtree(extract_dir, ignore_errors=True)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.destructive · scripts/refresh_anac_tarifas.py:193
shutil.rmtree(tmp, ignore_errors=True)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.destructive · src/mcp_brasil/_shared/datasets/loader.py:445
shutil.rmtree(ephemeral_dir, ignore_errors=True)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.system_paths · Dockerfile:31
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · scripts/refresh_anac_tarifas.py:158
"schema_hash": hashlib.sha1(
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · tests/datasets/spu_siapa/test_integration.py:76
decoded = codecs.decode(raw, source_encoding)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · CHANGELOG.md:374
- Load .env file automatically via dotenv
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
10 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
buscar_focos | read | Busca focos de queimadas detectados por satélite no Brasil. |
consultar_serie | read | Consulta série temporal. |
executar_lote | read | Executa múltiplas tools em uma única chamada, em paralelo. |
hidden_tool | read | Tool escondida. |
listar_bancos | read | Lista todos os bancos brasileiros registrados no Banco Central. |
listar_datasets_disponiveis | read | Lista os datasets locais (ADR-004) disponíveis e seu estado de cache. |
listar_estados | read | Lista estados brasileiros. |
listar_features | read | Lista todas as features (APIs) disponíveis no mcp-brasil. |
planejar_consulta | read | Cria um plano de execução para consultas complexas. |
recomendar_tools | read | Recomenda tools relevantes a partir de uma pergunta em linguagem natural. |
Install
audited commit a53cf2c
Read the findings first. The most severe is Code injection (medium) at src/mcp_brasil/_shared/batch.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit a53cf2c only.
claude mcp add mcp-brasil --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env AUTHKIT_DOMAIN=${AUTHKIT_DOMAIN} --env AUTHKIT_REQUIRED_SCOPES=${AUTHKIT_REQUIRED_SCOPES} --env AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET} -- uvx mcp-brasil{
"mcpServers": {
"mcp-brasil": {
"command": "uvx",
"args": [
"mcp-brasil"
],
"env": {
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"AUTHKIT_DOMAIN": "${AUTHKIT_DOMAIN}",
"AUTHKIT_REQUIRED_SCOPES": "${AUTHKIT_REQUIRED_SCOPES}",
"AZURE_CLIENT_SECRET": "${AZURE_CLIENT_SECRET}"
}
}
}
}The command does not pin a version; the audit covers commit a53cf2c46ad0. Transport: streamable-http. Reads these environment variables: ANTHROPIC_API_KEY, AUTHKIT_DOMAIN, AUTHKIT_REQUIRED_SCOPES, AZURE_CLIENT_SECRET, BRAPI_TOKEN, DATAJUD_API_KEY, GITHUB_CLIENT_SECRET, GOOGLE_CLIENT_SECRET and 4 more. Give it the narrowest token it needs.
Audit history
- !CAUTION C 74 / 100
Source changed, verdict held ·
a53cf2c46ad0
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Brasil MCP server
What is the Brasil MCP server?
What tools does Brasil expose?
Is Brasil safe to connect to an agent?
What credentials does Brasil need?
How does Brasil run?
How current is this page?
Sources
- mcp-brasil/mcp-brasil on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit a53cf2c46ad0Observed · 23 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Brasil MCP server?
- What tools does Brasil expose?
- Is Brasil safe to connect to an agent?