Homebrew MCP logo

Homebrew MCP

by jeannier

Manage macOS Homebrew packages, taps, services, versions, updates, and diagnostics through MCP tools.

Install Homebrew MCP

Run the project’s own setup commands, in order.

Setup steps from the project

jeannier/homebrew-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/jeannier/homebrew-mcp
    
  2. 2. Run
    cd homebrew-mcp
    
  3. 3. Configure
    uv venv
    
  4. 4. Install
    uv pip install -r requirements.txt
    
  5. 5. Start the server
    uv run python homebrew_mcp.py
    

Overview

jeannier/homebrew-mcp MCP server exposes macOS Homebrew operations as MCP tools for compatible AI clients. It runs local brew commands through Python subprocesses and communicates over stdio using JSON-RPC 2.0. Use it to inspect packages, install or remove software, manage services, investigate brew health, or update package metadata. Homebrew and Python with the project dependencies must already be available on macOS.

Use cases

  • List installed Homebrew packages
  • Install or uninstall a Homebrew package
  • Find outdated packages and upgrade them
  • Diagnose Homebrew issues with brew doctor
  • Manage Homebrew services and taps

Key features

  • Package installation, removal, upgrade, and cleanup
  • Package search, information, dependency, and outdated checks
  • Homebrew diagnostics and updates
  • Tap, pin, unpin, and service management
  • stdio MCP communication with request logging

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars30Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Homebrew MCP works

What jeannier/homebrew-mcp MCP server does

The jeannier/homebrew-mcp MCP server lets an MCP-compatible client operate a local Homebrew installation through natural-language requests. It is intended for macOS systems with Homebrew installed, and it exposes package, source, version, service, and diagnostic operations as MCP tools.

The server can perform package changes such as installing, uninstalling, upgrading, and cleaning up packages. It can also inspect the local setup by listing installed packages, searching Homebrew, showing package information, identifying outdated packages, and examining dependencies. Additional tools cover Homebrew health checks, repository updates, taps, pinned versions, and services.

How it works

The jeannier/homebrew-mcp MCP server runs as a local Python process and invokes the real brew executable through subprocesses. MCP requests and responses travel over standard input and output using JSON-RPC 2.0.

Requests and results are written to homebrew_mcp.log. This provides a local record that can be followed with standard shell tools while testing or troubleshooting. The repository also includes an interactive test script that discovers the server's available tools and can make multiple calls for one prompt through the Anthropic API; that script is separate from the MCP server itself.

Setup and configuration

Clone the repository, install uv, create a virtual environment, and install the dependencies from requirements.txt. The documented local launch command is:

sh
uv run python homebrew_mcp.py

The process listens silently for MCP requests over stdio, so the log file is the main indication that it started successfully. Claude Desktop can launch it automatically when configured with uv, the run subcommand, the project's directory, and homebrew_mcp.py. The configuration requires an absolute path to the cloned project.

Cursor support is also documented. Its generated configuration assumes the repository is under ~/Documents/GitHub/homebrew-mcp; if the project is elsewhere, update the path in ~/.cursor/mcp.json and restart Cursor.

Tools and capabilities

The jeannier/homebrew-mcp MCP server groups its supported commands as follows:

  • Package management: install, uninstall, upgrade, cleanup
  • Information and discovery: list, search, info, outdated, deps
  • Health and updates: doctor, update
  • Taps and sources: tap, untap
  • Version control: pin, unpin
  • Services: services

These tools allow an agent to answer questions about installed software or request changes such as installing a package. Because commands are executed against the local Homebrew installation, operations that modify packages or services affect the host macOS system.

Limitations and notes

This project is specifically documented for macOS and requires Homebrew to be installed. The README reports testing with macOS Sonoma 14.7.5, Homebrew 4.5.8, Python 3.13 managed by uv, and MCP module version 1.9.4.

The Anthropic API key mentioned in the repository is needed for the optional interactive Claude test script, not for the MCP server's documented stdio operation. The server itself does not list an API-key configuration requirement. Use care with package-management requests because the exposed tools can install, remove, upgrade, or otherwise change local Homebrew state.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Homebrew MCP

Clone the repository, install uv, create a virtual environment, install requirements.txt, and run it with `uv run python homebrew_mcp.py`.

Yes.

Yes. The repository provides Cursor integration instructions and an example MCP configuration.

It exposes tools for package management, discovery, diagnostics, updates, taps, version pinning, and services.

The server's documented stdio setup does not require one. An Anthropic API key is required only by the optional interactive Claude test script.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHomebrew MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/jeannier-homebrew-mcp?style=directory)](https://allmcps.com/mcp/jeannier-homebrew-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/jeannier-homebrew-mcp"><img src="https://allmcps.com/api/badge/jeannier-homebrew-mcp?style=directory" alt="Homebrew MCP on AllMCPs" /></a>