MCP.so
ログイン

Simple Weather MCP Server example from Quickstart

@hideya

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT

トランスポート

stdio

作者

hideya

Simple Weather MCP Server example from Quickstart について

Simple Weather MCP Server Example

Simple Weather MCP Server example from Quickstart の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "-y",
        "@h1deya/mcp-server-weather"
      ]
    }
  }
}

Simple Weather MCP Server example from Quickstart のツール

2

Get weather alerts for a US state

Get weather forecast for a location in the US

概要

What is Simple Weather MCP Server example from Quickstart?

It is a Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the United States. Built as an example for the MCP Quickstart, it is packaged as an npm package for convenient use with npx.

How to use Simple Weather MCP Server example from Quickstart?

Add the provided JSON fragment to your Claude Desktop configuration file (claude_desktop_config.json) using the command npx -y @h1deya/mcp-server-weather. The server runs locally and integrates with Claude Desktop via MCP.

Key features of Simple Weather MCP Server example from Quickstart

  • Get weather alerts for any US state (two-letter code)
  • Get weather forecast for US locations by latitude/longitude
  • Easy one-command setup via npx
  • Based on the official MCP Quickstart example
  • Compatible with Claude Desktop’s MCP integration

Use cases of Simple Weather MCP Server example from Quickstart

  • Ask Claude “Tomorrow’s weather in Palo Alto?”
  • Check for weather alerts in California or any other US state
  • Learn how to build and test an MCP server with real tools
  • Integrate simple weather queries into an AI assistant workflow

よくある質問

1

What exactly does this server do?

It provides two tools: `get-alerts` (weather alerts for a US state) and `get-forecast` (forecast for a US location given latitude/longitude). It is an example implementation of the Model Context Protocol.

2

How do I install and configure it?

Edit your `claude_desktop_config.json` (located in `~/Library/Application Support/Claude/` on macOS/Linux or `%AppData%\Claude\` on Windows) and add the JSON snippet with `"command": "npx"` and `"args": ["-y", "@h1deya/mcp-server-weather"]`.

3

Does it support locations outside the United States?

No. The tools only work for US states (for alerts) and US geographic coordinates (for forecasts). It uses the US National Weather Service API.

4

What license does the server use?

The server is released under the MIT license, as noted in the README.

5

What runtime or dependencies are required?

It is a Node.js package; Node.js and npm must be installed to use it via `npx`. No additional installation steps are needed beyond the Claude Desktop configuration.

コメント

「メディアとデザイン」の他のコンテンツ