# Context7

> Up-to-date, version-specific library docs pulled into the agent’s context.

- Type: MCP Server
- Use case: Search & Research
- Works with: Claude Code, Claude apps, Cursor, VS Code & Copilot, OpenAI Codex, Gemini CLI, Windsurf, ChatGPT
- Website: https://github.com/upstash/context7
- Source: https://github.com/upstash/context7
- Author: Upstash
- Pricing: Freemium
- License: MIT
- Listed on MetaSkill: https://meta-skill.com/mcp-servers/context7

## Install

```
# Claude Code
claude mcp add context7 -- npx -y @upstash/context7-mcp

# Cursor / VS Code / Windsurf (mcp.json)
"context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp"] }
```

## About

Context7 fetches current documentation and code examples for the libraries you use, so agents stop writing code against outdated APIs. Available as a local npx server or a hosted endpoint; an API key raises limits.
