What it is
A documentation lookup in two steps: resolve-library-id turns a package name into a Context7 library ID, and query-docs fetches documentation and code examples for that ID against your question. The same index is reachable two ways — as an MCP server, or as a ctx7 CLI that a skill drives without MCP at all.
Requirements
Nothing installed on the fastest path: point your client at https://mcp.context7.com/mcp and pass a key as Authorization: Bearer <YOUR_API_KEY>. The key is free from the Context7 dashboard and optional, but it raises the rate limit. npx ctx7 setup does the whole thing — OAuth, key generation, and installing either the skill or the MCP server — and needs Node.js 18 or newer. The local package is @upstash/context7-mcp over stdio, reading CONTEXT7_API_KEY. Library documentation is community-contributed, so accuracy varies by project.
Setup effort
One command — npx -y @upstash/context7-mcp