homebrew-mcp
Homebrew MCP Server — manage packages, casks, taps, and services through Claude on macOS.
macOS only — requires Homebrew to be installed.
19 tools for searching, installing, upgrading, and managing Homebrew packages, casks, taps, and background services — all through natural language in Claude.
Tools
Search & Info (5)
| Tool | Description |
|---|---|
search |
Search for formulae or casks |
info |
Get detailed info about a package |
list_installed |
List all installed formulae or casks |
list_outdated |
List packages with newer versions available |
deps |
Show the dependency tree for a package |
Package Management (5)
| Tool | Description |
|---|---|
install |
Install a formula or cask |
uninstall |
Uninstall a formula or cask |
upgrade |
Upgrade a specific package |
upgrade_all |
Upgrade all installed packages |
cleanup |
Remove old versions and stale downloads |
Taps (3)
| Tool | Description |
|---|---|
tap |
Add a third-party repository (format: user/repo) |
untap |
Remove a third-party repository |
list_taps |
List all tapped repositories |
Services (4)
| Tool | Description |
|---|---|
list_services |
List all managed background services and their status |
start_service |
Start a background service |
stop_service |
Stop a background service |
restart_service |
Restart a background service |
System (2)
| Tool | Description |
|---|---|
doctor |
Run Homebrew diagnostics |
update |
Update Homebrew and formula definitions |
Setup
Requirements
Install Homebrew (if needed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install homebrew-mcp
pip install homebrew-mcp
# or with uv:
uv add homebrew-mcp
Add to Claude Code
claude mcp add homebrew -- uvx homebrew-mcp
Or manually in your Claude config (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"homebrew": {
"command": "uvx",
"args": ["homebrew-mcp"]
}
}
}
Usage Examples
Install Docker Desktop: install("docker", cask=True)
Install PostgreSQL: install("postgresql")
Start PostgreSQL service: start_service("postgresql")
List running services: list_services()
Check for updates: list_outdated()
Upgrade everything: upgrade_all()
Add a tap: tap("homebrew/cask-fonts")
Run diagnostics: doctor()
Troubleshooting
"brew: command not found": Install Homebrew first: brew.sh
Permission errors during install: Some casks require admin password. Claude will show the brew output including any prompts.
Service won't start:
Check doctor() for system issues. Ensure the formula is installed first.
Requirements
- macOS
- Homebrew installed
- Python 3.10+
License
MIT — Hitesh Gupta
Metadata
Release files for homebrew-mcp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| homebrew_mcp-1.0.1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| homebrew_mcp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / homebrew_mcp-1.0.1.tar.gz
| Download URL | homebrew_mcp-1.0.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c03c3e4ae4eac8170a69bf2f96875279b3fb363f2042e2ce74e8aed492ab5e
|
|
BLAKE2b-256 checksum How to use checksums |
97eb75bff845cb74c371fcc7abd7ce175f4e0a2caa65e416d4742b78ce2fc73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / homebrew_mcp-1.0.1-py3-none-any.whl
| Download URL | homebrew_mcp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb06b911015b4f199d45d21f98c42256b556eed02f21aea0f9446efdb87056bf
|
|
BLAKE2b-256 checksum How to use checksums |
208fad59f7be3338772885b71e11ef52fda35a6f6207984b2cfe65c7369a7693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|