# Context7

Provide up-to-date, version-specific code documentation and examples directly into your prompts to enhance coding accuracy and reduce hallucinated APIs. Seamlessly integrate with various MCP clients …

## Quick Start

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

# Browse available tools
npx -y @smithery/cli@latest tool list geobio/context7

# Get full schema for a tool
npx -y @smithery/cli@latest tool get geobio/context7 resolve-library-id

# Call a tool
npx -y @smithery/cli@latest tool call geobio/context7 resolve-library-id '{}'
```

## Direct MCP Connection

Endpoint: `https://context7--geobio.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/cli@latest tool get geobio/context7 <tool-name>
```

---

Source: https://github.com/geobio/context7 | License: MIT
