Skip to main content
Glama

mcp-weather

世界中の天気を扱うMCPサーバーです。場所名を座標に変換し、CursorなどのMCPクライアントに対してstdio経由で現在の天気を返します。

リポジトリ: github.com/deep3036/mcp-weather

機能

このサーバーは1つのツールを登録します:

ツール

入力

出力

get-current-weather

location (都市名または場所名、2文字以上)

現在の気温、体感温度、湿度、降水量、風、天候、昼夜、タイムゾーン、座標

locationの例: DelhiGreater NoidaMumbaiLondon

ジオコーディングには Open-Meteo Geocoding を使用します。予報データには Open-Meteo Forecast を使用します。どちらのAPIもこの用途ではキーは不要です。

名前が一致する場所が複数ある場合は、最初のジオコーディング結果が使用されます。

Related MCP server: Weather MCP

要件

  • Node.js 20以上

  • npm

セットアップ

npm install

実行

開発(tsxによるTypeScript):

npm run dev

本番:

npm run build
npm start

このプロセスはstdin/stdoutでMCPを話します。ログはstderrに出力されます。通常のWebアプリとして実行しないでください。

Cursor MCP 設定

クライアントをこのプロジェクトディレクトリに向けてください:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["tsx", "src/index.ts"],
      "cwd": "D:\\mcp\\weather-mcp"
    }
  }
}

ビルド後は、tsxの代わりにnodedist/index.jsを使用できます。

プロジェクト構成

パス

役割

src/index.ts

MCPサーバー、ツール、Open-Meteo呼び出し

tsconfig.json

TypeScript(ES2022NodeNextsrcからdist

package.json

スクリプト: devbuildstart

ライセンス

ISC

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables users to get current weather information for any city using the Open-Meteo API. Provides detailed meteorological data including temperature, precipitation, day/night status, and hourly forecasts through natural language queries.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to get real-time weather information for any city in the world. Provides current temperature and weather conditions through a simple city name query.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deep3036/mcp-weather'

If you have feedback or need assistance with the MCP directory API, please join our Discord server