Brazilian CEP MCP
Used to make HTTP requests to the ViaCEP API for retrieving postal code information
Provides the runtime environment for the MCP server
Used as the programming language for type-safe development of the MCP server
Handles data validation of CEP (postal code) input and response schemas
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brazilian CEP MCPlook up the address for CEP 01001000"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# brazilian-cep-mcp
Descrição
Este é um servidor MCP (Model Context Protocol) que fornece ferramentas para consulta de informações de Códigos de Endereçamento Postal (CEP) brasileiros. O servidor utiliza a API ViaCEP para obter dados detalhados de endereços a partir do CEP informado.
Related MCP server: mcp-camara
Funcionalidades
Consulta de endereços completos através do CEP
Retorno de informações como logradouro, bairro, cidade, estado, região, DDD e código IBGE
Implementação do protocolo MCP para integração com agentes de IA
Instalação
# Clone o repositório
git clone https://github.com/guilhermelirio/brazilian-cep-mcp.git
cd brazilian-cep-mcp
# Instale as dependências
npm installComo usar
Compilação do projeto
Para compilar o código TypeScript:
npm run buildExecução do servidor
Para iniciar o servidor em modo de desenvolvimento:
npm run devPara iniciar o servidor após compilação:
npm startConsultando um CEP
O servidor disponibiliza a ferramenta consultar-cep que aceita um parâmetro:
cep: Código postal no formato de 8 dígitos numéricos (obrigatório)
Exemplo de uso:
{
"cep": "01001000"
}Resposta:
Endereço encontrado:
CEP: 01001-000
Logradouro: Praça da Sé
Complemento: lado ímpar
Bairro: Sé
Cidade: São Paulo
Estado: SP (São Paulo)
Região: Sudeste
DDD: 11
IBGE: 3550308Tecnologias utilizadas
TypeScript
Node.js
Axios para requisições HTTP
Zod para validação de esquemas
SDK do Model Context Protocol
Configuração Smithery
Este projeto está configurado para funcionar com a plataforma Smithery.ai, que facilita a distribuição e execução de servidores MCP.
Estrutura do projeto
brazilian-cep-mcp/
├── src/
│ └── index.ts # Código-fonte principal
├── dist/ # Código compilado
├── node_modules/ # Dependências
├── smithery.yaml # Configuração do Smithery
├── package.json # Configuração do projeto
├── tsconfig.json # Configuração do TypeScript
└── README.md # Este arquivoAutor
Guilherme Lirio Tomasi de Oliveira
Licença
Este projeto está licenciado sob a licença MIT - veja o arquivo LICENSE para mais detalhes.
Contribuições
Contribuições são bem-vindas! Sinta-se à vontade para abrir issues ou enviar pull requests.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityDmaintenanceEnables lookup of Brazilian addresses by CEP (postal code) using the ViaCEP API, returning formatted address information including street, neighborhood, city, and state.1
- AlicenseAqualityDmaintenanceAn MCP server that provides access to the Brazilian Chamber of Deputies open data API. It enables users to search for deputies, track their expenses, and query legislative information such as bills and API endpoints.6MIT
- AlicenseAqualityBmaintenanceProvides tools to query Brazilian CNPJ (company registration), CEP (postal codes), and currency exchange rates (USD and EUR) through an MCP server.3MIT
- Flicense-qualityCmaintenanceAn MCP server that provides a tool to query Brazilian postal codes (CEPs) via the ViaCEP API, returning address details such as street, neighborhood, city, and state.
Related MCP Connectors
MCP server for live, sourced Brazilian public data from the official IBGE APIs.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/guilhermelirio/brazilian-cep-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server