Context7 is a platform that delivers up-to-date, version-specific library documentation directly into AI coding assistant prompts. It operates as an MCP (Model Context Protocol) server exposing two core toolsβ`resolve-library-id` (converts a library name to a Context7 ID) and `query-docs` (retrieves documentation snippets for a given concept)βalongside a CLI (`ctx7`) for setup and querying, a TypeScript SDK for programmatic access, and plugins for Cursor, Claude Code, VS Code, Copilot CLI, OpenCode, and more. The architecture is client-server: the MCP server communicates with a private backend API that indexes documentation from public and private source repositories, websites, OpenAPI specs, and Confluence spaces. The CLI configures MCP servers for multiple AI coding agents by writing JSON/TOML config files and skill definitions. The SDK provides a typed client with retry, abort, and rate-limit handling. All components share a common workflow: resolve a library ID, then query documentation for a specific concept. The repository is a pnpm monorepo with packages for the MCP server (`@upstash/context7-mcp`), CLI (`ctx7`), SDK (`@upstash/context7-sdk`), Vercel AI SDK tools (`@upstash/context7-tools-ai-sdk`), and thin extensions for pi.dev and OpenCode. It includes comprehensive documentation, enterprise deployment guides (Docker, Kubernetes, on-premise), and integrations with GitHub Actions, Okta, Entra ID, and Vercel Marketplace. The codebase demonstrates strong engineering practices: command pattern in the SDK, declarative agent configuration, OpenTelemetry instrumentation with lazy loading, and secure authentication flows (OAuth, JWT, API keys). External dependencies include the Context7 backend API, Clerk for OAuth, Vercel Marketplace OIDC, and various AI coding agent platforms.