Skip to main content
Glama

Weather MCP Tool

by dennj

🌤️ Weather MCP Tool (Latinum Paywalled Agent Tool)

A minimal Model Context Protocol (MCP) tool that provides weather info for any city. Access to London is paywalled and requires Solana devnet payment via the Latinum Wallet MCP server.

🔧 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

            • -
              security
              A
              license
              -
              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 -
              4
              Python
              Apache 2.0
              • Linux
              • Apple
            • -
              security
              -
              license
              -
              quality
              A collection of lightweight servers that expose weather and financial capabilities through the Model Context Protocol, allowing users to access weather alerts, forecasts, and financial market data with technical analysis.
              Last updated -
              1
              Python
            • -
              security
              -
              license
              -
              quality
              A Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.
              Last updated -
              Python
            • A
              security
              A
              license
              A
              quality
              A simple service using Model Context Protocol (MCP) to provide weather information for multiple cities including Fukuoka, Tokyo, Osaka, Moscow, and New York.
              Last updated -
              1
              4
              JavaScript
              MIT License

            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/dennj/weather_mcp'

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