Weather MCP
About
A weather server providing weather information for locations within the United States.
Details
- Author
- koudai-hirota-uhuru
- Categories
- Search, Other
Jump to
Setup
Install Weather MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/koudai-hirota-uhuru/Weather_MCP
Follow the installation instructions in the repository README, then restart your MCP client.
- https://zenn.dev/bamboohouse/articles/74037522a0a815
- 記事通りに構築
- 一旦記事通り構築できたはす記述しているsrcのモジュールがうまく読み込めていないので、また確認
- 不要なコードとインポート:src/index.tsに記事にない追加のコードが混入
- Node.jsバージョン: v14では動作せず、v20が必要
- CursorのMCP設定: Node.jsの正確なパスが必要
- 不要な依存関係: 記事で使用されていないaxiosがpackage.jsonに含まれている
- 不要なインポートimport { getWeather } from './weather.js';を削除
- 記事にないget-city-weatherツールを削除
- メイン関数を記事通りのMCPサーバー起動処理に修正
{ "mcpServers": { "weather": { "command": "/Users/r273-2576/.nvm/versions/node/v20.18.0/bin/node", "args": ["/Users/r273-2576/Documents/AI-mokumoku/weather-mcp/build/index.js"] } } }
- MCPサーバーのビルド成功 (npm run build)
- CursorでMCP設定が緑色のインジケーター表示
- 「サンフランシスコの天気を教えて」で正常に天気情報取得可能
- NWS APIはアメリカ国内の天気情報のみ対応
- 東京などの海外都市は非対応
- Cursor設定変更後は必ず完全再起動が必要
- Nodeのバージョン
- 案件の影響でv14を使用していた。実行するバージョンがv20系からになっており、nvmでv20系を設定していてもチャットで実行してもらうときには、グローバルのパスがv14系になっていたので実行できなかった。
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Search and compare 184,900 beaches, lakes and swimming spots worldwide with current planning conditions and direct BeachFinder links.
A search engine for AI applications, providing world knowledge from web pages and various content sources like weather, news, and images.
Access earthquake data from the USGS Quakes API using natural language queries.
Provides weather data using the US National Weather Service (NWS) API. Built with pure JavaScript ES Modules.
Query 24-hour weather forecasts and city information by city name or coordinates.
Provides real-time weather forecasts and alerts using the National Weather Service API.
Fetches weather data from the wttr.in service.
Get water temperature and swimming conditions for the Aare river in Switzerland.
Provides airfield aeronautical information for general aviation private pilots like runways, fuel prices, landing fees, weather, webcams and more
Integrates the Korea Meteorological Administration's public weather API to provide climate data.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



