# Context7 Library Docs

Find the right library and fetch its up-to-date documentation in one step. Resolve ambiguous package names to the best match using relevance, coverage, and trust signals. Save time by going straight …

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add chuhuoyuan/context7

# Browse available tools
npx -y smithery tool list chuhuoyuan/context7

# Get full schema for a tool
npx -y smithery tool get chuhuoyuan/context7 resolve-library-id

# Call a tool
npx -y smithery tool call chuhuoyuan/context7 resolve-library-id '{}'
```

## Direct MCP Connection

Endpoint: `https://context7--chuhuoyuan.run.tools`

## Tools (2)

- `resolve-library-id` — Resolves a package/product name to a Context7-compatible library ID and returns a list of matching libraries.
- `get-library-docs` — Fetches up-to-date documentation for a library. You must call 'resolve-library-id' first to obtain the exact Context7-c…

```bash
# Get full input/output schema for a tool
npx -y smithery tool get chuhuoyuan/context7 <tool-name>
```
