libraryId
(required): Exact Context7-compatible library ID (e.g., /mongodb/docs, /vercel/next.js)
How to use it
libraryId is exposed by the Context7 MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the libraryId tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Context7
$
npx ctx7 setupOther tools in Context7 (4)
libraryName
(required): The name of the library to search for
query
(required): The user's question or task (used to rank results by relevance)
query-docs
Retrieves documentation for a library using a Context7-compatible library ID.
resolve-library-id
Resolves a general library name into a Context7-compatible library ID.