trackmcp
Back to directory
Latinum-Formal-Methods

weather_mcp

View on GitHub

Mock for payment

0 stars PythonOthers Updated Aug 5, 2025

Documentation

๐ŸŒค๏ธ Weather MCP Tool (Latinum Paywalled Agent Tool)

A minimal Model Context Protocol (MCP) tool that provides real-time weather information for any city. Access to forecasts is paywalled via the Latinum Wallet MCP server, requiring Solana Devnet payment โ€” except for Dublin, which is available for free.

๐Ÿ”ง Developper testing

To install your local build as a CLI for testing with Claude:

bash
git clone https://github.com/Latinum-Agentic-Commerce/latinum-wallet-mcp.git
cd weather_mcp
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install --upgrade --upgrade-strategy eager -r requirements.txt
pip install --editable .

Edit your Claude Desktop config:

code
~/Library/Application Support/Claude/claude_desktop_config.json
json
{
  "mcpServers": {
      "weather_mcp": {
          "command": "/Users/{YOUR_USER}/workspace/weather_mcp/.venv/bin/python",
          "args": [
              "/Users/{YOUR_USER}/workspace/weather_mcp/weather_mcp/server_stdio.py"
          ]
      }
  }
}

Then restart Claude.

๐Ÿ“‘ PyPI Publishing

bash
python3 -m venv .venv && source .venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
rm -rf dist/ build/ *.egg-info
python3 -m build
python3 -m twine upload dist/*
pipx upgrade weather-mcp

See the output in a path like: https://pypi.org/project/weather-mcp/

๐Ÿ’ณ How It Works

  • โ“ Ask: `What's the weather in Paris?` โ†’ Claude responds instantly.
  • โŒ Ask: `What's the weather in London?` โ†’ Claude gets a `402` and triggers the wallet.
  • โœ… Claude pays using Latinum Wallet and retries.

Frequently asked questions

What is weather_mcp?

weather_mcp is Mock for payment

How do I install weather_mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is weather_mcp open source?

Yes โ€” it is hosted on GitHub at https://github.com/Latinum-Formal-Methods/weather_mcp.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP