Context7 project image

Context7 MCP Server

Upstash’s MCP server and CLI that pull current, version-specific library docs into a coding agent’s context.

Published by upstashupstash/context7

What you are opening

Use it when an agent writes code against a library that changed after its training data. It looks up current docs and examples for the version you use.

How to set it up

  1. Run the setup command and pick the agents to configure.
  2. Restart the agent so it loads the new server or skill.
  3. Ask a question about a library version you use and check the cited docs.

Requirements and third-party terms

Node.js 22.13 or newer for the ctx7 CLI. Queries go to Upstash’s hosted service; an API key raises rate limits. The README runs ctx7 without a version; the snippet here pins npm release 0.8.0, checked on Oct 19, 2026. Listed ≠ audited. Review scripts before running.

Before you add it

  • Read the instructions and review any scripts before running them.
  • Check tool access, required credentials and third-party network requests.
  • The source license and any resource-specific terms take precedence.