MCP Weather Server logo

MCP Weather Server

by chrischiedo

A simple Model Context Protocol (MCP) server that provides weather information for any location. It allows AI models like Claude to interact with weather data through a standardized interface.

View on GitHub

Last updated: N/A

What is MCP Weather Server?

This is a Java implementation of an MCP server that provides current weather information for any location using the wttr.in API. It enables AI applications and agents, such as Claude, to access weather data through the Model Context Protocol.

How to use MCP Weather Server?

To use this server, clone the repository, build the project using Maven, and then run the generated JAR file. Configure Claude Desktop with the provided JSON configuration, pointing to the JAR file's location. Then, prompt Claude to ask for weather information.

Key features of MCP Weather Server

  • Provides current weather information for any location

  • Compatible with Claude Desktop and other MCP clients

  • Uses the free wttr.in weather API (no API key required)

  • Implements the Model Context Protocol (MCP)

Use cases of MCP Weather Server

  • Integrating weather data into AI assistants like Claude

  • Building AI applications that require real-time weather information

  • Creating custom tools that provide weather-related services

  • Experimenting with the Model Context Protocol (MCP)

FAQ from MCP Weather Server

What is MCP?

The Model Context Protocol (MCP) is a standardized way for AI applications and agents to connect with data sources and tools.

What weather API does this server use?

This server uses the free wttr.in weather API.

Do I need an API key to use this server?

No, the wttr.in API does not require an API key.

How do I integrate this server with Claude Desktop?

Add the provided JSON configuration to your Claude Desktop config settings, replacing the placeholder path with the actual path to your built JAR file.

Can I extend this server to provide more weather-related tools?

Yes, you can extend this server by adding more weather-related tools (forecasts, alerts, historical data, etc.) or using a different weather API.