I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

weather-server
TypeScript-based MCP server that implements a weather information system.
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
Weather Server MCP Server
Test weather server tool
This is a TypeScript-based MCP server that implements a weather information system. It demonstrates core MCP concepts by providing:
- Resources representing weather data with URIs and metadata
- Tools for fetching and updating weather information
- Prompts for generating weather summaries
Features
Resources
- List and access weather data via
weather://
URIs - Each weather entry has a location, temperature, and metadata
- JSON mime type for structured data access
Tools
-
fetch_weather
- Fetch current weather information- Takes location as a required parameter
- Retrieves weather data from an external API
-
update_weather
- Update weather information- Takes location and new weather data as required parameters
- Updates the weather data in server state
Prompts
-
summarize_weather
- Generate a summary of the current weather data- Includes all weather entries as embedded resources
- Returns structured prompt for LLM summarization
Development
Install dependencies:
npm install
Rename .envexample
to .env
:
mv .envexample .env
Update OPENWEATHER_API_KEY
in the .env
file:
OPENWEATHER_API_KEY=Your_Own_OpenWeather_API_KEY
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"weatherserver": {
"command": "/path/to/weatherserver/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
相关推荐
Converts Figma frames into front-end code for various mobile frameworks.
I find academic articles and books for research and literature reviews.
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Confidential guide on numerology and astrology, based of GG33 Public information
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/suhail-ak-s/mcp-typesense-server
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.
Reviews

user_d8YG8mlK
Weather-server by chaminda360 is a fantastic tool! As an MCP app user, its accuracy and user-friendly interface stand out. It effortlessly provides real-time weather updates, making it an essential for anyone who needs reliable weather data. Highly recommend checking it out at the provided GitHub link!