Skip to content

kilianpaquier/context7

v0.2.0MIT

Up-to-date code documentation for LLMs and AI code editors

context7

Up-to-date code documentation for LLMs and AI code editors.

MCP server

This plugin registers the Context7 server with direct binary call context7-mcp.

It resolves library names to Context7-compatible IDs and fetches current, version-specific documentation for libraries, frameworks, SDKs and APIs.

Hooks

EventOutputAgent Runtimes
PreToolUse, before a web search or fetcha reminder to try Context7 before the raw web toolClaude Code, Codex
SessionStarta reminder that Context7 is available for library docsClaude Code, Codex, Copilot, Devin
SubagentStartthe same, for every subagent spawnedClaude Code, Codex, Copilot
pre_llm_callthe same, before every LLM callHermes Agent

Skills

context7-mcp

Synced as-is from upstream. When to use Context7 over training data or a raw web search for library docs.

context7-cli

Fallback for fetching docs through the ctx7 CLI when the Context7 MCP is unavailable or blocked.

Installation

[!warning] Either (or both) context7-mcp (MCP allowed) or ctx7 (MCP denied) binaries are needed in PATH environment variable to work.

Native plugin (recommended):

my-agent plugin install context7@one-for-all

APM package:

apm install kilianpaquier/ai-integration/plugins/context7 -g

APM plugin:

apm marketplace add kilianpaquier/ai-integration
apm install context7@one-for-all -g

Compatibility table

Agent RuntimeManifestMCP configurationHook configuration
APMapm.ymlapm.yml.apm/hooks/hooks.json
Claude Code.claude-plugin/plugin.jsonmcp.jsonhooks/claude.json
Codex.claude-plugin/plugin.jsonmcp.jsonhooks/claude.json
Copilot.plugin/plugin.jsonmcp.jsoncom.github.copilot/hooks/hooks.json
Antigravityplugin.jsonmcp_config.json-
Devin.claude-plugin/plugin.jsonmcp.json-
Hermes Agentplugin.yamlmanual, ~/.hermes/config.yaml (not bundled)__init__.py