Back to Home
PinXian53 icon

python-mcp-server

Verified Safe

by PinXian53

Overview

Demonstrates implementing Model Context Protocol (MCP) servers in Python using STDIO, SSE, and Streamable HTTP connection modes, providing weather tools via the National Weather Service API.

Installation

Run Command
python weather.py

Security Notes

No 'eval', obfuscation, or hardcoded secrets found. Uses 'httpx' for external API calls to 'api.weather.gov'. The general 'except Exception' block in 'make_nws_request' could be refined for more specific error handling, but no direct vulnerabilities are present in the provided code. Deployment for public access would require additional security considerations external to this code.

Similar Servers

Stats

Interest Score28
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars1
Forks0
Last Update2025-11-21

Tags

PythonMCPServer-Sent EventsStreamable HTTPWeather API