Skip to main content
Glama

Context7 MCP server

Installiere den Context7 MCP-Server in Claude Code:

claude mcp add --scope user --transport http context7 https://mcp.context7.ai/mcp

Starte Claude Code neu und führe danach claude mcp list aus. context7 sollte in der Liste stehen.

Derselbe Befehl auf context7.ai.

Installation

Das ist der Installationsbefehl. --scope user legt ihn in jedem Projekt an. Lasse das Flag weg, wenn du nur das aktuelle Repository möchtest.

Optionaler API-Schlüssel (Ratenbegrenzung, lokale Erweiterungen). Lege einen unter context7.ai/dashboard an:

claude mcp add --scope user --header "Authorization: Bearer YOUR_API_KEY" --transport http context7 https://mcp.context7.ai/mcp

Claude Desktop, Cursor, VS Code, Windsurf

JSON-Konfiguration: Füge unter mcpServers context7 mit type http und url https://mcp.context7.ai/mcp hinzu. Gebrauchsfertige Dateien: examples/claude_desktop_config.json, examples/cursor.json, examples/vscode.json, examples/windsurf.json.

Plugin für Claude Code: plugins/claude/context7. Skill: skills/context7-mcp/SKILL.md. MCP-Registry-Manifest: server.json.

Remote-HTTP statt lokalem npx: Diese Seite ist die Remote-Variante. npx ctx7 setup und npx -y @upstash/context7-mcp sind der lokale/stdio-Weg. Ich nutze die Remote-Variante, um keinen weiteren Node-Prozess starten zu müssen.

Related MCP server: MCP Framework Documentation Server

Verwendung

Frag nach etwas Bibliothekspezifischem und füge use context7 zum Prompt hinzu.

Werkzeuge

Sobald die Verbindung steht, erhältst du die Werkzeuge von Context7: resolve-library-id und query-docs.

Fehlerbehebung

context7 mcp not connecting / context7 mcp server not found: Führe claude mcp list aus. Fehlt der Eintrag, wurde der Add-Befehl nicht übernommen, oder du hast den Neustart übersprungen. Steht der Eintrag darin, funktioniert aber nicht, bedeutet das meist, dass du mcp.context7.ai und mcp.context7.com unter demselben Namen hinzugefügt hast.

spawn context7-mcp ENOENT ist eine lokale stdio-Installation, die keine Binärdatei finden kann. Verwende den weiter oben beschriebenen Remote-HTTP-Befehl.

Lizenz

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides up-to-date, version-specific documentation and code examples for software libraries directly to LLMs, enabling resolution of library identifiers and retrieval of relevant documentation with code snippets.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Provides tools for AI agents to search, browse, and retrieve the full documentation for the mcp-framework. It enables agents to access documentation sections and page content directly within MCP-compatible environments like Claude Code and Cursor.
    3
    10 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.
    MIT