Skip to main content
Glama
Homebrew Formulae and macOS packages MCP server

Homebrew Formulae and macOS packages MCP server

README.md
# Homebrew Formulae and macOS packages MCP server

Live Homebrew Formulae API package intelligence for macOS and Linux formula metadata, Cask app versions, name search, top install rankings, and dependency audits over Model Context Protocol (MCP). IT, platform, and developer-experience teams can inspect workstation packages and deprecation flags with zero API keys. It works right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://homebrew-formulae-macos-packages-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_formula_details` | Fetch stable version, license, bottle status, deprecation flags, and 30-day install counts |
| `get_cask_details` | Retrieve macOS Cask version, download URL, SHA256, auto-update flag, and install volume |
| `search_formulae_by_name` | Search active Homebrew formulae by name substring ranked by 30-day install demand |
| `get_top_installed_formulae` | List top installed-on-request Homebrew formulae over 30-day, 90-day, or 365-day windows |
| `check_formula_dependencies` | Audit runtime, build, test, optional, macOS system dependencies, and conflicts for a formula |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "homebrew-formulae-macos": {
      "url": "https://homebrew-formulae-macos-packages-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `formulae.brew.sh/api/` with a polite `User-Agent` header (`mcpstamp-homebrew/1.0 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx faults. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream errors don't stick in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` down to the SDK version cleanly.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.homebrew-formulae-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation4/5

Each tool mostly targets a distinct resource+action (formula details vs. cask details vs. dependency inspection vs. name search vs. popularity ranking). The only mild overlap is between search_formulae_by_name (ranked by installs) and get_top_installed_formulae, and dependency checking could arguably live inside get_formula_details, but the descriptions make the split clear enough.

Naming Consistency5/5

All five tools follow a consistent snake_case verb_noun pattern (get_*, search_*, check_*), with the noun accurately reflecting the target entity (formula, cask). No mixed conventions or vague verbs.

Tool Count4/5

Five tools is a tight, well-scoped surface for a read-only metadata lookup server. It is slightly thin given that casks get only a single detail tool while formulae get four, but nothing feels redundant.

Completeness3/5

Formula discovery and inspection are well covered, but the surface is asymmetric: there is no way to search or list casks by name, and no way to enumerate formulae outside of a name substring or install-rank ordering. These gaps would force an agent to guess cask names.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues