Skip to main content
Glama

MCP-CEP

ViaCEP 공개 API를 사용하여 우편번호를 쿼리하는 MCP 서버입니다.
명령줄 확장 기능으로 Goose 와 호환됩니다.


👤 저자

웬델 바레토
https://github.com/wendellbigato


🚀 설치

1. 이 저장소를 복제합니다.

지엑스피1

게시할 때는 위의 URL을 실제 URL로 변경해 주시기 바랍니다.


2. 가상 환경 생성 및 활성화

python3.11 -m venv .venv
source .venv/bin/activate  # Linux/macOS
# ou
.venv\Scripts\activate.bat  # Windows

3. uv 또는 pip 사용하여 종속성을 설치합니다.

uv 사용 :

uv pip install -e ".[cli]"

또는 일반 pip를 사용하면:

pip install -e ".[cli]"

Related MCP server: cep-tools

🧩 Goose에서 확장 프로그램으로 설정하기

  1. 실행하다:

goose configure
  1. Add Extension 선택하세요

  2. Command-line Extension 선택

  3. 다음 필드를 채워주세요:

필드

값

확장자 이름

mcp-cep

실행 명령

/caminho/completo/para/uv --directory /caminho/para/mcp-cep run main.py

타임아웃

300

환경

(필요한 경우 비워두거나 사용자 정의)

which uv 와 pwd 사용하여 올바른 경로를 찾습니다.


✅ 구스에서 테스트하는 방법

설정 후 시작:

goose session --with-extension mcp-cep

다음과 같은 명령을 보냅니다.

Repita: Olá!
Qual o endereço do CEP 01001000?

🧰 사용 가능한 도구

  • echo(texto: str) : 보낸 텍스트를 반복합니다.

  • buscar_cep(cep: str) : ViaCEP를 통해 주소 정보를 쿼리합니다.


📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.

Available Tools

3 tools
buscar_cepB

Consulta informações de um CEP brasileiro usando a API ViaCEP.

Args:
    cep: Código de Endereçamento Postal no formato 01001000 ou 01001-000.

Returns:
    Um dicionário com informações de endereço como rua, bairro, cidade e estado.

Inputs: cep (required).

buscar_ceps_por_logradouroA

Busca todos os CEPs associados a um logradouro em uma cidade e estado.

Args:
    uf: Sigla do estado (ex: SP, RJ)
    cidade: Nome da cidade (ex: São Paulo)
    logradouro: Nome da rua, avenida, praça etc (ex: Praça da Sé)

Returns:
    Lista de dicionários com endereços que correspondem à busca.

Inputs: uf (required), cidade (required), logradouro (required).

echoB

Repete o texto enviado.

Inputs: texto (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation4/5

    The first two tools have clearly distinct purposes: buscar_cep queries by CEP number, while buscar_ceps_por_logradouro queries by address components. However, the echo tool is completely unrelated to the CEP domain, creating a minor ambiguity about the server's primary focus. The core CEP tools are well-differentiated.

    Naming Consistency3/5

    Two tools follow a consistent Portuguese verb_noun pattern (buscar_cep, buscar_ceps_por_logradouro), but the third tool (echo) breaks this pattern with an English name. The naming is readable but lacks full consistency across the set due to the language and pattern mismatch.

    Tool Count3/5

    Three tools is borderline for a CEP server. While the two core CEP tools provide basic lookup functionality, the inclusion of an unrelated echo tool makes the count feel artificially inflated. For a focused CEP service, 2-4 domain-specific tools would be more appropriate.

    Completeness3/5

    The server covers the essential CEP lookup operations: query by CEP and query by address components. However, there are notable gaps for a complete CEP service - no tools for address validation, reverse geocoding, or handling CEP ranges. The echo tool adds no value to the CEP domain coverage.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables querying detailed address information from Brazilian postal codes (CEPs) via the ViaCEP API, returning data such as street names, neighborhoods, cities, states, regions, and IBGE codes.
      2
      1
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for querying Brazilian postal codes (CEP) from the official Correios source, supporting read-only lookups via natural language in any MCP-compatible client.
      MIT