Homebrew MCP : Comprehensive brew support for installing, upgrading, searching, and maintaining macOS packages.
https://github.com/jeannier/homebrew-mcpFinally, an MCP server that bridges the gap between AI assistance and actual package management. Instead of Claude suggesting brew commands that you copy-paste into your terminal, this server lets Claude execute Homebrew operations directly.
You ask Claude "what packages do I need for Python web development?" Claude gives you a thoughtful list with brew install commands. You copy each command, paste it into your terminal, wait for completion, then go back to Claude for the next step. Rinse and repeat.
This MCP server eliminates that tedious back-and-forth entirely.
Complete Homebrew Control Through Natural Language
Real Commands, Real Results
The server executes actual brew commands via subprocess - no API wrappers or limited functionality. If brew can do it, Claude can do it through this server.
Smart Integration Patterns Ask Claude to "install development tools for a Node.js project" and watch it check what's already installed, install missing packages, and provide a summary of what changed. The included test script demonstrates Claude making multiple sequential tool calls to accomplish complex workflows.
Development Environment Setup "Set up my machine for React development" becomes a single request that installs Node.js, yarn, git (if missing), and checks for potential conflicts.
System Maintenance
"Check what needs updating and fix any issues" lets Claude run brew outdated, brew doctor, and selectively upgrade packages based on your preferences.
Package Discovery "Find tools for monitoring system performance" returns actual brew search results with package descriptions, not generic suggestions.
Cleanup Operations "Remove unused packages and clear cache" becomes an intelligent cleanup that checks dependencies before removing anything.
Claude Desktop Setup
Drop the server configuration into your claude_desktop.json and restart Claude. The server uses uv for dependency management and runs the actual Python script in your project directory.
Cursor Integration One-click installation through their MCP integration system with the provided button in the repo.
Logging and Monitoring
All operations get logged to homebrew_mcp.log with full request/response details. Perfect for debugging or understanding what Claude actually executed.
Unlike API-based package managers, Homebrew's command-line interface is the source of truth. This server preserves that relationship while adding AI orchestration on top. You get the full power of brew with the convenience of natural language requests.
The server includes an interactive test script that demonstrates advanced patterns like dynamic tool discovery and multi-step operations - exactly what you'd want in a production AI assistant integration.
Ready to stop copying and pasting brew commands? This server turns package management conversations into actual package management actions.