Skip to main content
Glama
Expo Docs MCP Server

Expo Docs MCP Server

by ah2-io

Expo Docs MCP Server

A Model Context Protocol (MCP) server that provides access to Expo documentation with advanced search and navigation capabilities.

Features

  • πŸ” Search Documentation: Search through Expo docs with section and version filtering

  • πŸ“„ Full Content Access: Get complete documentation pages by URL or path

  • πŸ“š Browse Sections: List available documentation sections and topics

  • πŸ› οΈ API References: Access detailed API documentation for Expo SDK modules

  • πŸš€ Quick Start Guides: Platform-specific getting started guides

  • πŸ“¦ Version Support: Access documentation for different SDK versions

  • πŸ’Ύ Smart Caching: 1-week cache for optimal performance

  • πŸ“± Offline First: Downloads and indexes documentation locally for fast, reliable access

  • πŸ”Ž Fuzzy Search: Advanced search with exact, partial, and fuzzy matching

Related MCP server: Expo Docs MCP Server

Installation

npm install expo-docs-mcp

Or use with npx:

npx expo-docs-mcp

Configuration

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "expo-docs": {
      "command": "npx",
      "args": ["expo-docs-mcp"]
    }
  }
}

Available Tools

1. search_expo_docs

Search through Expo documentation.

Parameters:

  • query (required): Search query

  • section (optional): Documentation section (home, guides, eas, reference, learn, versions)

  • version (optional): SDK version (e.g., latest, v51.0.0, v50.0.0)

2. get_expo_doc_content

Get the full content of a specific documentation page.

Parameters:

  • url (optional): Full URL of the documentation page

  • path (optional): Path within docs (e.g., guides/routing)

  • version (optional): SDK version

3. list_expo_sections

List all available documentation sections and topics.

Parameters:

  • section (optional): Section to list contents for

  • version (optional): SDK version

4. get_expo_api_reference

Get API reference for a specific Expo SDK module.

Parameters:

  • module (required): Module name (e.g., expo-camera, expo-location)

  • version (optional): SDK version

5. get_expo_quick_start

Get quick start guide for Expo.

Parameters:

  • platform (optional): Target platform (ios, android, web, all)

Development

Setup

# Clone the repository
git clone https://github.com/ah2-io/expo-docs-mcp.git
cd expo-docs-mcp

# Install dependencies
npm install

# Build the project
npm run build

Scripts

  • npm run build - Build the TypeScript project

  • npm run dev - Watch mode for development

  • npm start - Run the built server

  • npm run download-docs - Download and cache Expo documentation

  • npm run init - Build and download docs (first-time setup)

Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.ts                    # MCP server setup and tool handlers
β”‚   β”œβ”€β”€ offline-docs-fetcher.ts     # Offline documentation management and search
β”‚   β”œβ”€β”€ download-docs.ts            # Documentation download from GitHub
β”‚   └── expo-docs-fetcher.ts        # Online documentation fetching (legacy)
β”œβ”€β”€ docs-cache/                     # Downloaded documentation files
β”œβ”€β”€ dist/                           # Compiled JavaScript output
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

How It Works

  1. Documentation Download: On first run, downloads Expo documentation from GitHub (expo/expo repository)

  2. Local Indexing: Builds a searchable index of all documentation files with metadata extraction

  3. Fuzzy Search: Provides multiple search strategies including exact matching, partial matching, and fuzzy search

  4. Smart Caching: Caches search results and content for 1 week to improve performance

  5. Offline Operation: Works entirely offline after initial documentation download

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details.

About

This MCP server is developed by ah2.io, a software development company focused on building innovative tools and solutions for developers and businesses.

Available Tools

4 tools
get_expo_api_referenceB

Get API reference for a specific Expo SDK module

Inputs: module (required), version.

get_expo_doc_contentC

Get the full content of a specific Expo documentation page

Inputs: url, path, version.

get_expo_quick_startB

Get quick start guide for Expo

Inputs: platform.

search_expo_docsC

Search through Expo documentation

Inputs: query (required), section, version.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct purpose: searching documentation, retrieving page content, getting API reference, and getting quick start guide. No overlap.

    Naming Consistency4/5

    Most tools follow 'get_expo_*' pattern, but 'search_expo_docs' uses 'search_' instead. Still consistent snake_case and clear verb_noun structure.

    Tool Count5/5

    Four tools is a reasonable number for a documentation-focused server, covering search, content retrieval, API reference, and quick start.

    Completeness4/5

    Core documentation needs are covered (search, page content, API reference, quick start). Missing features like listing categories or version-specific search, but these are minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables programmatic interaction with Expo/React Native projects and EAS (Expo Application Services) for managing builds, publishing OTA updates, submitting apps to stores, and accessing comprehensive documentation.
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-powered semantic search through Expo SDK documentation across multiple versions (v51-v53 and latest), allowing developers to quickly find relevant documentation with configurable similarity scoring.
      153 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables fast, offline search and retrieval of Expo documentation from local .mdx files, with tools for searching, getting content, listing sections, API references, and quick start guides.
      35 npm
      17
      MIT