Fetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.
- No MCP Overhead - Uses REST API directly, no tool schemas consuming context
- Current Documentation - Fetches live docs from Context7's curated database
- Topic Filtering - Focus on specific areas (hooks, routing, middleware, etc.)
- 50+ Libraries - React, Next.js, Vue, Express, Prisma, and more
/plugin marketplace add netresearch/claude-code-marketplaceThen browse skills with /plugin.
Download the latest release and extract to ~/.claude/skills/context7/
composer require netresearch/agent-context7Requires: netresearch/composer-agent-skill-plugin
The skill triggers on keywords like:
- "how do I use [library]"
- "what's the API for [library]"
- "[library] documentation"
- "show me [library] patterns"
"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 license
├── 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:
- Adding common library IDs
- Improving script error handling
- Documentation updates
MIT License - See LICENSE for details.
- Context7 API by Upstash
- Skill developed by Netresearch DTT GmbH
Made with love for Open Source by Netresearch