Advanced AIAvailable Servers
Context7 MCP Server
specialized codebase indexing for React Native
Context7 MCP Server
Context7 is a specialized MCP server designed to give your AI "super-memory" regarding your codebase. While standard AI tools index files, Context7 builds a semantic dependency graph specific to React Native and Expo patterns.
Features
- Semantic Search: Find components not just by name, but by logic (e.g., "Find the component that handles user logout").
- Dependency Graph: Understand the ripple effects of changes. "If I verify the
AuthUserinterface, what files will break?" - Architecture Awareness: It understands Expo Router structure, Redux slices, and Tamagui/Gluestack styling patterns.
Installation & Configuration
Prerequisites
- A local React Native / Expo project.
Setup for Cursor
- Open Cursor Settings > Features > MCP.
- Click + Add New MCP Server.
- Fill in the details:
| Field | Value |
|---|---|
| Name | context7 |
| Type | command |
| Command | npx -y context7-mcp |
- Add Environment Variables:
| Variable | Value |
|---|---|
PROJECT_ROOT | /absolute/path/to/your/project |
Setup for Claude Code
Json
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "context7-mcp"],
"env": {
"PROJECT_ROOT": "/absolute/path/to/your/project"
}
}
}
}Usage Examples
1. Impact Analysis:
"I'm planning to rename the
Userinterface toAppUser. Use Context7 to find all files that will need to be updated."
2. Logical Search:
"Where is the code responsible for refreshing the auth token? I can't find it by filename."
3. Architectural Audit:
"Analyze my
appdirectory structure. Are there any circular dependencies?"