What API key is required?
Weather requires an OpenWeatherMap API key, set via the `OPENWEATHER_API_KEY` environment variable. You can obtain a free key from openweathermap.org.
@X-shuffle
个基于Go语言开发的天气查询MCP(Model Context Protocol)服务器,提供实时和未来天气信息查询功能。
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather-mcp-server": {
"command": "go",
"args": [
"run",
"cmd/server/main.go"
],
"env": {
"OPENWEATHER_API_KEY": "your_openweather_api_key_here"
},
"cwd": "/path/to/weather-mcp-server"
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Weather is a Go-based MCP (Model Context Protocol) server that provides real-time weather information. It integrates with the OpenWeatherMap API and is intended for developers who want to add weather queries to their MCP-enabled applications.
To use Weather, obtain an OpenWeatherMap API key, set it as the environment variable OPENWEATHER_API_KEY, and then configure your MCP client (e.g., Claude Desktop, Cursor) by editing its mcp_settings.json file with the command and environment settings shown in the README. The server exposes a single tool get_weather that accepts a location (city name or coordinates) and an optional hours parameter for forecasts.
Weather requires an OpenWeatherMap API key, set via the `OPENWEATHER_API_KEY` environment variable. You can obtain a free key from openweathermap.org.
Edit your client’s MCP settings file (e.g., `claude_desktop_config.json` for Claude Desktop) to add the server’s command, working directory, and environment variable with your API key. The README provides examples for development (go run) and production (binary) modes.
You can use Chinese city names (e.g., 北京), English names (Beijing), Chinese district names (北京海淀), or coordinates in the format `latitude,longitude` (e.g., 39.9042,116.4074).
If omitted or set to 0, it returns current real-time weather. If set to a value between 1 and 12, it returns future hourly forecasts for that many hours, but note that OpenWeatherMap forecast data is provided in 3‑hour intervals.
All weather data is fetched from the OpenWeatherMap API. The server does not store any weather data; it is queried in real time.

LinkedIn Ads MCP server by AdPlug, connecting LinkedIn Ads to Claude, ChatGPT and other MCP-compatible AI assistants. Analyse performance, audiences, creatives and conversions. Generate reports and manage campaigns, budg

Run complete AI fashion photoshoots from ChatGPT, Claude, or Codex. Turn flat-lay, packshot, and mannequin product images into catalog-ready on-model photos and video with saved art direction, automatic QA, and catalog-s

Search and manage photo and video libraries through AI assistants. Find images and video moments, review duplicates, and organize collections, groups, favorites and people across local folders, Apple Photos and OneDrive.

AI Poster Generator for shop promotions and events in ChatGPT and Claude on the web. Connect free with your Poster account. Quotes and reads are free; generation uses your own Poster credits.

Design your mobile app UI with AI, then have your coding agent build the real app from it.
评论