Agent skill

Context7 MCP

by rtadewald in rtadewald/skills

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples.

No licenceAuto-check passedDatabases

Install Context7 MCP

skills CLI
$ npx skills add rtadewald/skills --skill context7-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rtadewald/skills context7-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rtadewald/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/context7-mcp .claude/skills/context7-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context7-mcp
GitHub stars
180
Token cost
~681 tokens
SKILL.md length
340 words
Files
2
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples.

  • Works in 4 steps: Resolve the Library ID → Select the Best Match → Fetch the Documentation → …
  • Asks about libraries
  • SKILL.md covers When to Use This Skill, How to Fetch Documentation and Guidelines
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context7 MCP is an agent skill from rtadewald/skills. This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Databases, covering ORMs and data access. It works with Model Context Protocol, React, Next.js and Supabase. The repository describes itself as: Skills e fluxos que uso nos meus agentes.

When your agent uses it

  • Asks about libraries
  • Needs code examples

Example prompts

  • “/context7-mcp”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Resolve the Library ID
  2. Select the Best Match
  3. Fetch the Documentation
  4. Use the Documentation

What it can do on your machine

Read from SKILL.md and the folder at commit 99d0b39. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context7 MCP loads about 681 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 340 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~681

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 340 words (~681 tokens).

“When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.”

— opening of SKILL.md by rtadewald
name
context7-mcp

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in context7-mcp of rtadewald/skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 99d0b39

Compare with similar skills

Context7 MCP next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context7 MCP compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context7 MCP this skillrtadewald/skills180—~681Automated safety check: PassNone
Docs LookupProgrammerAnthony/Expert-Coding-Harness235—~640Automated safety check: PassMIT
Documentation Lookupaffaan-m/ECC275k1 repos~670Automated safety check: PassMIT
Documentation Lookupaffaan-m/ECC275k—~640Automated safety check: PassMIT
Documentation LookupKaimingWan/oh-my-kiro107—~616Automated safety check: PassMIT
Context7 MCPdanielvm-git/bigpowers257—~603Automated safety check: PassMIT

Similar skills

  • Docs Lookup

    ProgrammerAnthony/Expert-Coding-Harness

    通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API…

    235 GitHub stars~640 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • 通过 Context7 MCP 使用最新的库和框架文档,而非训练数据。当用户提出设置问题、API参考、代码示例或命名框架(例如 React、Next.js、Prisma)时激活。

    275k GitHub starsUsed in 1 repo~670 tokens
    DatabasesAuto-check passed
  • 訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。

    275k GitHub stars~640 tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Documentation Lookup

    KaimingWan/oh-my-kiro

    Fetch current library/framework documentation via Context7. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~616 tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed
  • Context7 MCP

    danielvm-git/bigpowers

    Fetch current library docs via Context7 MCP instead of training data.

    257 GitHub stars~603 tokensUpdated 17 days ago
    DatabasesAuto-check passed
  • Fetching Library Docs

    aiskillstore/marketplace

    Token-efficient library API documentation fetcher using Context7 MCP with 77% token savings.

    430 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed

More from rtadewald/skills

All 8 skills in this repo
  • Fal AI

    rtadewald/skills

    Call fal.ai Model APIs (auth, upload, subscribe/queue, parse responses).

    180 GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check: notes
  • Nano Banana Pro

    rtadewald/skills

    Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.

    180 GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check: notes
  • Openrouter Img

    rtadewald/skills

    Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok).

    180 GitHub stars~800 tokensUpdated 10 days ago
    Auto-check: notes
  • To Wireframe

    rtadewald/skills

    Cria um wireframe tipado e aninhado de uma imagem ou brief de tela, em ASCII ou SVG conforme format=ascii|svg informado pelo usuário.

    180 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Img To HTML

    rtadewald/skills

    Recria um mock de UI (imagem) como HTML + CSS + JS estáticos (sem framework), em etapas com aprovação do usuário: wireframe ASCII tipado com plano → fundo completo → componentes com fontes → assets…

    180 GitHub stars~3.6k tokensUpdated 10 days ago
    Auto-check: notes
  • Plan Screen

    rtadewald/skills

    Ajuda o usuário a planejar uma tela ou fluxo de aplicativo, comparar três propostas com wireframes e, após aprovação, gerar mocks em paralelo.

    180 GitHub stars~2k tokensUpdated 10 days ago
    Auto-check passed

Categories

Questions about Context7 MCP

What does Context7 MCP do?

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Context7 MCP is an agent skill from rtadewald/skills. This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples.

When should I use Context7 MCP?

Context7 MCP fits situations like: asks about libraries; needs code examples.

How do I install Context7 MCP in Claude Code?

Run `npx skills add rtadewald/skills --skill context7-mcp -a claude-code`. Or copy the skill folder (context7-mcp in rtadewald/skills) into .claude/skills/context7-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Context7 MCP in Codex?

Run `npx skills add rtadewald/skills --skill context7-mcp -a codex`. Or copy the skill folder (context7-mcp in rtadewald/skills) into .agents/skills/context7-mcp in your project. Codex loads it when a task matches its description.

Can I use Context7 MCP in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rtadewald/skills --skill context7-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context7-mcp, .gemini/skills/context7-mcp, .github/skills/context7-mcp and .opencode/skills/context7-mcp in your project.

What does Context7 MCP need to run?

SKILL.md names no scripts, command-line tools or credentials: Context7 MCP is instructions for the agent only.

Does Context7 MCP access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context7 MCP safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context7 MCP use?

No licence was found for Context7 MCP or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Context7 MCP use?

About 681 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context7 MCP?

Skills that share tags, products or a category with Context7 MCP: Docs Lookup (ProgrammerAnthony/Expert-Coding-Harness, 235 stars), Documentation Lookup (affaan-m/ECC, 275k stars), Documentation Lookup (affaan-m/ECC, 275k stars) and Documentation Lookup (KaimingWan/oh-my-kiro, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context7 MCP?

rtadewald (a GitHub user) maintains it in rtadewald/skills, which has 180 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 28, 2026.

Source: rtadewald/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.