Context7 by Upstash supplies current, version-specific documentation and code examples for thousands of libraries so coding agents avoid outdated APIs. It is available as a hosted remote server or a local npm package, authenticated with a Context7 API key.
Also available as
Connect
- 1Connect it in ChatGPT
Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.context7.com/mcp as the MCP server URL. Add it to a chat from the composer's tools menu.
- 2Or add it to Codex or the API
codex mcp add context7 --url https://mcp.context7.com/mcp --bearer-token-env-var CONTEXT7_API_KEY
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 2
resolve-library-idquery-docsThings to ask
- “Create a Next.js middleware that checks a JWT. use context7”
- “Show me the latest Supabase auth API for sign-in with OTP”
- “How do I configure Tailwind v4 with Vite? use context7”
Learn more
How to set up the Exa MCP server: a hands-on guideConnect Exa's hosted MCP server to Claude Code, Cursor, VS Code, Codex or ChatGPT, pick an auth mode, enable advanced tools, and debug it with curl.12 min readUse plugins and MCP servers in CodexInstall plugins in the Codex CLI with /plugins or codex plugin add, add marketplaces, enable plugins per project, and connect MCP servers through config.toml.Beginner 15 minFor buildersThe best ChatGPT plugins for developers (October 2026)12 ChatGPT and Codex plugins and MCP servers worth installing as a developer: GitHub, Linear, Sentry, Vercel, Supabase, Stripe, Figma, Context7 and more.6 min read