PlugWiki

context7 skill for Claude Code: look up current library docs

Makes Claude look up current library docs and code examples from the Context7 API with curl, for developers who want answers that match the latest version.

Installs
11.2K
on skills.sh
Stars
299
on GitHub
Updated
Apr 2026
last repo commit

The skill gives Claude a two-step routine. It searches Context7 for the library, takes the library ID from the first result, then fetches the documentation for your topic as plain text. The SKILL.md says to use it "instead of relying on potentially outdated training data".

It triggers when you look up library documentation, ask for code examples for a specific API, or want to verify how a function is used. It needs curl in your shell and, optionally, jq to trim the JSON. The SKILL.md says no API key is required for basic usage, which is rate-limited. The skill bundles no scripts.

This is a community skill by Eleanor Berger (intellectronica), not a product of Upstash, the company behind Context7. It calls the public context7.com API with curl. If you would rather have Context7's own MCP server, see the Context7 MCP server page.

Good for

  • Developers using libraries that change faster than a model's training data
  • Anyone checking the correct usage of a function before writing code
  • People who want docs lookup without setting up an MCP server

Install context7

Claude Code

  1. 1

    Copy this prompt.

    Install the context7 skill in Claude Code. Run this command:
    
    claude plugin marketplace add intellectronica/agent-skills
    claude plugin install context7@intellectronica-skills
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

The skill runs curl in your shell, so your agent needs shell access. The plugin installs only this one skill: its folder holds plugin.json, a README and the SKILL.md.

From the project README. Source.

What's in the skill

When it loads

Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentation for any programming library or framework, finding code examples for specific APIs or features, verifying correct usage of library functions, or obtaining current information about library APIs that may have changed since training.

Sections in SKILL.md

  1. Overview
  2. Workflow
  3. Step 1: Search for the Library
  4. Step 2: Fetch Documentation
  5. Examples
  6. React hooks documentation
  7. Next.js routing documentation
  8. FastAPI dependency injection
  9. Tips

Key facts

Installs on skills.sh
11,231 as of 2026-11-02
Last repo commit
2026-04-25

What it includes

  • Runs curl against the libs/search endpoint to find a library ID

    Sends the library name and a topic to context7.com and reads the first result, which carries the ID, title, description and number of snippets.

    Try: “Find the Context7 ID for FastAPI and look up dependency injection.”

    Runs code · Step 1: Search for the library

  • Runs curl against the context endpoint with that library ID and your topic

    Returns documentation for the topic. The type=txt option gives plain text, which is easier to read than the default JSON.

    Try: “Fetch the Next.js app router docs and show me the routing rules.”

    Runs code · Step 2: Fetch documentation

  • If the first match is wrong, look at the other results in the array

    The SKILL.md tells Claude to check further results when the first library is not the right one.

    Read · Check other results

  • Be specific, URL-encode spaces, filter JSON with jq

    Specific queries rank better. Spaces in a query become + or %20.

    Query tips

From the official docs

Permissions

Low risk

The skill makes Claude run curl commands that send your library name and topic to context7.com. Keep private details out of the query.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Your search terms go to context7.com

    Each lookup sends a library name and your topic text to the Context7 API in the URL. Keep private project names and code out of the query. github.com

  • Basic use is rate-limited and needs no key

    The SKILL.md says no API key is required for basic usage, and that it is rate-limited. Heavy use may hit that limit. github.com

Technical details
Turning on read-onlyThe SKILL.md defines no read-only switch.
Talks tocontext7.com
Scopes
  • Runs curl commands in your shell against context7.com

  • Uses jq in its examples to filter the JSON answers

Questions

What does the context7 skill do?

It makes Claude fetch current documentation and code examples for a library from the Context7 API. Claude searches for the library ID first, then requests the docs for your topic.

Is this Upstash's Context7?

No. The repo and the plugin.json name Eleanor Berger (intellectronica) as author,. The skill only calls the context7.com API with curl. For the Context7 MCP server, see /mcp/context7.

How do I install the context7 skill?

Use the install box at the top of this page. In Claude Code, the README documents a plugin route (claude plugin install context7@intellectronica-skills) and the skills CLI. For Codex, the box shows the skills folder.

Which license does it use?

The sources disagree. The repo's LICENSE.txt is CC0-1.0, and the plugin's plugin.json says MIT.

Does it need an API key?

No for basic use. The SKILL.md says no API key is required for basic usage, which is rate-limited.

Is it safe to install?

It is one SKILL.md with no bundled scripts. When it runs, Claude uses curl to send your library name and topic to context7.com, so avoid putting private project details in a lookup.

Does it work in the Claude app or Cursor?

The repo README documents the skills CLI and a Claude Code / Cowork plugin route. It documents no Claude app upload or Cursor setup, and the skill needs shell access for curl.

Which libraries can it look up?

Any library that Context7 indexes. The SKILL.md gives React, Next.js and FastAPI as examples, and says to check other results when the first match is wrong.

How is it different from the Context7 MCP server?

The skill is one SKILL.md that tells Claude to run curl against context7.com, so it needs shell access and no MCP setup. The MCP server is a separate tool with its own install; see /mcp/context7.

Information

updated Nov 2, 2026

Folder
skills/context7

intellectronica/agent-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 4
  1. intellectronica/agent-skills README · github.com
  2. context7 plugin README · github.com
  3. context7 plugin.json · github.com
  4. context7 SKILL.md · github.com

Updated Nov 2, 2026.