Context7 MCP Server for Codex
Retrieve version-specific library documentation in your agent.
What it adds
Expose documentation lookup tools through a local or remote MCP connection. This record covers the server; the author's CLI-plus-skills mode is a separate setup option.
documentationlibrariesmcp
Get set up
- Choose local MCP or the provider's remote server configuration.
- For the local example, use the command from OpenAI's Codex MCP documentation.
- For the remote route, follow Context7's client guide for the URL and authentication.
- Check the server in Codex's MCP list and request documentation for a specific library/version.
codex mcp add context7 -- npx -y @upstash/context7-mcpReview before running
Before you install
- Network access
- Node.js 18+ for the documented local CLI setup
- API key recommended by the provider for higher limits
Compatibility & limitations
Documented for Codex and Cursor
Cursor: Author provides Cursor MCP configuration and install links.
- Remote authentication and rate limits are provider-controlled.
- The displayed local command does not configure an API key.
This listing is based on source documentation. We have not installed or runtime-tested this asset.
How it fits together
Complements React review guidance with current library context; not part of the Vercel skill.
React Best Practices · SkillReview React and Next.js code for performance pitfalls.Sources & provenance
Reviewed 2026-09-10. Source revision: master (mutable; commit not pinned).
View recorded revision- Original sourcehttps://github.com/upstash/context7
- Installation documentationhttps://context7.com/docs/resources/all-clients
- License evidencehttps://github.com/upstash/context7/blob/master/LICENSE
- Command sourcehttps://developers.openai.com/codex/mcp
- Repository history checked 2026-09-10https://github.com/upstash/context7/commits/master/