What does Exemplo de Servidor MCP do?
It is an MCP server that exposes two tools (`get-alerts` and `get-forecast`) to fetch weather alert and forecast data from the US National Weather Service API.
@gabrielfroes
Basic information
Modelo de Servidor MCP baseado na documentação oficial
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-sample": {
"command": "node",
"args": [
"build/main.js"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Exemplo de Servidor MCP is a sample implementation of a Model Context Protocol (MCP) server built with Node.js/TypeScript. It provides two tools for retrieving weather information from the US National Weather Service (NWS) API: get-alerts for active weather alerts by state code, and get-forecast for weather forecasts by geographic coordinates. This project is intended for educational purposes and demonstrates how to build an MCP server with external API integration and data validation.
Install by cloning the repository, running npm install and npm run build. After building, start the server with node build/main.js or, if linked as a binary, with weather. The server listens on stdio and accepts MCP requests.
get-alerts and get-forecastIt is an MCP server that exposes two tools (`get-alerts` and `get-forecast`) to fetch weather alert and forecast data from the US National Weather Service API.
Node.js and npm are required. After installing dependencies with `npm install`, the server is built with `npm run build` and runs on Node.js.
It uses stdio transport as defined by the MCP SDK (`@modelcontextprotocol/sdk`). The server reads requests from standard input and writes responses to standard output.
No authentication is mentioned. The NWS API used does not require an API key for these endpoints.
All weather data is fetched live from the public National Weather Service (NWS) API. No local data is stored or cached by the server.
Painless E2E Automation for Mobile and Web
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments