Context7

Retrieve documentation and examples for the library and version in your codebase. Context7 helps Claude check framework APIs before suggesting a change.

Published by Context7

Open publisher guide

Look up a specific library version

Use Context7 MCP when you need Claude to check the documentation for an API, configuration option, or migration. Start with the package name and the version from your project. If several libraries share a similar name, specify the Context7 library ID to identify the right source. Include the particular API or behavior you want explained so the result stays focused.

Context7 guidance on IDs and versions

Connect Context7 to Claude

Context7 documents a Claude connector with a browser sign-in. Its installation guide also describes the Claude Code plugin option. Follow the setup path for the client you actually plan to use and confirm the connector appears before starting a coding task.

Context7 installation guide

Check one API before editing

Ask Claude to check the router documentation for the exact React Router version installed in a sample app. Request the supported API and a reference link before requesting a patch. If the returned example looks unfamiliar, check the matched package and version against the lockfile. Then try the smallest example locally before changing several routes.

Tools recorded in the directory

  • resolve-library-id
  • query-docs
Browse MCP servers