MCP.so
登录

Weather MCP Server

@panzhenyao

关于 Weather MCP Server

MCP server

基本信息

分类

媒体与设计

许可证

MIT license

运行时

node

传输方式

stdio

发布者

panzhenyao

提交者

panzhenyao

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

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

概览

What is Weather MCP Server?

It is an MCP server that uses the OpenWeatherMap API to retrieve current weather data and forecasts for any location. It supports metric and imperial units and can be hosted on MCP.so.

How to use Weather MCP Server?

Install Node.js v18+, obtain a free OpenWeatherMap API key, clone the repo, run npm install and npm run build, then start with WEATHER_API_KEY=your_key npm start for stdio mode. For REST mode, add mode=rest port=9595 endpoint=/rest. Use the tools current_weather and weather_forecast.

Key features of Weather MCP Server

  • Current weather data for any location
  • Weather forecast up to 5 days
  • Support for metric and imperial units
  • Compatible with stdio and REST transports
  • Docker containerization for easy deployment
  • Compatible with MCP.so hosting requirements

Use cases of Weather MCP Server

  • Get real-time weather for a city within a chat interface
  • Retrieve a multi-day forecast for trip planning
  • Integrate weather data into AI assistant workflows
  • Deploy a weather API endpoint using MCP protocol

FAQ from Weather MCP Server

What API key is required?

A free OpenWeatherMap API key is required; get one from openweathermap.org/api.

What are the runtime requirements?

Node.js v18+ and an OpenWeatherMap API key.

Can I run the server with Docker?

Yes, build the Docker image with docker build -t mcp/weather-mcp-server . and run with environment variable WEATHER_API_KEY.

What units are supported?

Metric (Celsius) and imperial (Fahrenheit). Metric is the default.

How many days are available for forecast?

Up to 5 days; you can specify the number of days (default 5).

评论

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