This MCP server provides access to Context7, a comprehensive documentation service by Upstash that maintains up-to-date documentation for popular libraries and frameworks. The server enables AI assistants to retrieve current documentation and code examples for any supported library, making it ideal for integration with LLMs and AI code editors like Cursor and Claude.
The server offers two complementary tools that work together to deliver accurate, current documentation. The first tool resolves library names to standardized identifiers, while the second fetches the actual documentation content with configurable scope and detail levels.
This service is particularly valuable for developers and AI assistants who need reliable, current documentation rather than potentially outdated training data, ensuring code examples and API references reflect the latest versions of libraries.
Get comprehensive documentation for specific libraries or frameworks to understand their APIs, features, and implementation patterns.
Sample prompt: I need the complete documentation for React Router including routing setup, navigation hooks, and error boundaries
Retrieve documentation focused on specific topics within a library, such as hooks, authentication, or deployment strategies.
Sample prompt: Show me all the authentication-related documentation for Supabase, including code examples for login, signup, and session management
Research and compare multiple libraries by retrieving their documentation to understand feature sets, implementation approaches, and use cases.
Sample prompt: I need documentation for both Prisma and Drizzle ORM to compare their query builders, schema definitions, and TypeScript integration
Access current API references and code examples when implementing specific features or integrating libraries into projects.
Sample prompt: Get me the latest Next.js App Router documentation focusing on server components, data fetching, and route handlers with TypeScript examples
Retrieve documentation for both source and target frameworks to facilitate migration projects and understand API differences.
Sample prompt: I need documentation for Vue 2 and Vue 3 composition API to help migrate my application, focusing on lifecycle hooks and state management
Access setup and configuration documentation for libraries, including installation, configuration, and integration guidelines.
Sample prompt: Show me the complete setup documentation for Tailwind CSS including configuration options, plugin integration, and build optimization