@dutradotdev/mcp-portal-transparencia-brasil
BMCP server package mcp-portal-transparencia-brasil
Install
agr install @dutradotdev/mcp-portal-transparencia-brasil --target claudeThis artifact does not publish files for Claude.
Document
{ "name": "mcp-portal-transparencia-brasil", "version": "1.0.5", "description": "MCP Server for Portal da Transparência API - Multi-step Call Planner. Provides intelligent query planning, data aggregation, and comprehensive API interaction capabilities for the Brazilian Government Transparency Portal, enabling efficient access to public expenditure data, government contracts, and transparency information via MCP protocol.", "main": "dist/src/index.js", "bin": { "mcp-portal-transparencia-brasil": "bin/mcp-portal-transparencia.js" }, "types": "dist/src/index.d.ts", "type": "module", "scripts": { "build": "tsc", "dev": "npx ts-node -r tsconfig-paths/register src/index.ts", "start": "node dist/src/index.js", "mcp-server": "node dist/src/mcp-server.js", "inspector": "npx @modelcontextprotocol/inspector --config mcp-inspector-config.json --server portal-transparencia", "inspector:direct": "npm run build && npx @modelcontextprotocol/inspector node dist/src/mcp-server.js", "test": "jest", "test:unit": "jest --testMatch='/tests/unit//.test.ts'", "test:integration": "jest --testMatch='/tests/integration//.test.ts'", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src//*.ts", "lint:fix": "eslint src//.ts --fix", "typecheck": "tsc --noEmit", "format": "prettier --write "src/**/.{ts,js,json}"", "format:check": "prettier --check "src//*.{ts,js,json}"", "clean": "rm -rf dist coverage temp_build", "docs": "typedoc", "prepublishOnly": "npm run build && npm run test:unit && npm run lint", "publish:patch": "npm version patch && npm publish", "publish:minor": "npm version minor && npm publish", "publish:major": "npm version major && npm publish", "prepare": "husky install" }, "keywords": [ "mcp", "mcp-server", "portal-da-transparencia", "api", "typescript", "brasil", "governo", "transparency", "government-api", "brazil", "openapi", "swagger", "api-client" ], "author": "Lucas Dutra", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/dutradotdev/mcp-portal-transparencia.git" }, "bugs": { "url": "https://github.com/dutradotdev/mcp-portal-transparencia/issues" }, "homepage": "https://github.com/dutradotdev/mcp-portal-transparencia#readme", "files": [ "dist", "bin", "LICENSE", "README.md" ], "engines": { "node": ">=18.0.0" }, "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", "@modelcontextprotocol/sdk": "^0.6.0", "axios": "^1.10.0", "dotenv": "^16.4.7", "handlebars": "^4.7.8", "node-fetch": "^3.3.2", "openapi-types": "^12.1.3", "openapi-typescript": "^7.4.2", "openapi-typescript-codegen": "^0.29.0", "swagger-parser": "^10.0.3", "task-master-ai": "^0.19.0", "winston": "^3.17.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.10.5", "@types/node-fetch": "^2.6.12", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "eslint": "^9.30.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-prettier": "^5.2.1", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.3.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "tsx": "^4.19.2", "typedoc": "^0.25.13", "typescript": "^5.7.3" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": [ "/src" ], "testMatch": [ "/tests//*.test.ts", "/tests//*.test.ts" ], "collectCoverageFrom": [ "src//.ts", "!src/**/.d.ts", "!src//index.ts", "!src/tests//.ts" ], "coverageDirectory": "coverage", "coverageReporters": [ "text", "lcov", "html" ], "moduleNameMapper": { "^@/(.)$": "/src/$1", "^@/clients/(.)$": "/src/clients/$1", "^@/core/(.)$": "/src/core/$1", "^@/utils/(.)$": "/src/utils/$1", "^@/types/(.)$": "/src/types/$1", "^@/config/(.)$": "/src/config/$1", "^@/logging/(.)$": "/src/logging/$1", "^@/errors/(.)$": "/src/errors/$1" }, "transform": { "^.+\.ts$": [ "ts-jest", { "tsconfig": "tsconfig.test.json" } ] } }, "lint-staged": { ".{ts,js}": [ "eslint --fix", "prettier --write" ], "*.{json,md}": [ "prettier --write" ] } }
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- warnType matchbest-effort: server code not analyzed
Whether the artifact is really the kind of thing its metadata claims it is.
- warnFreshnessstale (>1y)
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-dee081b047552026-08-06