About Weather MCP Server
Weather MCP Server is a modular FastAPI-based server that retrieves live weather from OpenWeatherMap. It can run in Docker and includes instructions for optional deployment on Render or Heroku.
Key features
- 01Retrieve live weather from OpenWeatherMap
- 02Run the server in Docker
- 03Optional deployment to Render or Heroku
- 04Look up weather by city
Use cases
- 01Check current weather for a specified city
- 02Run a weather endpoint in a Docker environment
MCP support
The project is described as a weather MCP server, but the README only documents an HTTP endpoint and does not specify MCP tools or resources.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEWeather MCP Server
A modular FastAPI-based weather server with Docker support.
Features
- Live weather from OpenWeatherMap
- Dockerized for easy deployment
- Optional cloud deployment (Render, Heroku)
Getting Started
Setup
- Create
.env:OPENWEATHER_API_KEY=your_api_key - Run with Docker:
docker build -t weather-mcp .
docker run -p 8000:8000 weather-mcp-server
- Access:
http://localhost:8000/weather?city=Tokyo
How to Get an OPENWEATHER_API_KEY
To use this project, you need an API key from OpenWeather. Follow these steps to obtain one:
- Go to the OpenWeather website.
- Sign up for a free account or log in if you already have one.
- Navigate to the "API Keys" section in your account dashboard.
- Generate a new API key or use an existing one.
- Copy the API key and add it to the
.envfile in the project root as follows:
OPENWEATHER_API_KEY=your_api_key_here
Deployment
You can deploy this app using Render or Heroku. See instructions in /docs.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.