searchLibraries

Free

Search for libraries by name and get their Context7 IDs, quality scores, and available versions. Use this tool first to resolve a library name before fetching documentation with getDocumentation.

Try it

Open in playground
kirha tools run context7_searchLibraries \
  --input '{
    "libraryName": "react",
    "query": "<query>"
  }'

Uses the key saved by kirha auth login.

  • libraryNamestring, required

    e.g., "react", "nextjs", "pandas"

  • querystring, required

    Question or task for relevance ranking

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot