Context7 Docs Lookup

Use Context7 to fetch up-to-date library documentation.

You say
Install this skill Read the source first Free Written by upstash · unverified publisher
Context cost
550 tokensestimated from the bundle, loaded when it triggers
Bundle
1 file · 2.2 kBtext throughout, nothing executable
Licence
MITfree to use
Last change
no release on file
Servers it uses
Noneruns standalone

What it does

Use Context7 to fetch up-to-date library documentation. Activates when the user asks about libraries, frameworks, API references, or needs code examples — especially for setup questions, code generation, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

documentation

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md2.2 kB · 54 lines
--- name: context7-docs-lookup description: Use Context7 to fetch up-to-date library documentation. Activates when the user asks about libraries, frameworks, API references, or needs code examples — especially for setup questions, code generation, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc. ---
6When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
7
8## When to Use This Skill
9
10Activate this skill when the user:
11
12- Asks setup or configuration questions ("How do I configure Next.js middleware?")
13- Requests code involving libraries ("Write a Prisma query for...")
14- Needs API references ("What are the Supabase auth methods?")
15- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
16
17## How to Fetch Documentation
18
19### Step 1: Resolve the Library ID
20
21Call resolve-library-id with:
22
23- libraryName: The library name extracted from the user's question
24- query: The user's full question (improves relevance ranking)
25
26### Step 2: Select the Best Match
27
28From the resolution results, choose based on:
29
30- Exact or closest name match to what the user asked for
31- Higher benchmark scores indicate better documentation quality
32- If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs
33
34### Step 3: Fetch the Documentation
35
36Call query-docs with:
37
38- libraryId: The selected Context7 library ID (e.g., /vercel/next.js)
39- query: The user's specific question
40
41### Step 4: Use the Documentation
42
43Incorporate the fetched documentation into your response:
44
45- Answer the user's question using current, accurate information
46- Include relevant code examples from the docs
47- Cite the library version when relevant
48
49## Guidelines
50
51- **Be specific**: Pass the user's full question as the query for better results
52- **Version awareness**: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
53- **Prefer official sources**: When multiple matches exist, prefer official/primary packages over community forks
54
In the file
SKILL.md315 words
Files1
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈80
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
470
on trigger
The instruction body, read only when the skill fires.
0.27%
of a 200k window
Ten skills this size would take about 3% of the window before you open a file.
050k100k150k200k context window

550 tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Small enough to keep loaded permanently without thinking about it.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

1 file, 2.2 kB on disk. A bundle is text throughout: the instructions the model reads, plus the templates it fills in.

  • SKILL.md2.2 kB
What is not in it

No dependencies and nothing executable: a skill is text the agent reads, so the bundle is 1 file you can review in full before installing. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Context7 Docs Lookup · 550 tokens when loaded npx mcprush@latest skill add upstash/context7-docs-lookup

Writes to .claude/skills/context7-docs-lookup/ in the current project. Add --global to put it in your home directory instead, for every project.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Versionnot versioned
Publishedno release date on file
PriceFree
Referenceupstash/context7-docs-lookup

Versions

Its author publishes no version number, so there is nothing here to pin to: what you install is the folder as it stands today. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v
  • No earlier releases have been published to the marketplace.
Pinning

Nothing to pin to: this skill carries no version number of its own. What you install is what the folder holds on the day you install it.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Who wrote it

UP
upstash

Publishes on mcprush.

0 servers listed2 skills listednot claimed
Profile
Publisher
Servers0
Claim this skill