MacPaw/OpenAI
A Swift package that wraps the OpenAI public API, enabling developers to integrate GPT models, embeddings, image generation, audio, and MCP tooling into iOS/macOS applications.

This repository provides a Swift implementation over OpenAI’s public API, offering type-safe access to chat completions, function calling, image creation, audio transcription and synthesis, embeddings, and moderation endpoints. It also includes MCP (Model Context Protocol) integration for tool calling. Developers can use this package in Swift or Objective-C projects via Swift Package Manager.