Provides a simple MCP server exposing a tool to retrieve current weather information for a given city using the Open-Meteo API.
MCP Poc implements a basic MCP server that offers a 'get-weather' tool. This tool, when provided with a city name, fetches and returns current weather data using the Open-Meteo API. The server communicates via stdin/stdout, making it suitable for integrations and automated testing. It utilizes the official MCP SDK and Zod for schema validation, providing a structured and reliable way to access weather information programmatically.
Key Features
01Communicates via stdin/stdout for easy integration
02Validates input using Zod
03Exposes a 'get-weather' tool for retrieving weather data
04Implements a simple MCP server using TypeScript
05Uses the official @modelcontextprotocol/sdk
062 GitHub stars
Use Cases
01Automated testing of MCP server implementations.
02Integrating weather data into other applications or services.
03Building custom weather-related tools or workflows.