MCP-Servers-with-Tools
Verified Safeby rishitha-max
Overview
Integrates external APIs (National Weather Service, Rick and Morty GraphQL) into an MCP-compatible server to expose them as tools for AI agents and interactive clients.
Installation
uv run mcpserver/server.pyEnvironment Variables
- GROQ_API_KEY
Security Notes
The server uses `httpx` for external API requests, which are wrapped with `try...except` blocks and `response.raise_for_status()` for basic error handling. Sensitive API keys like `GROQ_API_KEY` are correctly sourced from environment variables. No 'eval' or obvious obfuscation. External API calls inherently carry risk, but the implementation adheres to good practices.
Similar Servers
weather-mcp-server
Provides weather forecast and alert information by integrating with the National Weather Service (NWS) API, enabling external agents to query weather data for specific locations or states.
MCP_SERVER_STR
This server acts as a Multi-Agent Communication Protocol (MCP) tool provider, offering weather alerts and forecasts by integrating with the National Weather Service (NWS) API.
mcp-sample-server
Provides current weather alerts and detailed forecasts by leveraging the National Weather Service (NWS) API.
mcp-simulation
Serves weather forecast and alert data from the National Weather Service API as tools for an MCP-compatible AI agent.