Featured Developer Tools
documentationlibrariescodecontextdeveloper

Summary

Pulls up-to-date, version-specific documentation and code examples for libraries straight into your prompt.

Features

  • Up-to-date library documentation
  • Version-specific code examples
  • Thousands of libraries indexed
  • Reduces outdated API hallucinations
  • Works in any MCP client

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "Context7" tools will be available.
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}

Description

Context7 by Upstash fetches current, version-specific documentation and code examples for thousands of libraries and injects them into the model's context on demand. It reduces hallucinated or outdated API usage by grounding answers in real, up-to-date docs.

Related MCP Servers

Browse all MCP servers →