Skip to content
Back to skills

Mcp Context7

ASecurity

Provides Context7 MCP server workflow for looking up library documentation, framework patterns, and API references with caching and fallback strategies. Use when user asks about documentation lookup, library usage, framework patterns, import questions, package API, Context7, 라이브러리, or 프레임워크.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentstypescriptgoreactnextjsexpressdebuggingapifrontendbackenddocumentation

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add Yoodaddy0311/artibot --skill mcp-context7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Context7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Context7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yoodaddy0311-mcp-context7/badge)](https://www.skillsdirectory.com/skills/yoodaddy0311-mcp-context7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
context: fork
name: mcp-context7
description: "Provides Context7 MCP server workflow for looking up library documentation, framework patterns, and API references with caching and fallback strategies. Use when user asks about documentation lookup, library usage, framework patterns, import questions, package API, Context7, 라이브러리, or 프레임워크."
lang: [en, ko]
platforms: [claude-code, gemini-cli, codex-cli, cursor]
level: 2
triggers:
  - "documentation"
  - "library"
  - "framework"
  - "import"
  - "package"
  - "Context7"
  - "official docs"
agents:
  - "backend-developer"
  - "frontend-developer"
tokens: "~2K"
category: "tooling"
whenNotToUse: "General reasoning, code review, or business logic tasks that do not require up-to-date library documentation or API reference lookup."
sources:
  - "https://context7.com/docs"
  - "https://modelcontextprotocol.io/introduction"
version: "1.0.0"
lastVerified: "2026-06-08"
source_hash: 2141edda
---
# MCP: Context7

## When This Skill Applies
- Implementing features with external libraries
- Looking up framework-specific patterns and conventions
- Verifying API signatures, parameters, options
- Finding official best practices for a technology

## Core Guidance

**Workflow**: resolve-library-id -> query-docs -> apply patterns -> cache results

**Step-by-Step**:
1. Detect library need (import statement, framework question, dependency)
2. Call `resolve-library-id` with library name + user query
3. Call `query-docs` with resolved library ID + specific topic
4. Apply patterns with proper version compatibility
5. Cache successful patterns for session reuse

**Usage Rules**:
- Always resolve library ID first, never guess
- Max 3 calls per question; use best result after 3 attempts
- Be specific: include version and topic in queries
- Verify docs match project dependency versions

**Good Queries**: "How to set up JWT auth in Express.js", "React useEffect cleanup examples", "Next.js App Router dynamic routes TypeScript"

**Bad Queries**: "auth", "hooks", "how to code"

**Error Recovery**:
| Failure | Recovery |
|---------|----------|
| Library not found | Broader search terms -> WebSearch fallback |
| Timeout | Cached knowledge -> note limitations |
| Invalid ID | Retry different terms -> WebSearch |
| Version mismatch | Find compatible version -> suggest upgrade |
| Server down | WebSearch for official docs |

## Quick Reference
- Always: resolve-library-id before query-docs
- Max 3 attempts per question
- Cache results within session
- Fallback: WebSearch -> cached knowledge -> built-in knowledge

## Rationalizations
> 이 절은 참고 자료다 — 아래 변명·반박은 모델이 작업 중 스스로 지름길을 점검하는 데 쓰고, 사용자에게 묻는 질문 목록이나 별도 게이트로 쓰지 않는다. 반박에 비추어 스스로 바로잡을 수 없으면 이 스킬의 Step·Checkpoint 규칙을 따른다.

The following table captures common excuses agents make to skip the rigor of this skill, paired with factual rebuttals.

| Excuse | Rebuttal |
|--------|----------|
| "my training data is recent enough" | library APIs break weekly; Context7 has current docs your training does not |
| "I will just read the README" | READMEs lag behind releases; Context7 queries the live doc source |
| "Context7 is slow" | one Context7 query is faster than debugging a deprecated API call in production |
| "I know this library well" | well enough to know what changed in the last minor version? verify before you commit |
| "caching means stale data" | Context7 caches with TTL and you can force-refresh — stale is a configuration choice |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.