mcpServer
If you are the rightful owner of mcpServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is an MCP server implementation based on mcp-go, focusing on weather-related functionalities using the HeWeather API.
The MCP Server is a specialized server implementation using the mcp-go framework, designed to handle weather-related functionalities. It leverages the HeWeather API to fetch and provide weather data. A unique feature of this server is its ability to annotate returned results by customizing the UnmarshalJSON method, which assigns annotation tags to each description field. This enhancement aids AI in accurately interpreting the results, albeit with a slight increase in token usage. The server supports two modes of operation: HTTP streaming (SSE) and inter-process communication (stdio), providing flexibility in deployment and usage.
Features
- Weather Data Retrieval: Utilizes the HeWeather API to fetch accurate weather information.
- Custom JSON Unmarshalling: Enhances result interpretation by annotating JSON fields.
- Flexible Transport Options: Supports both SSE and stdio for server communication.
- Configurable Client Setup: Allows detailed configuration through JSON for client-server interaction.
- Go Environment Integration: Seamlessly integrates with Go environment variables for execution.