Context7

by Upstash

Context7

12,0005,035,507/mov3.1.0stdioVerified on npm
Developer ToolsMCP / Integrations

Install & run

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}

Overview

Pulls up-to-date, version-specific documentation and code examples for libraries straight into the model's context — eliminating outdated or hallucinated API usage when coding.

Tools (2)

  • resolve-library-id

    Find a library's docs ID

  • get-library-docs

    Fetch up-to-date docs and examples

Key features

  • Version-specific docs
  • Real code examples
  • Eliminates outdated API usage

Use cases

  • Accurate coding assistance
  • Avoid hallucinated APIs
  • Learn a new library

Frequently asked questions about Context7

Thousands of popular libraries are indexed and kept current.

Did you find this helpful?

Promote Context7

Show your audience this tool is featured on Dhanasvi — embed the badge or share it.

C
Context7 Featured on Dhanasvi