Practice Js
0
Provides weather information tools for AI assistants via a Model Context Protocol (MCP) server implementation in TypeScript.
Acerca de
This project demonstrates how to create an MCP server that exposes weather-related tools to Large Language Models (LLMs). The server provides a `fetch-weather` tool that retrieves current weather data and forecasts for any city using the Open-Meteo API.
Características Principales
- MCP Protocol: Compatible with AI assistants that support the Model Context Protocol
- TypeScript: Fully typed implementation for better development experience
- Weather Tool: Fetch current weather conditions and forecasts for any city
- Input Validation: Uses Zod for robust input/output validation
- 0 GitHub stars
Casos de Uso
- Integrating real-world data retrieval capabilities into Large Language Models (LLMs).
- Serving as an example or boilerplate for developing custom MCP servers with external API integrations.
- Enabling AI assistants to access real-time weather information for any city.