Skip to main content
Glama

MCP Weather SSE Server

by tranducthai
  • Apple
  • Linux

🧪 MCP Server for Claude Desktop

This guide shows you how to use your Model Context Protocol (MCP) server using Claude for Desktop.

1. Requirements

  • Claude/Cursor for Desktop (Windows or macOS)
  • MCP server script (e.g., weather.py,'map.py') running via uv run weather.py

2. Configure Claude to Launch the MCP Server

Create or edit the Claude config file:

  • macOS/Linux: ~/.config/claude/claude_desktop_config.json or ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Example content:

{ "mcpServers": { "weather": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather", "run", "weather.py" ] } } }

Replace /ABSOLUTE/PATH/... with the actual absolute path to the folder containing weather.py.

3. Restart Claude

Close and reopen Claude for Desktop. If configured correctly, a tool icon will appear at the bottom-left of the chat window.

4. Test Your Tool

Click the tool icon to see your MCP server tools like search-location and get-forecast.

Try prompts such as:

What’s the weather in Vinh, VietNam? Find the restaurant near Ho Guom ?

Claude should use your local server to respond.

5. Troubleshooting

If you don’t see your server or tool in Claude:

Check config

  • Ensure JSON syntax is valid.
  • Use absolute paths, not relative ones.

Check logs

Logs may be found in:

  • macOS/Linux: ~/Library/Logs/Claude/mcp.log
  • Windows: %APPDATA%\Claude\Logs\mcp.log

You can tail logs like this (macOS/Linux):

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Manually test server

Run:

uv --directory /ABSOLUTE/PATH/... run weather.py

✅ Success

If you see your tool in Claude and prompts generate valid responses, the integration is complete!

-
security - not tested
F
license - not found
-
quality - not tested

A Model Context Protocol server that provides real-time weather data to AI clients through Server-Sent Events, enabling them to fetch current weather conditions, multi-day forecasts, and location-based weather information.

  1. 1. Requirements
    1. 2. Configure Claude to Launch the MCP Server
      1. 3. Restart Claude
        1. 4. Test Your Tool
          1. 5. Troubleshooting
            1. Check config
            2. Check logs
            3. Manually test server
          2. ✅ Success

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.
              Last updated -
              2
              71
              TypeScript
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides real-time weather information and 5-day forecasts to AI assistants, supporting multiple languages and flexible units.
              Last updated -
              3
              8
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.
              Last updated -
              71
              TypeScript
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides comprehensive weather data and forecasts through the OpenWeatherMap API, enabling AI assistants to access real-time weather information, forecasts, air quality data, and location services.
              Last updated -
              11
              20
              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/tranducthai/mcp_protocol_weather'

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