Back to Home
rkumarus040599 icon

prk-mcp-weather-matcher

Verified Safe

by rkumarus040599

Overview

This project demonstrates converting a function to an MCP server, integrating it with an MCP client like Claude Code Desktop to fetch weather information.

Installation

Run Command
mcp dev main.py

Security Notes

The code properly sanitizes user input (location) using `strip()`, `replace()`, and `urllib.parse.quote()` before constructing the URL for the external API call, significantly reducing URL injection risks. No 'eval' or similar dangerous patterns were found. The use of `urllib.request` is standard. No hardcoded secrets were identified in the provided code.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-20

Tags

MCP ServerWeather APIPythonClaude Code DesktopDeveloper Tool