weather-mcp-server

weather-mcp-server

0

The Weather MCP Server is designed to provide up-to-date weather information for any location using the Open-meteo API. It can be integrated locally within Claude Desktop by configuring the server settings.

Weather MCP Server

MCP server for getting the current weather in any location using the Open-meteo API.

Read more about Model Context Protocol: https://modelcontextprotocol.io/

Development

Create and activate the virtual environment using uv:

uv venv
source .venv/bin/activate

Install the dependencies:

uv sync

Start up the MCP inspector to test the server:

mcp dev server.py

Integration with Claude Desktop

To use locally within Claude Desktop, add the following to claude_desktop_config.json

{
    "mcpServers": {
        "weather": {
            "command": "/Users/your-username/.local/bin/uv",
            "args": [
                "run",
                "--with",
                "mcp[cli]",
                "mcp",
                "run",
                "/Users/your-username/path/to/weather-mcp-server/server.py"
            ]
        }
    }
}