An MCP server that integrates Apple's [FoundationModels](https://developer.apple.com/documentation/foundationmodels) for text generation.
Documentation
mcp-foundation-models
A Model Context Protocol (MCP) server that provides text generation capabilities using Apple's Foundation Models framework.
Features
Apple Foundation Models Integration: Leverages Apple's on-device language models for text generation
Requirements
macOS 26.0 or later (macOS Tahoe)
Xcode 26.0 or later
Swift 6.2 or later
Apple Silicon Mac (for optimal Foundation Models)
Installation# Building from Source
Clone the repository:
git clone https://github.com/phimage/mcp-foundation-models
cd mcp-foundation-models
Build the project:
swift build -c release
The executable will be available at:
.build/release/mcp-foundation-models
Use it in Claude Desktop for instance
Edit Claude configuration file '$HOME/Library/Application Support/Claude/claude_desktop_config.json'
Add this server full path as "mcpServers" sub object