Labsco
kimsungwhee logo

Apple Developer Documentation

โ˜… 1,300

from kimsungwhee

Search Apple's official developer documentation for iOS, macOS, SwiftUI, WWDC videos, and more.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Apple Docs MCP - Apple Developer Documentation Model Context Protocol Server

npm version License: MIT

Apple Developer Documentation MCP Server - Access Apple's official developer docs, frameworks, APIs, SwiftUI, UIKit, and WWDC videos through Model Context Protocol. Search iOS, macOS, watchOS, tvOS, and visionOS documentation with AI-powered natural language queries. Get instant access to Swift/Objective-C code examples, API references, and technical guides directly in Claude, Cursor, or any MCP-compatible AI assistant.

English | ๆ—ฅๆœฌ่ชž | ํ•œ๊ตญ์–ด | ็ฎ€ไฝ“ไธญๆ–‡

โœจ Features

  • ๐Ÿ” Smart Search: Intelligent search across Apple Developer Documentation for SwiftUI, UIKit, Foundation, CoreData, ARKit, and more
  • ๐Ÿ“š Complete Documentation Access: Full access to Apple's JSON API for Swift, Objective-C, and framework documentation
  • ๐Ÿ”ง Framework Index: Browse hierarchical API structures for iOS, macOS, watchOS, tvOS, visionOS frameworks
  • ๐Ÿ“‹ Technology Catalog: Explore Apple technologies including SwiftUI, UIKit, Metal, Core ML, Vision, and ARKit
  • ๐Ÿ“ฐ Documentation Updates: Track WWDC 2024/2025 announcements, iOS 26, macOS 26, and latest SDK releases
  • ๐ŸŽฏ Technology Overviews: Comprehensive guides for Swift, SwiftUI, UIKit, and all Apple development platforms
  • ๐Ÿ’ป Sample Code Library: Swift and Objective-C code examples for iOS, macOS, and cross-platform development
  • ๐ŸŽฅ WWDC Video Library: Search WWDC 2014-2025 sessions with transcripts, Swift/SwiftUI code examples, and resources
  • ๐Ÿ”— Related APIs Discovery: Find SwiftUI views, UIKit controllers, and framework-specific API relationships
  • ๐Ÿ“Š Platform Compatibility: iOS 13+, macOS 10.15+, watchOS 6+, tvOS 13+, visionOS compatibility analysis
  • โšก High Performance: Optimized for Xcode, Swift Playgrounds, and AI-powered development environments
  • ๐Ÿ”„ Smart UserAgent Pool: Intelligent UserAgent rotation system with automatic failure recovery and performance monitoring
  • ๐ŸŒ Multi-Platform: Complete iOS, iPadOS, macOS, watchOS, tvOS, and visionOS documentation support
  • ๐Ÿท๏ธ Beta & Status Tracking: iOS 26 beta APIs, deprecated UIKit methods, new SwiftUI features tracking

๐Ÿ› ๏ธ Available Tools

ToolDescriptionKey Features
search_apple_docsSearch Apple Developer DocumentationOfficial search API, find specific APIs, classes, methods
get_apple_doc_contentGet detailed documentation contentJSON API access, optional enhanced analysis (related/similar APIs, platform compatibility)
list_technologiesBrowse all Apple technologiesCategory filtering, language support, beta status
search_framework_symbolsSearch symbols in specific frameworkClasses, structs, protocols, wildcard patterns, type filtering
get_related_apisFind related APIsInheritance, conformance, "See Also" relationships
resolve_references_batchBatch resolve API referencesExtract and resolve all references from documentation
get_platform_compatibilityPlatform compatibility analysisVersion support, beta status, deprecation info
find_similar_apisDiscover similar APIsApple's official recommendations, topic groupings
get_documentation_updatesTrack Apple documentation updatesWWDC announcements, technology updates, release notes
get_technology_overviewsGet technology overviews and guidesComprehensive guides, hierarchical navigation, platform filtering
get_sample_codeBrowse Apple sample code projectsFramework filtering (with limitations), keyword search, beta status
search_wwdc_videosSearch WWDC video sessionsKeyword search, topic/year filtering, session metadata
get_wwdc_video_detailsGet WWDC video details with transcriptFull transcripts, code examples, resources, platform info
list_wwdc_topicsList all available WWDC topics19 topic categories from Swift to Spatial Computing
list_wwdc_yearsList all available WWDC yearsConference years with video counts

๐Ÿ—๏ธ Technical Architecture for Apple Developer Documentation Access

