Context7 documentation lookup skill for AI coding agents. Lightweight REST API wrapper with no MCP context overhead.
npx skills add https://github.com/netresearch/context7-skill --skill context7Installieren Sie diesen Skill über die CLI und beginnen Sie mit der Verwendung des SKILL.md-Workflows in Ihrem Arbeitsbereich.
Fetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.
Add the Netresearch marketplace once, then browse and install skills:
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
Install with any Agent Skills-compatible agent:
npx skills add https://github.com/netresearch/context7-skill --skill context7
Download the latest release and extract to your agent's skills directory.
git clone https://github.com/netresearch/context7-skill.git
composer require netresearch/context7-skill
Requires netresearch/composer-agent-skill-plugin.
The skill triggers on keywords like:
"How do I use React hooks?"
"What's the Next.js App Router API?"
"Show me Prisma query patterns"
"Express middleware documentation"
# Search for a library ID
scripts/context7.sh search "prisma"
# Fetch documentation with topic
scripts/context7.sh docs "/prisma/prisma" "queries"
context7/
├── SKILL.md # AI instructions
├── README.md # This file
├── LICENSE-MIT # Code license (MIT)
├── LICENSE-CC-BY-SA-4.0 # Content license (CC-BY-SA-4.0)
├── scripts/ # Automation scripts
│ └── context7.sh # REST API wrapper
└── .github/
└── workflows/
└── release.yml # Release packaging
| Aspect | MCP Server | This Skill |
|---|---|---|
| Context cost | ~500-2000 tokens always | ~100 tokens on-demand |
| Tool schemas | Always in context | None |
| Invocation | Model decides | Model decides |
| API access | Via MCP protocol | Direct REST API |
Best for: Users who occasionally need library docs but don't want persistent context overhead.
| Variable | Required | Description |
|---|---|---|
CONTEXT7_API_KEY |
No | API key for higher rate limits |
Contributions welcome! Please submit PRs for:
This project uses split licensing:
See the individual license files for full terms.
Made with love for Open Source by Netresearch