Skip to main content
Glama

Weather MCP Tool

🌤️ 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.

🔧 Installation

git clone https://github.com/dennj/weather_mcp.git cd weather_mcp python3 -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt

⚙️ Configuration

Create a .env file in the project root:

# .env SELLER_WALLET=3BMEwjrn9gBfSetARPrAK1nPTXMRsvQzZLN1n4CYjpcU
  • SELLER_WALLET: The Solana devnet public address that will receive payments.

🚀 Run Locally

python server_stdio.py

Claude will detect the tool when properly configured.

🧠 Claude Integration

Edit your Claude Desktop config:

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

Then restart Claude.

💳 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.
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

A Model Context Protocol tool that provides weather information for cities, with London access requiring Solana devnet payment via the Latinum Wallet MCP server.

  1. 🔧 Installation
    1. ⚙️ Configuration
      1. 🚀 Run Locally
        1. 🧠 Claude Integration
          1. 💳 How It Works

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.
              Last updated -
              3
              14
              Python
              Apache 2.0
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A production-ready Model Context Protocol server that provides weather data from OpenWeatherMap API, allowing users to query current weather by city name or coordinates with support for different temperature units.
              Last updated -
              Python
              • Apple
              • Linux
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol compatible server that provides weather information for any city using Ollama's LLM capabilities through an exposed get-weather tool.
              Last updated -
              1
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Latinum-Agentic-Commerce/weather_mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server