MCP.so
登录

Weather MCP Server

@encoreshao

关于 Weather MCP Server

A Weather MCP server providing weather alerts and forecasts via the Model Context Protocol.

基本信息

分类

媒体与设计

运行时

node

传输方式

stdio

发布者

encoreshao

配置

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

{
  "mcpServers": {
    "weather-mcp-encoreshao": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Weather MCP Server?

Weather MCP Server is a Model Context Protocol server that provides weather alerts and forecasts for US locations using the National Weather Service API. It is designed for developers who want to add weather data to MCP-compatible applications such as Claude for Desktop.

How to use Weather MCP Server?

Install Node.js v16 or higher, clone the repository, run npm install and npm run build, then add the server to your MCP host’s configuration (e.g., claude_desktop_config.json) with the absolute path to build/index.js. Once connected, use the tools get-alerts (input: two-letter US state code) or get-forecast (input: latitude and longitude).

Key features of Weather MCP Server

  • Get active weather alerts for any US state by two-letter code.
  • Get a multi-period weather forecast for a specific latitude/longitude.
  • Built on the free National Weather Service API (no API key required).
  • Simple Node.js project using TypeScript and stdio transport.

Use cases of Weather MCP Server

  • Check current weather alerts for a US state via a conversational AI assistant.
  • Retrieve a forecast for a specific location during a travel planning conversation.
  • Integrate real-time US weather data into a custom MCP host or automation workflow.

FAQ from Weather MCP Server

What data source does Weather MCP Server use?

It uses the National Weather Service (NWS) API, which is free and covers the United States and its territories.

What are the runtime requirements?

Node.js version 16 or higher is required. The server communicates via standard input/output (stdio), the default MCP transport.

How do I get weather alerts?

Use the get-alerts tool and pass a two-letter US state code (e.g., "CA" for California). The server returns a list of active alerts.

Can I get a forecast for any location in the world?

No. The forecast tool works only for locations within the United States, as data is sourced from the National Weather Service API.

Is authentication or an API key needed?

No. The National Weather Service API is public and free to use; no key or authentication is required for this server.

评论

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