WeatherMcpServer

ajayindfw/WeatherMcpServer

3.2

If you are the rightful owner of WeatherMcpServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Weather MCP Server is a Model Context Protocol server designed to provide weather information and temperature conversion tools.

Tools
2
Resources
0
Prompts
0

Weather MCP Server

A Model Context Protocol (MCP) server that provides weather information and temperature conversion tools.

Features

  • Get Weather: Get current weather for any city
  • Convert Temperature: Convert between Fahrenheit and Celsius
  • Dual Transport Support: Works with both stdio and HTTP transports

Tools

get_weather

Gets the current weather for a city (simulated data).

Parameters:

  • city (string): The city name

Example:

{
  "name": "get_weather",
  "arguments": {
    "city": "Seattle"
  }
}

convert_temperature

Converts temperature between Fahrenheit and Celsius.

Parameters:

  • temp (number): Temperature value
  • fromUnit (string): Source unit ("F" or "C")

Example

{
  "name": "convert_temperature",
  "arguments": {
    "temp": 100,
    "fromUnit": "F"
  }
}