Skip to main content

Connect Context7 to Claude

Give Claude governed access to Context7’s 2 tools through Runlayer, with identity, policy, scanning, and audit on every call.

Set up

Add Context7 to Claude in four steps

Admins approve the server once. Everyone in Claude then gets it through the same governed connection.

  1. 1

    Approve Context7 in Runlayer

    Add Context7 from the catalog and choose who can use it and which of its tools are allowed.

  2. 2

    Connect Claude to Runlayer

    Admins install the Runlayer Plugin for everyone from Claude’s admin plugin settings, or users add it themselves. With direct tool listing turned on for your deployment, Context7’s 2 tools show up in Claude’s own tool list.

    Claude setup guide
  3. 3

    Sign in to Context7

    Sign in the way Context7 requires. Runlayer holds the credentials so they stay out of the client’s configuration.

  4. 4

    Use Context7 from Claude

    Context7’s approved tools appear in Claude. Every call is checked against policy and recorded.

Tools

2 Context7 tools in Claude

Runlayer policy decides which of these Claude users can call. 2 read data only.

  • Query docs

    Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework.

  • Resolve library ID

    Resolves a package/product name to a Context7-compatible library ID and returns matching libraries.

Control

What Runlayer can see and stop in Claude

Some controls apply to every client at the gateway. Others depend on what Claude exposes to Runlayer.

  • Gateway policy (available)

    Every Context7 call from Claude passes through Runlayer, where your policies can allow, alert, mask, or block it.

  • Audit trail (available)

    Each call is recorded with the user, Claude as the client, the tool, and the policy and scanner decisions.

  • Anthropic inference hooks (available)

    With Claude Enterprise, Anthropic sends each governed Claude prompt to Runlayer before inference, with nothing installed on devices (Anthropic beta).

  • Compliance API import (available)

    Anthropic Compliance API imports Claude web and desktop chats for review.

  • Managed browser extension (available)

    Managed Chrome, Edge, and Firefox deployments can monitor supported web-chat activity and apply prompt-time controls where the surface permits it.

  • Stop a call before it runs (available)

    Runlayer can reject a Claude prompt before Anthropic runs it, which stops the whole request rather than one tool call.

  • Block output after it runs (available)

    Because Runlayer checks the full prompt, tool results in it can be blocked before the model sees them.

  • Redact output in place (not available)

    Anthropic Inference hooks cannot return a rewritten prompt, so Runlayer cannot mask content in Claude. The gateway still applies policy to the call.

Frequently asked questions

Connect more

Find another combination