Weather MCP Server logo

Weather MCP Server

by hideya

A Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the US. It's an example explained in the MCP Quickstart guide.

View on GitHub

Last updated: N/A

What is Weather MCP Server?

This is a simple weather server that uses the Model Context Protocol (MCP) to provide weather information for locations within the US. It allows users to retrieve weather forecasts and alerts using specific tools.

How to use Weather MCP Server?

To use the server, merge the provided JSON fragment into your claude_desktop_config.json file. This configures Claude Desktop to use the server. You can then use the provided tools (get-alerts, get-forecast) with appropriate inputs, like state codes or latitude/longitude coordinates, to retrieve weather data. Example queries include asking for tomorrow's weather in a specific location or checking for weather alerts in a state.

Key features of Weather MCP Server

  • Provides weather forecasts

  • Provides weather alerts

  • Uses Model Context Protocol (MCP)

  • Easy integration with Claude Desktop

Use cases of Weather MCP Server

  • Integrating weather information into AI assistants

  • Providing location-based weather updates

  • Alerting users to severe weather conditions

  • Automating weather data retrieval

FAQ from Weather MCP Server

What is MCP?

Model Context Protocol is a protocol for accessing information.

How do I configure Claude Desktop to use this server?

Merge the provided JSON fragment into your claude_desktop_config.json file.

What inputs are required for the get-forecast tool?

The get-forecast tool requires latitude and longitude coordinates.

What inputs are required for the get-alerts tool?

The get-alerts tool requires a two-letter US state code.

Where can I find more information about MCP?

You can find more information on the Model Context Protocol website: modelcontextprotocol.io