Copy & paste โ€” that's it
apple-docs-mcp/
โ”œโ”€โ”€ ๐Ÿ”ง src/
โ”‚   โ”œโ”€โ”€ index.ts                      # MCP server entry point with all tools
โ”‚   โ”œโ”€โ”€ tools/                        # MCP tool implementations
โ”‚   โ”‚   โ”œโ”€โ”€ search-parser.ts          # HTML search result parsing
โ”‚   โ”‚   โ”œโ”€โ”€ doc-fetcher.ts            # JSON API documentation fetching
โ”‚   โ”‚   โ”œโ”€โ”€ list-technologies.ts      # Technology catalog handling
โ”‚   โ”‚   โ”œโ”€โ”€ get-documentation-updates.ts # Documentation updates tracking
โ”‚   โ”‚   โ”œโ”€โ”€ get-technology-overviews.ts # Technology overviews and guides
โ”‚   โ”‚   โ”œโ”€โ”€ get-sample-code.ts        # Sample code library browser
โ”‚   โ”‚   โ”œโ”€โ”€ get-framework-index.ts    # Framework structure indexing
โ”‚   โ”‚   โ”œโ”€โ”€ get-related-apis.ts       # Related API discovery
โ”‚   โ”‚   โ”œโ”€โ”€ resolve-references-batch.ts # Batch reference resolution
โ”‚   โ”‚   โ”œโ”€โ”€ get-platform-compatibility.ts # Platform analysis
โ”‚   โ”‚   โ”œโ”€โ”€ find-similar-apis.ts      # Similar API recommendations
โ”‚   โ”‚   โ””โ”€โ”€ wwdc/                     # WWDC video tools
โ”‚   โ”‚       โ”œโ”€โ”€ wwdc-handlers.ts      # WWDC tool handlers
โ”‚   โ”‚       โ”œโ”€โ”€ content-extractor.ts  # Video content extraction
โ”‚   โ”‚       โ”œโ”€โ”€ topics-extractor.ts   # Topic listing
โ”‚   โ”‚       โ””โ”€โ”€ video-list-extractor.ts # Video list parsing
โ”‚   โ””โ”€โ”€ utils/                        # Utility functions and helpers
โ”‚       โ”œโ”€โ”€ cache.ts                  # Memory cache with TTL support
โ”‚       โ”œโ”€โ”€ constants.ts              # Application constants and URLs
โ”‚       โ”œโ”€โ”€ error-handler.ts          # Error handling and validation
โ”‚       โ”œโ”€โ”€ http-client.ts            # HTTP client with performance tracking
โ”‚       โ”œโ”€โ”€ user-agent-pool.ts        # Smart UserAgent rotation system
โ”‚       โ”œโ”€โ”€ http-headers-generator.ts # Dynamic browser headers generation
โ”‚       โ””โ”€โ”€ url-converter.ts          # URL conversion utilities
โ”œโ”€โ”€ ๐Ÿ“ฆ dist/                          # Compiled JavaScript
โ”œโ”€โ”€ ๐Ÿ“„ package.json                   # Package configuration
โ””โ”€โ”€ ๐Ÿ“– README.md                      # This file

๐Ÿš€ Performance Features

  • Memory-Based Caching: Custom cache implementation with automatic cleanup and TTL support
  • Smart UserAgent Pool: Intelligent rotation system with automatic failure recovery and performance monitoring
  • Dynamic Headers: Realistic browser headers generation (Accept, Accept-Language, User-Agent)
  • Smart Search: Official Apple search API with enhanced result formatting
  • Enhanced Analysis: Optional related APIs, platform compatibility, and similarity analysis
  • Error Resilience: Graceful degradation with comprehensive error handling
  • Type Safety: Full TypeScript with Zod v4.0.5 runtime validation
  • Latest Dependencies: MCP SDK v1.15.1, optimized package footprint

๐Ÿ’พ Caching Strategy

Content TypeCache DurationCache SizeReason
API Documentation30 minutes500 entriesFrequently accessed, moderate updates
Search Results10 minutes200 entriesDynamic content, user-specific
Framework Indexes1 hour100 entriesStable structure, less frequent changes
Technologies List2 hours50 entriesRarely changes, large content
Documentation Updates30 minutes100 entriesRegular updates, WWDC announcements

๐Ÿ“ฆ WWDC Data

All WWDC video data (2014-2025) is bundled directly in the npm package, providing:

  • โœ… Zero network latency - No API calls needed for WWDC content
  • โœ… 100% offline access - Works without internet connection
  • โœ… No rate limits - Unlimited WWDC searches and browsing
  • โœ… Instant responses - All data is locally available

The package includes:

  • ๐Ÿ“น 1,260+ WWDC session videos with full transcripts
  • ๐Ÿท๏ธ 20 topic categories for organized browsing
  • ๐Ÿ“… 13 years of content (2012-2025)
  • ๐Ÿ’พ 35MB of optimized JSON data

Note: Keep your package updated to get the latest WWDC content additions.

๐Ÿงช Development

Quick Commands

Copy & paste โ€” that's it
# Development with auto-reload
pnpm run dev    # or: npm run dev

# Build for production  
pnpm run build  # or: npm run build

# Type checking
pnpm exec tsc --noEmit  # or: npx tsc --noEmit

# Clean build artifacts
pnpm run clean  # or: npm run clean

Testing Locally

Copy & paste โ€” that's it
# Test the MCP server directly
node dist/index.js

# Test with sample queries
npx @kimsungwhee/apple-docs-mcp --test

๐Ÿค Contributing

Contributions are welcome! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - see LICENSE for details.

โš ๏ธ Disclaimer

This project is not affiliated with or endorsed by Apple Inc. It uses publicly available Apple Developer Documentation APIs for educational and development purposes.


<div align="center">

Made with โค๏ธ for the Apple Developer Community

Search Apple Developer Documentation | iOS Development | macOS Development | Swift Programming | SwiftUI | UIKit | Xcode | WWDC Videos | Model Context Protocol | MCP Server

Report Issues โ€ข Request Features โ€ข Documentation

</div>