Skip to main content

Context7 On-Premise runs inside your infrastructure. Your repositories, generated documentation, database, and vector store stay there. This page lists every destination outside your network that the instance can contact, what each one receives, and how to turn it off.

Apart from the Context7 Cloud license and usage calls listed below, the instance sends no telemetry, analytics, crash reports, or update checks. The web UI loads no fonts, scripts, or images from external hosts.

Context7 Cloud#

These calls go to https://context7.com/api (or your CONTEXT7_API_URL), and only with an online license. An offline license (ctx7off. prefix) is checked locally and makes none of them.

CallWhenWhat is sent
License checkAt startup, then every hourThe license key
Usage reportOnce a dayLicense key, call counts per endpoint, number of active API keys, app version, and team size. No query text, library names, user names, emails, or IP addresses
Public library searchOn a library search, unless the name matches a library on this instanceThe search text and library name, with secrets masked first
Public library contextOn a context query for a library that is not on this instanceThe query, with secrets masked first, and the public library ID
Cloud policiesWhen an admin opens or edits cloud policiesThe license key and the admin’s changes

A query for one of your own libraries is answered on the instance and sends nothing to Context7 Cloud. No local library content or ID leaves through these calls.

AI providers#

You choose the providers under Workspace Settings. They receive the content that the instance needs for each task.

TaskWhenWhat is sent
ParsingWhen a source is indexed or refreshedPage and file text, its path and language
EmbeddingsWhen a source is indexed, and on every queryChunk text when indexing; the query text when searching
RerankingOn every queryThe query text and the candidate snippets
Source code documentationWhen a repository is documented from its sourceThe repository files that the model reads. Clone credentials are removed first
Decision modelOnly if you turn it onPage text when indexing; the query, library name, and snippets when searching
Image descriptionsOnly if you turn on image indexingEach documentation image

The destination is the provider you configure: OpenAI (api.openai.com), an OpenAI-compatible endpoint such as Azure OpenAI or vLLM, Anthropic (api.anthropic.com), Gemini (generativelanguage.googleapis.com), AWS Bedrock (bedrock-runtime.<region>.amazonaws.com or your VPC endpoint), or Google Vertex AI (aiplatform.googleapis.com). The decision model and image descriptions can also use OpenRouter (openrouter.ai) or the Vercel AI Gateway (ai-gateway.vercel.sh) if you select them.

Reranking is on by default for OpenAI, Anthropic, Gemini, and Vertex AI. It is off by default for Bedrock and custom endpoints. To stop sending snippets on every query, turn Rerank off.

To keep all AI traffic inside your network, use an OpenAI-compatible endpoint that you host, or a Bedrock VPC endpoint.

With Bedrock or Vertex AI and workload credentials, the instance also contacts the cloud credential endpoints (169.254.169.254, metadata.google.internal, 169.254.170.2, 169.254.170.23).

Sources you connect#

The instance contacts a source only after an admin adds it. Scheduled refreshes and daily syncs then contact it again.

SourceDestinationsWhat is sent
GitHubgithub.com, api.github.com, or your GitHub Enterprise ServerRepository clone requests and API calls with your app or token credentials. For each github.com repository, the instance also clones its wiki (<repo>.wiki.git)
GitLabgitlab.com or your self-managed hostClone requests and API calls with your token
Bitbucketbitbucket.org and api.bitbucket.org, or your serverClone requests and API calls with your credentials
Other Git hostsThe host in the repository URLClone requests with your credentials, over HTTPS or SSH
Azure DevOpsdev.azure.com, *.visualstudio.com, or your server; login.microsoftonline.com for a service principalAPI calls with your PAT or Entra token
ConfluenceYour Confluence siteAPI calls with your token
Notionapi.notion.comAPI calls with your integration token
Google Drivewww.googleapis.com, slides.googleapis.com, oauth2.googleapis.com, and sts.googleapis.com / iamcredentials.googleapis.com with workload identity federationAPI calls with your OAuth or service account token
Websites, llms.txt, OpenAPIThe URLs you add, and the links in their sitemaps and llms.txt filesPlain GET requests

Credentials go only to the host they belong to. Context7 refuses to send Git credentials over plain http:// to any host other than loopback.

Sign-in#

DestinationWhenWhat is sent
login.microsoftonline.comMicrosoft Entra SSO sign-inStandard OAuth requests
Your OIDC issuerOIDC SSO sign-inDiscovery, token, and key requests
Your SAML metadata URLWhen an admin imports SAML metadata from a URLA GET request
An MCP client’s metadata URLWhen an MCP client signs in with OAuth and a URL client IDA GET request to that URL

Other#

DestinationWhenWhat is sent
ghcr.ioWhen the container image is pulledNothing from the instance. Mirror the image to a private registry to avoid it
Your S3 or S3-compatible bucketOnly if you choose S3 backupsThe backup archives
Your Milvus or pgvector serverOnly if you choose an external vector storeVectors and chunk text

A support bundle is a file that you download. The instance uploads nothing. While it builds the bundle, it checks that it can reach Context7 Cloud and your AI provider (api.openai.com when no provider is set).

Proxy and direct connections#

Set HTTPS_PROXY, HTTP_PROXY, and NO_PROXY to send outbound traffic through a forward proxy. See Egress proxy.

These connections do not use the proxy:

  • The cloud credential endpoints listed above.
  • SSH Git clones.
  • The fetch of an MCP client’s metadata URL during OAuth sign-in.
  • Image downloads for image indexing, when it is on.

Run without internet access#

An instance can run with no connection to the internet when:

  1. It uses an offline license.
  2. Its AI provider is inside your network or reachable through a private endpoint.
  3. It indexes only sources inside your network.
  4. Its image comes from a private registry.

Public library search and context then return no results from Context7 Cloud.