MCP.so
登录

MCP Weather Server

@Chazzychouse

基本信息

分类

媒体与设计

传输方式

stdio

作者

Chazzychouse

关于 MCP Weather Server

Implementation of MCP documentation's "quickstart" server

MCP Weather Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "<Drive>:\\PATH\\TO\\PROJECT\\build\\index.js"
      ]
    }
  }
}

MCP Weather Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Weather Server?

A basic TypeScript implementation of a Model Context Protocol (MCP) server that provides weather data by querying the National Weather Service API at https://api.weather.gov. It is intended for use with MCP clients like Claude Desktop.

How to use MCP Weather Server?

Configure the server in Claude Desktop by adding an entry to claude_desktop_config.json with the node command pointing to the server's build/index.js file. The full setup path is C:/users/<Username>/AppData/Roaming/Claude on Windows.

Key features of MCP Weather Server

  • Provides a get-forecast tool for weekly weather forecasts
  • Provides a get-alerts tool for current weather alerts
  • Uses live data from the US National Weather Service API
  • Built with TypeScript for the MCP protocol

Use cases of MCP Weather Server

  • Get a weekly weather forecast for a given latitude and longitude in the US
  • Retrieve current weather alerts for a specific US state code
  • Integrate real-time weather data into an MCP-compatible assistant like Claude Desktop

常见问题

1

What tools does MCP Weather Server provide?

It provides two tools: `get-forecast`, which returns a weekly weather forecast for a latitude and longitude within the US, and `get-alerts`, which returns any current alerts for a given state code.

2

What data source does MCP Weather Server use?

All weather data is queried from the National Weather Service API at `https://api.weather.gov`.

3

How do I set up MCP Weather Server with Claude Desktop?

Add a `weather` entry to the `mcpServers` object in `claude_desktop_config.json` (located at `C:/users/<Username>/AppData/Roaming/Claude` on Windows), specifying `node` as the command and the path to `build/index.js` as the argument.

4

What runtime does MCP Weather Server require?

The server runs on Node.js, as it is invoked via the `node` command when configured with Claude Desktop.

5

What geographic region does MCP Weather Server cover?

The server covers the United States: forecasts require a latitude and longitude within the US, and alerts use US state codes.

评论

媒体与设计 分类下的更多 MCP 服务器