mcpinabox
Verified Safeby gkerensky
Overview
Builds a Model Context Protocol (MCP) server to expose weather data as tools for AI models like OpenAI's Responses API.
Installation
npm startSecurity Notes
The server uses `zod` for input schema validation, which is a good practice for security. Environment variables (`process.env.PORT`, `process.env.OPENWEATHER_API_KEY`) are used for configuration. CORS is set to allow all origins (`*`), which is acceptable for a tutorial/lab but might require stricter configuration for production. No 'eval' or other directly dangerous patterns are observed.
Similar Servers
mcp-local-server
A Model Context Protocol (MCP) server that provides real-time weather data, basic mathematical calculations, and mock alert details to AI agents.
mcp-weather-server
This server acts as a Model Context Protocol (MCP) agent to provide real-time weather data for specific cities to an AI language model.
mcp-weather-server
Provides real-time and forecast weather data, air quality information, and multi-city weather trend analysis via the Model Context Protocol (MCP), integrating with OpenWeather and OpenRouter APIs.
mcp-weather-server
Provides a production-ready Model Context Protocol (MCP) server for integrating AI applications with external weather data via streamable HTTP transport.