Tools / Library Docs / Use Cases / Look Up Package Documentation

Look Up Package Documentation

Fetch current documentation for any npm package without leaving your development environment.

Tool
Library Docs icon
Library Docs

Switching to a browser to look up an API method, check a configuration option, or find the correct import path breaks the development flow more than it should. The documentation is often scattered across a README, separate docs sites, and version-specific changelogs, making it slow to find the specific answer you need.

The resolve_library and get_docs skills pull documentation for any npm package on demand — resolve the library by name, then retrieve the relevant documentation section. You get accurate, version-aware content from the canonical source rather than a cached training data answer that may be outdated.

Developers integrating new packages, engineers checking if a method signature has changed between versions, and teams onboarding to unfamiliar libraries all use this to stay in context rather than tab-switching to documentation sites.

Agent Guides

Claude

  1. Connect ToolRouter to Claude: claude mcp add toolrouter -- npx -y toolrouter-mcp
  2. Ask: "Get the documentation for the axios package"
  3. Claude resolves the library and retrieves the relevant docs
Read full guide →

ChatGPT

  1. Add ToolRouter to ChatGPT using the MCP JSON configuration
  2. Ask: "Get the documentation for [package name]"
  3. ChatGPT resolves and retrieves the docs
Read full guide →

Copilot

  1. Add ToolRouter to your Copilot MCP configuration
  2. In Copilot Chat: "Get the docs for [package name]"
  3. Copilot fetches current documentation
Read full guide →

OpenClaw

  1. Connect ToolRouter to OpenClaw: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
  2. Ask: "Get the documentation for [package name]"
  3. OpenClaw fetches current docs for the library
Read full guide →

Related Use Cases