# Install context7-mcp with Homebrew

Up-to-date code documentation for LLMs and AI code editors. Version 3.2.5 via Homebrew; verified 2026-07-26.

## Install

```sh
sudo av install brew:context7-mcp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install context7-mcp
```

  Evidence: provider-native install command

## Package facts

- **Package key:** brew:context7-mcp
- **Package manager:** Homebrew
- **Version:** 3.2.5
- **Source summary:** Up-to-date code documentation for LLMs and AI code editors
- **Homepage:** <https://context7.com>
- **Last updated:** 2026-07-26T06:33:29Z
- **Generated:** 2026-08-03T00:40:33+00:00

## Executables

- context7-mcp (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.2.5
## Project history and usage

Context7 MCP is Upstash's Model Context Protocol server for giving AI coding agents current, version-specific library documentation at prompt time.

### Project history

The public Context7 repository was created in March 2025 and describes itself as the source for the MCP server, while noting that supporting backend, parsing, and crawling components are private. The `@upstash/context7-mcp` npm package followed in April 2025; a separate `ctx7` CLI package appeared in January 2026.

### Adoption history

Context7 grew with the MCP and AI-editor packaging wave. Official docs and the README document setup paths for MCP clients, CLI-plus-skill workflows, and multiple editor integrations, while package metadata shows distribution through npm and the input package facts record Homebrew and Nix packaging.

### How it is used

Users either register `https://mcp.context7.com/mcp` with an MCP client or run `npx ctx7 setup` to install a CLI/skill workflow. The README recommends an API key for higher rate limits but does not document a fixed local credential file for the Homebrew package.

### Why package nerds care

The formula is notable because it packages an MCP server, not a traditional standalone Unix tool. It reflects a newer class of developer-tool packages whose main job is to bridge local editors and remote documentation indexes.

### Timeline

- 2025-03-26: Public Context7 repository created.
- 2025-04-08: `@upstash/context7-mcp` npm package created.
- 2026-01-21: `ctx7` npm CLI package created.
- 2026-06-22: `@upstash/context7-mcp@3.2.2` release published.

### Related projects

- The README lists related official packages including `ctx7`, `@upstash/context7-sdk`, and Context7 tools for the Vercel AI SDK.

### Sources

- <https://context7.com/docs>
- <https://github.com/upstash/context7>
- <https://www.npmjs.com/package/@upstash/context7-mcp>
- <https://www.npmjs.com/package/ctx7>
- <https://github.com/upstash/context7/releases/tag/%40upstash/context7-mcp%403.2.2>
- <https://formulae.brew.sh/formula/context7-mcp>


## Security Notes

No matching local secret-handling manifest was found for context7-mcp. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Combined YAML source

View the package source record on GitHub. [combined/context7-mcp.yml](https://github.com/automic-vault/db/blob/main/combined/context7-mcp.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
