Practice Js
Provides weather information tools for AI assistants via a Model Context Protocol (MCP) server implementation in TypeScript.
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.
주요 기능
01MCP Protocol: Compatible with AI assistants that support the Model Context Protocol
02TypeScript: Fully typed implementation for better development experience
03Weather Tool: Fetch current weather conditions and forecasts for any city
04Input Validation: Uses Zod for robust input/output validation
050 GitHub stars
사용 사례
01Integrating real-world data retrieval capabilities into Large Language Models (LLMs).
02Serving as an example or boilerplate for developing custom MCP servers with external API integrations.
03Enabling AI assistants to access real-time weather information for any city.