← all repositories

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.

OpenAI
Velocity · 7d
+2.3
★ / day
Trend
steady
star history

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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.