MCP.so
登录

Weather CLI App MCP Server

@aryankarn

基本信息

分类

媒体与设计

传输方式

stdio

作者

aryankarn

关于 Weather CLI App MCP Server

A weather MCP server that provides weather alerts and forecasts using the National Weather Service API

#weather-cli#weather-app#mcp-server

Weather CLI App MCP Server 配置

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

{
  "mcpServers": {
    "Weather CLI App": {
      "command": "python",
      "args": [
        "-m",
        "weather"
      ]
    }
  }
}

Weather CLI App MCP Server 工具

工具列表暂未提供

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

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

概览

What is Weather CLI App?

A lightweight MCP server that fetches active weather alerts and forecasts from the National Weather Service API. It provides two tools for use by AI assistants that support the Model Context Protocol, making real-time U.S. weather data accessible through conversational interfaces.

How to use Weather CLI App?

Install the package with pip install -e . in a Python 3.11+ environment, then configure an MCP-compatible AI assistant to connect to the server. Once connected, the assistant can call the get_alerts tool (US state code) to retrieve active alerts or the get_forecast tool (latitude, longitude) to obtain a 7-day forecast.

Key features of Weather CLI App

  • Retrieve active weather alerts for any U.S. state
  • Get weather forecasts for any coordinates
  • MCP server implementation for AI assistant integration
  • Uses National Weather Service API (no API key required)
  • Built with httpx for asynchronous HTTP requests

Use cases of Weather CLI App

  • An AI assistant notifying a user of severe weather in their state
  • Obtaining a forecast to help plan outdoor events or travel
  • Embedding weather-driven decision logic into automated agent workflows
  • Providing real-time weather context during user conversations

常见问题

1

What data source does this server use?

It uses the National Weather Service (NWS) API. No API key is required, but users should respect NWS rate limits.

2

What tools does it expose?

Two tools: `get_alerts` (takes a two-letter US state code) and `get_forecast` (takes latitude and longitude coordinates).

3

What are the installation requirements?

Python 3.11 or higher. The package is installed with `pip` (not `uv`); it uses the MCP framework, httpx, and the standard MCP server tools.

4

How do I troubleshoot "spawn uv ENOENT" errors?

This error occurs if the environment tries to use `uv` instead of `pip`. Ensure the package is installed with `pip` and run the server manually via `python -m weather` to check for additional errors.

评论

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