> ## Documentation index
> Fetch the complete documentation index at: https://context7.com/docs/llms.txt
> Ask it with GET https://context7.com/docs/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.
> Feature requests: https://context7.com/docs/resources/feature-requests.md lists what users asked for and how to vote for a request or add one.
> Page rating: `GET https://context7.com/docs/feedback?path=/docs/enterprise/security/outbound-connections&helpful={true|false}&comment={comment}` records whether this page helped. The `comment` (URL-encoded, at most 500 characters) says what helped, or what was missing or wrong; a `helpful=false` rating needs it. It is anonymous and needs no key. Comments hold no code, secrets or personal data.

# Outbound Connections

> Every destination outside your network that Context7 On-Premise contacts, what it sends, and how to turn it off.

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.

| Call | When | What is sent |
|---|---|---|
| License check | At startup, then every hour | The license key |
| Usage report | Once a day | License 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 search | On a library search, unless the name matches a library on this instance | The search text and library name, with secrets masked first |
| Public library context | On a context query for a library that is not on this instance | The query, with secrets masked first, and the public library ID |
| Cloud policies | When an admin opens or edits cloud policies | The 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.

| Task | When | What is sent |
|---|---|---|
| Parsing | When a source is indexed or refreshed | Page and file text, its path and language |
| Embeddings | When a source is indexed, and on every query | Chunk text when indexing; the query text when searching |
| Reranking | On every query | The query text and the candidate snippets |
| Source code documentation | When a repository is documented from its source | The repository files that the model reads. Clone credentials are removed first |
| Decision model | Only if you turn it on | Page text when indexing; the query, library name, and snippets when searching |
| Image descriptions | Only if you turn on image indexing | Each 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.

| Source | Destinations | What is sent |
|---|---|---|
| GitHub | `github.com`, `api.github.com`, or your GitHub Enterprise Server | Repository 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`) |
| GitLab | `gitlab.com` or your self-managed host | Clone requests and API calls with your token |
| Bitbucket | `bitbucket.org` and `api.bitbucket.org`, or your server | Clone requests and API calls with your credentials |
| Other Git hosts | The host in the repository URL | Clone requests with your credentials, over HTTPS or SSH |
| Azure DevOps | `dev.azure.com`, `*.visualstudio.com`, or your server; `login.microsoftonline.com` for a service principal | API calls with your PAT or Entra token |
| Confluence | Your Confluence site | API calls with your token |
| Notion | `api.notion.com` | API calls with your integration token |
| Google Drive | `www.googleapis.com`, `slides.googleapis.com`, `oauth2.googleapis.com`, and `sts.googleapis.com` / `iamcredentials.googleapis.com` with workload identity federation | API calls with your OAuth or service account token |
| Websites, llms.txt, OpenAPI | The URLs you add, and the links in their sitemaps and llms.txt files | Plain 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

| Destination | When | What is sent |
|---|---|---|
| `login.microsoftonline.com` | Microsoft Entra SSO sign-in | Standard OAuth requests |
| Your OIDC issuer | OIDC SSO sign-in | Discovery, token, and key requests |
| Your SAML metadata URL | When an admin imports SAML metadata from a URL | A GET request |
| An MCP client's metadata URL | When an MCP client signs in with [OAuth](/enterprise/security/mcp-oauth) and a URL client ID | A GET request to that URL |

## Other

| Destination | When | What is sent |
|---|---|---|
| `ghcr.io` | When the container image is pulled | Nothing from the instance. Mirror the image to a private registry to avoid it |
| Your S3 or S3-compatible bucket | Only if you choose S3 [backups](/enterprise/backup-restore) | The backup archives |
| Your Milvus or pgvector server | Only if you choose an external [vector store](/enterprise/deployment/vector-stores) | Vectors 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](/enterprise/deployment/docker#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.
