MCP Directory
Back

modelcontextprotocol-getweather-example

by tomconn · Python · ★ 0

modelcontextprotocol getweather example

Install

pip install git+https://github.com/tomconn/modelcontextprotocol-getweather-example.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "modelcontextprotocol-getweather-example": {
      "command": "uvx",
      "args": [
        "git+https://github.com/tomconn/modelcontextprotocol-getweather-example.git"
      ]
    }
  }
}

From the README

A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) demo that exposes an Australian weather tool via a remote API. | File | Purpose | |---|---| | | MCP server — exposes the tool | | | MCP client — launches the server and calls the tool | | | Unit tests for the server | | | Unit tests for the client | | | Project metadata and dependencies | | | Locked dependency versions (committed, do not edit manually) | - Python 3.10 or later - [uv](https://docs.astral.sh/uv/) — install with Install dependencies and create the virtual environment: The client starts the server automa…
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