Weather MCP Server
@snowan
关于 Weather MCP Server
vibe coding - weather mcp server
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather MCP Server?
Weather MCP Server is a modular FastAPI-based weather server that provides live weather data from OpenWeatherMap. It supports Docker deployment and optional cloud hosting on Render or Heroku. It is intended for developers who need a containerized, API-driven weather endpoint.
How to use Weather MCP Server?
Create a .env file with your OPENWEATHER_API_KEY, build the Docker image with docker build -t weather-mcp ., then run it with docker run -p 8000:8000 weather-mcp-server. Access live weather at http://localhost:8000/weather?city=Tokyo. Obtain a free API key by signing up at openweathermap.org and copying it into your .env file.
Key features of Weather MCP Server
- Live weather data from OpenWeatherMap
- Dockerized for easy deployment
- FastAPI-based with auto-generated docs
- Optional cloud deployment (Render, Heroku)
- Environment variable configuration via
.env
Use cases of Weather MCP Server
- Fetch current weather for any city via HTTP API
- Containerized weather service for integration into microservices
- Quick local weather endpoint for development and testing
- Deployable to cloud platforms like Render or Heroku
FAQ from Weather MCP Server
What API key do I need?
An OpenWeather API key. Sign up at openweathermap.org, go to API Keys, generate a key, and add it to .env as OPENWEATHER_API_KEY=your_key_here.
How do I run the server locally?
Build the Docker image with docker build -t weather-mcp . and run with docker run -p 8000:8000 weather-mcp-server. Then access http://localhost:8000/weather?city=CityName.
Can I deploy this server to a cloud provider?
Yes, the README mentions deployment on Render or Heroku with instructions in the /docs directory.
What is the server’s default transport and port?
The server runs on HTTP at port 8000 by default, served by Uvicorn via FastAPI.
How do I get the weather for a specific city?
Make a GET request to /weather?city=Tokyo (replace Tokyo with your desired city). The server will return live weather data from OpenWeatherMap.
媒体与设计 分类下的更多 MCP 服务器
RustChain MCP
ScottcjnMCP server for RustChain blockchain and BoTTube video platform — AI agent tools for earning RTC tokens. Built on createkr's RustChain SDK.
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
评论