Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_QUERIESNoMaximum number of search queries (default: 10)10
MAX_RESULTSNoMaximum results per query (default: 5)5
MCP_API_KEYNoAPI key for REST endpoint authentication
MCP_HTTP_PORTNoHTTP server port (default: 3000)3000
MCP_TRANSPORTNoTransport mode: 'stdio' (default) or 'http'stdio
TAVILY_API_KEYYesTavily API key for web searches (required for cnpj_search and cnpj_intelligence tools). Get your key at https://tavily.com
CEP_API_BASE_URLNoCustom CEP API endpoint (default: OpenCEP)
CNPJ_API_BASE_URLNoCustom CNPJ API endpoint (default: OpenCNPJ)
MCP_DISABLE_RATE_LIMITNoDisable rate limiting (default: false)false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
cnpj_lookupC

Look up Brazilian company information by CNPJ number

cep_lookupA

Look up Brazilian address information by CEP postal code

cnpj_searchB

Search the web for information about Brazilian companies, CNPJ numbers, people, and more using Tavily or Perplexity.

This tool supports advanced search operators:

  • site:example.com - Search within a specific domain

  • intext:"exact phrase" - Find exact text in page body

  • intitle:keyword - Find keyword in page title

  • inurl:keyword - Find keyword in URL

  • filetype:pdf - Search for specific file types (pdf, xls, doc, etc.)

  • "exact phrase" - Search for exact phrase

  • keyword1 OR keyword2 - Search for either keyword

  • -exclude - Exclude a term from results

Common use cases:

  • Find company information: "CNPJ site:gov.br"

  • Search legal cases: "razao social site:jusbrasil.com.br"

  • Find documents: "CNPJ filetype:pdf"

  • Search social media: "company name site:linkedin.com"

  • Government records: "CNPJ site:transparencia.gov.br"

Examples:

  • cnpj_search({ query: "28526270000150 site:gov.br", max_results: 10 })

  • cnpj_search({ query: ""CRISTIANO AREDES" intext:CNPJ" })

  • cnpj_search({ query: "site:jusbrasil.com.br "AC SOLUCOES"" })

cnpj_intelligenceA

Intelligent automatic search about a Brazilian company using CNPJ.

This tool combines CNPJ lookup with automatic web search using intelligent dorks. It automatically:

  1. Looks up company data (razão social, sócios, etc.)

  2. Generates smart search queries (Google Dorks)

  3. Searches multiple categories: government, legal, news, documents, social, partners

  4. Returns consolidated results with company data + web findings

Perfect for: Due diligence, company research, background checks, investigations.

Provider options:

  • tavily (requires TAVILY_API_KEY env var)

  • perplexity (requires PERPLEXITY_API_KEY env var)

Note: Set TAVILY_API_KEY or PERPLEXITY_API_KEY on the server to enable web search queries.

sequentialthinkingA

A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens.

When to use this tool:

  • Breaking down complex problems into steps

  • Planning and design with room for revision

  • Analysis that might need course correction

  • Problems where the full scope might not be clear initially

  • Problems that require a multi-step solution

  • Tasks that need to maintain context over multiple steps

  • Situations where irrelevant information needs to be filtered out

Key features:

  • You can adjust total_thoughts up or down as you progress

  • You can question or revise previous thoughts

  • You can add more thoughts even after reaching what seemed like the end

  • You can express uncertainty and explore alternative approaches

  • Not every thought needs to build linearly - you can branch or backtrack

  • Generates a solution hypothesis

  • Verifies the hypothesis based on the Chain of Thought steps

  • Repeats the process until satisfied

  • Provides a correct answer

Parameters explained:

  • thought: Your current thinking step, which can include:

    • Regular analytical steps

    • Revisions of previous thoughts

    • Questions about previous decisions

    • Realizations about needing more analysis

    • Changes in approach

    • Hypothesis generation

    • Hypothesis verification

  • next_thought_needed: True if you need more thinking, even if at what seemed like the end

  • thought_number: Current number in sequence (can go beyond initial total if needed)

  • total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)

  • is_revision: A boolean indicating if this thought revises previous thinking

  • revises_thought: If is_revision is true, which thought number is being reconsidered

  • branch_from_thought: If branching, which thought number is the branching point

  • branch_id: Identifier for the current branch (if any)

  • needs_more_thoughts: If reaching end but realizing more thoughts needed

