MCP Poc
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.
主な機能
- Communicates via stdin/stdout for easy integration
- Validates input using Zod
- Exposes a 'get-weather' tool for retrieving weather data
- Implements a simple MCP server using TypeScript
- Uses the official @modelcontextprotocol/sdk
- 2 GitHub stars
ユースケース
- Automated testing of MCP server implementations.
- Integrating weather data into other applications or services.
- Building custom weather-related tools or workflows.