MCP Directory
Back

mcp-weather

by ahead-labs-open-source · Python · ★ 0

Sample MCP server from the official documentation at https://modelcontextprotocol.io/quickstart/server.

Install

pip install git+https://github.com/ahead-labs-open-source/mcp-weather.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-weather": {
      "command": "uvx",
      "args": [
        "git+https://github.com/ahead-labs-open-source/mcp-weather.git"
      ]
    }
  }
}

From the README

Sample project for retrieving and managing weather data. This code is from the official MCP documentation at https://modelcontextprotocol.io/quickstart/server. - : Main entry point of the application. - : Module containing weather-related logic. - : Project configuration and dependencies. - : Dependency lock file. - : This file. - Python 3.8 or higher - Dependencies listed in 1. Clone the repository: sh pip install -r requirements.txt sh poetry install sh python main.py ` Contributions are welcome! Please fork the repository and submit a pull request with your changes.
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related filesystem servers