MCP.so
ログイン

Simple Weather MCP Server example from Quickstart

@hideya

Simple Weather MCP Server example from Quickstart について

Simple Weather MCP Server Example

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT

ランタイム

node

トランスポート

stdio

公開者

hideya

設定

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

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

ツール

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?

A Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the United States. It is the example server from the official MCP Quickstart guide and is hosted as an npm package for convenient use with npx.

How to use Simple Weather MCP Server example from Quickstart?

Add the server to your Claude Desktop configuration (claude_desktop_config.json) using npx -y @h1deya/mcp-server-weather as the command. Once configured, you can ask Claude for weather alerts or forecasts using natural language queries.

Key features of Simple Weather MCP Server example from Quickstart?

  • get-alerts: retrieve weather alerts for a US state using a two-letter state code.
  • get-forecast: retrieve weather forecast for a US location using latitude and longitude coordinates.
  • Runs via npx with no manual installation required.
  • Based on the official Model Context Protocol (MCP).
  • Serves as a learning example from the MCP Quickstart guide.

Use cases of Simple Weather MCP Server example from Quickstart?

  • Ask Claude "Tomorrow's weather in Palo Alto?" to get a US weather forecast.
  • Ask Claude "Any weather alerts in California?" to retrieve active alerts for a state.
  • Learn how to build an MCP server by following the Quickstart example.

FAQ from Simple Weather MCP Server example from Quickstart

What tools does it provide?

Two tools: get-alerts (input: two-letter US state code) and get-forecast (inputs: latitude and longitude numbers).

What runtime does it require?

It is a Node.js server; Node.js must be installed to run it via npx.

How do I configure it with Claude Desktop?

Add the JSON fragment shown in the README to your claude_desktop_config.json file, providing npx, -y, and @h1deya/mcp-server-weather as the command and arguments.

What license is it under?

MIT license.

Is this server for production use or learning?

It is an example server from the MCP Quickstart guide, primarily intended for learning and demonstration purposes.

コメント

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