# swift-claude-code > A Swift package that provides a programmatic interface to Claude Code, Anthropic's AI coding assistant, enabling developers to integrate AI-powered coding capabilities into Swift applications. swift-claude-code is an open-source Swift package that wraps Claude Code — Anthropic's AI-powered coding assistant — into a clean, programmatic Swift API. It allows iOS, macOS, and other Apple-platform developers to embed Claude Code functionality directly into their own tools, scripts, or applications. The library bridges the gap between the Claude Code CLI and Swift codebases, making it straightforward to automate coding tasks, run AI-assisted code generation, and integrate intelligent coding workflows into Swift projects. - **Swift-native API** — *provides idiomatic Swift interfaces to interact with Claude Code programmatically, avoiding raw CLI subprocess management.* - **Claude Code integration** — *wraps Anthropic's Claude Code tool, giving access to AI-powered code generation, editing, and analysis from within Swift code.* - **Open-source** — *the full source code is available on GitHub under an open-source license, allowing inspection, contribution, and customization.* - **Easy installation** — *add the package via Swift Package Manager by referencing the GitHub repository URL in your `Package.swift` dependencies.* - **Apple platform support** — *designed for use on macOS and other Apple platforms where Swift Package Manager is available.* - **Lightweight dependency** — *focused, minimal library that does one thing well — bridging Swift code to Claude Code's capabilities.* ## Features - Swift-native programmatic API for Claude Code - Claude Code CLI integration - Swift Package Manager support - AI-powered code generation and editing - Open-source and customizable - macOS and Apple platform support ## Integrations Claude Code, Anthropic Claude, Swift Package Manager ## Platforms MACOS, WEB, API, DEVELOPER_SDK, CLI ## Pricing Open Source ## Links - Website: https://github.com/ivan-magda/swift-claude-code - Documentation: https://github.com/ivan-magda/swift-claude-code/blob/main/README.md - Repository: https://github.com/ivan-magda/swift-claude-code - EveryDev.ai: https://www.everydev.ai/tools/swift-claude-code