weather-mcp-server

weather-mcp-server

3.1

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

Weather MCP Server provides current weather information for any location using the Open-meteo API.

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"
            ]
        }
    }
}