Connect Context7 to Your AI Agent

Name the library and explain the behavior you need. AI can resolve the right Context7 library and connect its documentation snippets to an implementation answer.

2 tools API key

Try a Context7 Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Context7

Answer an Implementation Question from Documentation

Resolve the intended library and retrieve documentation context relevant to your task.

/oo Context7: Search Context7 for library [library name] relevant to [implementation question]. Select the intended library ID, retrieve its documentation context, and explain an approach using the returned snippets and rules.

Start Working with Context7

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Context7

    Connect with a Context7 API key.

    Connect Context7 →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A Context7 API key.

Context7 Tools

Context7 library search pairs a library name with a task, and documentation lookup returns relevant code and information snippets. These supply reference context for technical answers.

Find Libraries and Documentation Context

Rank library matches against a question and retrieve relevant code snippets, information snippets, and rules.

2 tools

Search Libraries

Search Context7 for libraries ranked against a question or task.

context7.search_libraries

Get Documentation Context

Retrieve relevant Context7 documentation and code snippets for a library.

context7.get_documentation_context

Frequently Asked Questions

What if several libraries have similar names?

Search by name and task, then choose the intended library ID before retrieving documentation.

How specific should my documentation question be?

Include the library, task, relevant version if known, and the behavior you need. That context helps rank and retrieve relevant snippets.

Does retrieving a snippet test it in my project?

No. The result supplies reference documentation and examples; project-specific code still needs implementation and verification.

Connect Context7

About Context7 ↗