Back to Home
522jack icon

mcp-weather-server

by 522jack

Overview

Standalone MCP server providing weather information, task management, and local document processing capabilities for an AI client.

Installation

Run Command
java -jar build/libs/mcp-weather-server-1.0.0.jar stdio

Environment Variables

  • OPENWEATHER_API_KEY

Security Notes

The document search, summarization, and storage services allow file system operations (read, write, search) based on user-provided paths (`folder_path`, `document_path`, `output_folder`, `filename`). While `Path.normalize()` is used, it might not be sufficient to prevent all path traversal attacks, potentially allowing access to arbitrary files outside the intended project directory (the `user.dir` where the server is run). This is a significant local file system security risk if the server processes untrusted input from an LLM or external client. The `OPENWEATHER_API_KEY` is handled correctly via environment variables. SQL queries for task management use prepared statements, mitigating SQL injection risks.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-23

Tags

MCPWeather APITask ManagementDocument ProcessingKotlin