mcpField
W
Weather MCP Server

Weather MCP Server

Local
github.com/snowanMedia & Design0Updated 77w ago

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

  1. 01Retrieve live weather from OpenWeatherMap
  2. 02Run the server in Docker
  3. 03Optional deployment to Render or Heroku
  4. 04Look up weather by city

Use cases

  1. 01Check current weather for a specified city
  2. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Weather 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
  1. Create .env: OPENWEATHER_API_KEY=your_api_key
  2. Run with Docker:
docker build -t weather-mcp .
docker run -p 8000:8000 weather-mcp-server
  1. 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:

  1. Go to the OpenWeather website.
  2. Sign up for a free account or log in if you already have one.
  3. Navigate to the "API Keys" section in your account dashboard.
  4. Generate a new API key or use an existing one.
  5. Copy the API key and add it to the .env file 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

Markdown supported

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.