MCP.so
Sign In

Brazilian PEP (Politically Exposed Person)

@williamoliv

About Brazilian PEP (Politically Exposed Person)

An MCP (Model Context Protocol) server that provides access to Brazilian PEP (Politically Exposed Persons) and federal public servants data through the Porta da Transparência API.

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

williamoliv

Submitted by

Will

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "brazilian-pep": {
      "command": "python",
      "args": [
        "mcp_server.py"
      ],
      "env": {
        "PORTAL_TRANSPARENCIA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Brazilian PEP (Politically Exposed Person)?

An MCP server that provides access to Brazilian PEP (Politically Exposed Persons) and federal public servants data through the Porta da Transparência API.

How to use Brazilian PEP (Politically Exposed Person)?

Create a .env file with your PORTAL_TRANSPARENCIA_API_KEY, then run python mcp_server.py. Query the server with natural language requests such as "Check if CPF 123.456.789-00 is a PEP" or "Search for servers named Silva in the Ministry of Economy".

Key features of Brazilian PEP (Politically Exposed Person)

  • Search PEPs by CPF, name, function, agency, or date ranges
  • Search federal executive branch servers (civil and military)
  • Query server remuneration data
  • Search servers aggregated by agency
  • Query functions and positions of trust
  • Secure API key authentication

Use cases of Brazilian PEP (Politically Exposed Person)

  • Verify if a CPF belongs to a politically exposed person
  • Find federal servants by name within a specific agency
  • Retrieve remuneration details for a server in a given month
  • List all PEPs associated with a particular agency
  • Search available functions and positions of trust

FAQ from Brazilian PEP (Politically Exposed Person)

Do I need an API key to use this system?

Yes, an API key is required. Get one at https://www.portaldatransparencia.gov.br/ (a Brazilian CPF is needed to create an account).

How do I configure the API key?

Set it in a .env file in the project root as PORTAL_TRANSPARENCIA_API_KEY=your_key_here. Never commit the key to version control.

What happens if a search returns no records?

Verify the CPF format (Brazilian document numbers are automatically cleaned) and confirm the person exists. If the issue persists, check the API status and your internet connection.

Where does the data come from?

The data is retrieved from the official Porta da Transparência API (https://api.portaldatransparencia.gov.br/swagger-ui/index.html).

Are both formatted and unformatted CPFs accepted?

Yes. Both "123.456.789-00" and "12345678900" are equivalent and will be processed correctly.

Comments

More Other MCP servers