Back to Home
sword-demon icon

weather-mcp-server

Verified Safe

by sword-demon

Overview

This server provides a tool for Large Language Models (LLMs) to query real-time weather information for specified locations using the AMap API.

Installation

Run Command
uv --directory /path/to/weather-mcp-server run main.py

Environment Variables

  • AMAP_KEY
  • AMAP_HOST

Security Notes

The server loads API keys from environment variables (`.env`), which is good practice. It handles HTTP errors and AMap API specific status codes. It relies on external API responses which are then parsed as JSON, a standard pattern. There are no obvious signs of 'eval', obfuscation, or hardcoded sensitive credentials directly in the source code. The main security consideration is ensuring the `AMAP_KEY` is securely stored and transmitted to the environment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-14

Tags

WeatherAMapMCPClaude DesktopPython