ml-explore / ml-explore/mlx-swift-examples
Suggestion: MCP example
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.7k
- Forks
- 426
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to provide an example with MLX working with an MCP server that runs locally. There are several Swift implementations of MCP out there (seemingly lacking actual working examples, which is what is so good about this repository) but it would be great to have an end to end example with MLX. Eg a native iOS app incorporating MLX and MCP server connection to google maps API. The user could enter a prompt in natural language that queries the Google maps API and the results are returned to the user in natural language. The user could say "how do I get to x and how long does it take" and the app provides an answer. If any such examples already exist I'd be happy to hear about them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by reviewing the existing MLX Swift examples and the proposed native iOS, local MCP server, and Google Maps API flow. Done would be an end-to-end example where a natural-language prompt queries the maps API and returns a natural-language answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- machine-learning, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100