Client Example icon

Client Example

Demonstrates implementation of an MCP client using SwiftUI and the Anthropic API.

About

This example project illustrates how to build an MCP (Model Context Protocol) client within an iOS application, leveraging SwiftUI for the user interface and the Anthropic API for model interaction. It serves as a practical guide based on the "Using Model Context Protocol in iOS apps" article, providing a clear understanding of client-side implementation in Swift. To use the application, an Anthropic API key is required.

Key Features

  • 5 GitHub stars

Use Cases

  • Integrating Anthropic API with iOS apps
  • Learning MCP client implementation
  • Building SwiftUI-based MCP clients
Client Example: SwiftUI MCP Client with Anthropic API