Search and retrieve brewery data worldwide using the Open Brewery DB API.
A Model Context Protocol (MCP) server that provides access to the Open Brewery DB API. This server enables AI assistants and other MCP clients to search for breweries, get detailed brewery information, and explore brewery data from around the world.
Install the package globally or as a dependency:
npm install -g @jimbuck/open-brewery-db-mcp
# or for local usage
npm install @jimbuck/open-brewery-db-mcp
npx open-brewery-db-mcp
git clone https://github.com/your-username/open-brewery-db-mcp.git
cd open-brewery-db-mcp
npm install
npm run dev
This will start the server with the MCP Inspector - a web-based interface for testing and exploring all the brewery tools interactively!
The server communicates via stdio and follows the MCP protocol. To use it with an MCP client:
npm start
# or
node dist/index.js
To connect this server to an MCP client like Claude Desktop, add the following configuration:
macOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"open-brewery-db": {
"command": "npx",
"args": ["@jimbuck/open-brewery-db-mcp"]
}
}
}
Or, if installed locally or cloned:
{
"mcpServers": {
"open-brewery-db": {
"command": "node",
"args": ["/path/to/open-brewery-db-mcp/dist/index.js"]
}
}
}
Open Brewery DB is a free and open-source API that provides comprehensive information about breweries worldwide. The database includes:
The API categorizes breweries into several types:
This MCP server provides the following tools:
search_breweries
Search for breweries with flexible filtering options:
page
and per_page
parametersget_brewery_by_id
Get detailed information about a specific brewery using its unique ID.
get_random_brewery
Discover new breweries by getting random brewery information. You can specify how many random breweries to retrieve (1-10).
list_brewery_types
Get a complete list of all available brewery types with descriptions.
For development with the MCP Inspector (recommended):
npm run dev
This command starts the server with the MCP Inspector, which provides:
The inspector will automatically open in your browser, allowing you to test brewery searches, explore random breweries, and validate all functionality in real-time.
To watch for changes and rebuild (production mode):
npm run watch
{
"name": "search_breweries",
"arguments": {
"by_city": "Portland",
"by_state": "Oregon",
"per_page": 10
}
}
{
"name": "get_brewery_by_id",
"arguments": {
"id": "11590"
}
}
{
"name": "get_random_brewery",
"arguments": {
"size": 3
}
}
Each brewery object includes the following information:
{
id: string; // Unique identifier
name: string; // Brewery name
brewery_type: BreweryType; // Type of brewery
address_1?: string; // Street address
address_2?: string; // Additional address info
address_3?: string; // Additional address info
city?: string; // City name
state_province?: string; // State or province
postal_code?: string; // Postal/ZIP code
country?: string; // Country
longitude?: string; // GPS longitude
latitude?: string; // GPS latitude
phone?: string; // Phone number
website_url?: string; // Website URL
state?: string; // US state code
street?: string; // Street address (alternative)
}
Open Brewery DB has reasonable rate limits:
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git checkout -b feature/amazing-feature
)npm test
git commit -m 'feat: Add some amazing feature'
)git push origin feature/amazing-feature
)Want to help improve the brewery data itself?
Contributions to the brewery listings and data are welcome! Check out the Open Brewery DB GitHub repository to suggest changes, add new breweries, or help maintain the dataset.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
Note: This is an unofficial MCP server for Open Brewery DB. It is not affiliated with or endorsed by Open Brewery DB.
SEO analysis using the Serpstat API.
A Model Context Protocol Server for SearXNG
Interact with the arXiv.org paper database. Supports keyword search, paper lookups, author searches, and trend analysis.
Fetches user data and event information from the Connpass platform using the Connpass and Gemini APIs.
Access Jina AI's web services for web page reading, web search, and fact-checking. Requires a Jina AI API key.
Search the Old School RuneScape (OSRS) Wiki and access game data definitions.
Provides threat intelligence queries for IPs, domains, files, URLs, and vulnerabilities using the ThreatBook API.
Performs web searches using the Gemini Web Search Tool via the local gemini-cli.
Integrates with The Movie Database (TMDB) API, allowing AI assistants to search for movies, retrieve details, and generate related content.
Search for academic articles from scholarly vendors.