You should:

  1. Start with an initial estimate of needed thoughts, but be ready to adjust

  2. Feel free to question or revise previous thoughts

  3. Don't hesitate to add more thoughts if needed, even at the "end"

  4. Express uncertainty when present

  5. Mark thoughts that revise previous thinking or branch into new paths

  6. Ignore information that is irrelevant to the current step

  7. Generate a solution hypothesis when appropriate

  8. Verify the hypothesis based on the Chain of Thought steps

  9. Repeat the process until satisfied with the solution

  10. Provide a single, ideally correct answer as the final output

  11. Only set next_thought_needed to false when truly done and a satisfactory answer is reached

ibge_localidadesA

Query Brazilian geographic data from IBGE (Instituto Brasileiro de Geografia e Estatística).

Available queries:

  • estados: List all 27 Brazilian states

  • municipios: List all ~5,570 municipalities (supports optional nome/id filtering and page/limit pagination)

  • municipios_por_uf: List municipalities by state (requires UF code)

  • regioes: List the 5 macro-regions

No API key required.

transparencia_lookupB

Query the Brazilian Federal Government Transparency Portal (Portal da Transparência).

Available queries: contratos, licitacoes, convenios, servidores, sancoes. Requires a free API key from portaldatransparencia.gov.br.

ceis_cnep_lookupB

Search Brazil's government sanctions databases: CEIS (suspended companies), CNEP (punished under Anti-Corruption Law), and CEPIM (barred NGOs). Critical for compliance, ESG due diligence, and anti-corruption screening. Requires TRANSPARENCIA_API_KEY — falls back to manual check URLs without it.

pncp_licitacoesA

Browse published procurement notices via the PNCP (Portal Nacional de Contratações Públicas). To filter notices, pass modalidade_id, both publication dates, optional cnpj_orgao, and query as an empty string. For the legacy portal keyword search, provide query without modalidade_id. No API key required.

querido_diarioA

Search Brazilian municipal official gazettes (Diários Oficiais). Provided by Open Knowledge Brasil. Coverage depends on the municipality. No API key required. OSINT value: Find company mentions in government publications, contracts, sanctions, permits.

datajud_processosB

Search Brazilian court records via the CNJ Datajud Public API. Query lawsuits and legal proceedings across Brazilian tribunals. Requires DATAJUD_API_KEY. Supports 17+ tribunals.

oab_advogadoA

Search the Brazilian Bar Association (OAB) national lawyer registry (CNA). Verify lawyer credentials, registration status, and specializations. No API key required. OSINT value: Verify legal representatives, check lawyer standing.

bnmp_mandadosA

Search Brazil's National Arrest Warrant Database (BNMP — CNJ). Searches active and historical arrest warrants by name. May require CAPTCHA. OSINT value: Critical for background checks and criminal record verification.

procurados_lookupA

Search the Brazilian Ministry of Justice "Projeto Captura" federal wanted persons list. Searches all ~195 entries using fuzzy partial name matching. No API key required. OSINT value: Critical for background checks, due diligence, and security screening.

lista_suja_lookupB

Check if a company or person appears on Brazil's "Lista Suja" (slave labor blacklist). Maintained by MTE (Ministry of Labor). No API key required. OSINT value: Critical ESG/compliance indicator.

cpf_validateA

Validate a Brazilian CPF number using the mod-11 checksum algorithm. Returns validation status, formatted CPF, and fiscal region of origin. No API key required. Local computation only.

domain_whoisA

Look up domain registration data via RDAP. Supports .br domains (Registro.br) and international domains. No API key required. OSINT value: Verify company digital presence, registration dates, nameservers.

consumidor_reclamacoesA

Search consumer complaints for a Brazilian company via Consumidor.gov.br (SENACON). No API key required. Returns complaint volumes, resolution rates, satisfaction scores. OSINT value: Assess company reputation and customer service quality.

company_deep_profileB

Generate a comprehensive OSINT profile for a Brazilian company by orchestrating multiple data sources. Combines: CNPJ lookup, government transparency records, TCU consolidated certificates, court records, domain WHOIS, slave labor blacklist, and web search. This is the most powerful tool for company due diligence.

bacen_taxasB

Fetch Brazilian Central Bank (BCB) financial indicators and exchange rates. Available: selic (interest rate), ipca (inflation), dolar (USD/BRL), euro (EUR/BRL), cdi. No API key required. Returns time series data.

fipe_veiculosA

Look up Brazilian vehicle prices from the FIPE table. Search by FIPE code for pricing, or list brands by vehicle type. Via BrasilAPI. No API key required.

cnes_saudeB

Search Brazil's National Healthcare Facility Registry (CNES — DataSUS). Search facilities or professionals by name, CNES code, state, or municipality. No API key required.

strategic_osint_promptA

Generate strategic OSINT analysis prompts using predefined templates.

Available templates:

  • due_diligence: Complete risk analysis for partners/suppliers

  • competitor_analysis: Competitive landscape analysis

  • fraud_detection: Fraud risk scoring with red flag indicators

  • esg_compliance: Environmental, Social, and Governance audit

  • investment_screening: Pre-investment due diligence

