Weather Server MCP Server
@chaminda360
关于 Weather Server MCP Server
TypeScript-based MCP server that implements a weather information system.
基本信息
配置
工具
2Fetch current weather information
Update weather information
概览
What is Weather Server MCP Server?
It is a TypeScript-based MCP server that implements a weather information system. It demonstrates core MCP concepts by providing resources, tools, and prompts for fetching, updating, and summarizing weather data via an external API.
How to use Weather Server MCP Server?
Install dependencies with npm install, then rename .envexample to .env and set your OPENWEATHER_API_KEY. Build with npm run build. For Claude Desktop, add the server configuration to the claude_desktop_config.json file with the path to the built index.js. For development, use npm run watch for auto-rebuild.
Key features of Weather Server MCP Server
- Resources representing weather data with
weather://URIs and metadata fetch_weathertool to retrieve current weather for a locationupdate_weathertool to update weather data in server statesummarize_weatherprompt for generating structured weather summaries- JSON mime type for structured data access
- Integrates with the OpenWeather API via an API key
Use cases of Weather Server MCP Server
- Fetch current weather information for a given location
- Update weather data stored in the server state
- Generate a summary of current weather data for LLM consumption
- Demonstrate MCP resource, tool, and prompt concepts with a real API
FAQ from Weather Server MCP Server
What API key is required?
An OpenWeather API key, set in the .env file as OPENWEATHER_API_KEY.
How do I debug the server?
Use the MCP Inspector by running npm run inspector.
What transport does this server use?
MCP servers communicate over stdio.
How do I install it for Claude Desktop?
Add the server configuration to the Claude Desktop config file with the path to the built index.js.
媒体与设计 分类下的更多 MCP 服务器
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
Framelink Figma MCP Server
GLipsMCP server to provide Figma layout information to AI coding agents like Cursor
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
评论