Stop API hallucinations with cupertino for Apple docs
언제 쓸까: Claude keeps inventing API signatures; you want it grounded in real docs.
사전 조건
- cupertino installed — Download Swift 6.2+ binary; run
cupertino setupto pull the index
흐름
-
Setup indexRun
cupertino setupthencupertino serve. Confirm MCP server is listening.✓ 복사됨→ Server online -
Force agent to citeBefore writing any SwiftUI code, search cupertino docs for the exact API. Quote the signature.✓ 복사됨→ Verified API with URI
-
Use itNow write the code using only the APIs you quoted.✓ 복사됨→ Compiles first try
결과: Dramatically fewer API hallucinations.