← all servers
~/mcps.gallery/servers/context7
[documentation][OFFICIAL]

Context7

Pull current, version-accurate library documentation straight into the model's context.

[documentation][developer-tools]

Context7 solves a narrow but common problem: a model's training data goes stale, so it suggests deprecated APIs or hallucinates methods that never existed. This server fetches up-to-date documentation and code examples for the library and version you're actually using, and drops them directly into the conversation.

Works with a large and growing index of popular open-source libraries across languages.

install

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