Skip to main content
Glama

Context7 MCP

by decvb

resolve-library-id

Convert a general package name into a Context7-compatible library ID. Essential for retrieving accurate documentation and code examples via 'get-library-docs' in Context7 MCP.

Instructions

Required first step: Resolves a general package name into a Context7-compatible library ID. Must be called before using 'get-library-docs' to retrieve a valid Context7-compatible library ID.

Input Schema

NameRequiredDescriptionDefault
libraryNameYesLibrary name to search for and retrieve a Context7-compatible library ID.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "libraryName": { "description": "Library name to search for and retrieve a Context7-compatible library ID.", "type": "string" } }, "required": [ "libraryName" ], "type": "object" }
Install Server

Other Tools from Context7 MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/decvb/context7'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server