# Context7 MCP Server — Versionsnøjagtig Live Library-dokumentation (`context7-docs-mcp`)

> Injicerer opdateret, versionsspecifik officiel dokumentation og kodeeksempler direkte i Cursor-, Claude Code- og Windsurf-prompts.

- **Canonical URL:** https://syndipath.com/da/mcp/context7-docs-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** MIT | **Package:** `@upstash/context7-mcp`
- **Upvotes:** 1295 | **GitHub Stars:** 18900 | **Weekly Installs:** 142000
- **Security Note:** HTTP-200 verificeret på NPM Registry (@upstash/context7-mcp); køres via npx i en STDIO-session med et arbejdsområde.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y @upstash/context7-mcp

# Add to Claude Code CLI
claude mcp add context7-docs-mcp -- npx -y @upstash/context7-mcp
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "context7-docs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `context7_docs_mcp_execute(query: string, options?: object)`: Injects up-to-date, version-specific official documentation and code examples directly into Cursor, Claude Code, and Windsurf prompts.
- `context7_docs_mcp_list_items(filter?: string, limit?: number)`: Lists structured workspace artifacts and capability metadata over JSON-RPC 2.0.
