MCP.so
登录

Weather MCP Server

@devilcoder01

关于 Weather MCP Server

A simple minimal weather mcp server :)

基本信息

分类

媒体与设计

许可证

MIT

运行时

python

传输方式

stdio

发布者

devilcoder01

配置

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

{
  "mcpServers": {
    "weather-mcp-server-devilcoder01": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@devilcoder01/weather-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Weather MCP Server?

A Model Context Protocol (MCP) server for weather data, built with FastAPI. It provides weather-related tools that AI assistants can use to retrieve current conditions, forecasts, air quality, and more.

How to use Weather MCP Server?

Install via Smithery (npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude) or manually with uv and a WeatherAPI key. Then run python main.py to start the server on http://localhost:8000.

Key features of Weather MCP Server

  • Current weather conditions
  • Weather forecasts (1-14 days)
  • Historical weather data
  • Weather alerts
  • Air quality information
  • Astronomy data (sunrise, sunset, moon phases)

Use cases of Weather MCP Server

  • Retrieving current weather for a location
  • Obtaining multi-day weather forecasts
  • Checking air quality index
  • Accessing historical weather records
  • Receiving weather alerts

FAQ from Weather MCP Server

What are the requirements for Weather MCP Server?

Python 3.13+, the uv package manager, and a WeatherAPI key.

How do I install Weather MCP Server?

You can install automatically via Smithery or manually by cloning the repo, creating a virtual environment with uv, installing dependencies, and adding your API key to a .env file.

How do I run Weather MCP Server?

Run python main.py in the project root; the server starts on http://localhost:8000 by default.

What data source does Weather MCP Server use?

It uses the WeatherAPI service for all weather data.

What license does Weather MCP Server use?

It is licensed under the MIT License.

评论

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