Each template produces a structured prompt referencing all available MCP tools.

tcu_certidoesA

Query consolidated public integrity certificates for a Brazilian company (CNPJ) via TCU. Aggregates Licitantes Inidôneos (TCU), Improbidade Administrativa (CNJ/CNIA), CEIS, and CNEP in a single lookup. No API key required.

cnae_ncm_lookupB

Look up Brazilian economic activity classifications (CNAE via IBGE v2) and Mercosur goods nomenclature (NCM via BrasilAPI). For CNAE, pass codigo (2, 3, 4-5, or 7 digits) or termo for paginated class search. For NCM, pass codigo (e.g. '2710.12.59') or termo for paginated description search. No API key required.

sistema_financeiro_lookupA

Query Brazil's financial system registries via BrasilAPI: banks (COMPE/ISPB), Pix participants, and CVM brokers (corretoras). Supports direct single-item lookup (bank code or 14-digit broker CNPJ) and cached server-side filtering with pagination (default 25, max 50). No API key required.

feriados_ddd_lookupB

Check Brazilian national holidays / business days or verify DDD area codes against state (UF) and municipalities via BrasilAPI. Use uf_esperada with tipo='ddd' for registration anti-fraud consistency checks. No API key required.

bcb_olindaA

Query Brazilian Central Bank (BCB) Olinda OData APIs for PTAX exchange rates and Focus market expectations. Available queries:

  • ptax: Official PTAX buying and selling exchange rates for a target date (automatically walks back up to 7 days on weekends/holidays). Supports USD, EUR, GBP, JPY, CHF, CAD, AUD.

  • focus: Boletim Focus annual market expectations (IPCA, Selic, PIB Total, Câmbio, IGP-M) with optional reference year filter. No API key required.

ibge_indicadoresA

Query official demographic and economic indicators from IBGE Agregados v3 by UF (2-digit code) or municipality (7-digit code). Available indicators:

  • populacao: Estimated resident population (Agregado 6579, Variável 9324).

  • pib: Gross Domestic Product at current prices in thousand BRL (Agregado 5938, Variável 37).

  • todos: Queries both indicators in parallel and calculates estimated GDP per capita (BRL), reporting exact reference years used. No API key required.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Explorador de localidades do IBGEExplore regiões, estados e municípios e confira a fonte oficial.
Querido DiárioPesquise publicações nos diários oficiais municipais.
Indicadores do Banco CentralConsulte séries históricas de juros, inflação e câmbio.
Editais do PNCPConsulte publicações por período, modalidade e órgão.
Ficha por CNPJConsulte situação cadastral, CNAEs, endereço e provedor dos dados.

TDQS

B3.3/5.0

Scored across 29 tools

Disambiguation3/5

Most tools map to a distinct data source (CEP, OAB, BNMP, FIPE, CNES, Querido Diário, DataJud), so an agent can generally route correctly. However, four tools cover the same CNPJ space (cnpj_lookup, cnpj_search, cnpj_intelligence, company_deep_profile) differing mainly in depth, and tcu_certidoes overlaps ceis_cnep_lookup since it explicitly aggregates CEIS/CNEP; bacen_taxas and bcb_olinda also both return exchange rates. These overlapping clusters require careful reading of descriptions to avoid misselection.

Naming Consistency3/5

The dominant convention is a snake_case source_domain noun pattern (cnpj_lookup, tcu_certidoes, pncp_licitacoes, ibge_indicadores), which is readable and largely predictable. But verbs are applied inconsistently across that pattern (lookup vs search vs validate vs intelligence), and outliers like 'sequentialthinking', 'company_deep_profile', 'strategic_osint_prompt', and 'bcb_olinda' break the scheme.

Tool Count3/5

29 tools is heavy, but the server genuinely spans many independent Brazilian public-data registries (procurement, courts, health, vehicles, geography, sanctions, banking), so most tools earn their place. Still, the count is inflated by redundant pairs (bacen_taxas/bcb_olinda, tcu_certidoes/ceis_cnep_lookup, and the four CNPJ variants) that could be consolidated. This lands between 'well-scoped' and 'over-large'.

Completeness4/5

Coverage of the Brazilian OSINT/due-diligence domain is broad: company registries, sanctions, procurement, court records, gazettes, lawyer and warrant checks, health, vehicles, and economic indicators are all present, with an orchestrator (company_deep_profile) tying sources together. Gaps are minor — CPF-level only offers checksum validation with no record lookup, and there is no consolidated person-name search across registries or a CEP-to-coordinate/reverse-geocode path.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues