Back to Home
omkarwazulkar icon

OpenAI-MCP-WeatherStack

Verified Safe

by omkarwazulkar

Overview

A full-stack AI agent that retrieves real-time weather information for a specified city using OpenAI's Agents SDK and a Python-based Model Context Protocol (MCP) server.

Installation

Run Command
npx ts-node express_server.ts

Environment Variables

  • OPENAI_API_KEY

Security Notes

The project uses standard libraries and frameworks. The OpenAI API key is handled via environment variables, which is a good practice. The exposed MCP tool performs a simple HTTP GET request to wttr.in, limiting direct command injection risks in the tool itself. User queries are passed directly to the Agent SDK, which relies on the SDK's internal safety mechanisms for prompt injection and tool execution. Given it's primarily designed for local development, it is generally safe, but full confidence in security would require an audit of the @openai/agents SDK.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens250
Stars0
Forks0
Last Update2025-12-10

Tags

AI AgentWeather APIOpenAI SDKFull-stackTypeScript