Skip to main content
Glama
ah2-io

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

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.

-
license - not tested
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ah2-io/expo-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server