get_brewery
Pack: breweries · Endpoint: https://gateway.pipeworx.io/breweries/mcp
Get full details for a brewery by ID. Returns address, hours, type, and contact info. Use search_breweries to find brewery IDs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Open Brewery DB brewery ID (e.g., “b54b16e1-ac3b-4bff-a11f-f7ae4ddc27e1”) |
Example call
Arguments
{
"id": "b54b16e1-ac3b-4bff-a11f-f7ae4ddc27e1"
}
curl
curl -X POST https://gateway.pipeworx.io/breweries/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_brewery","arguments":{"id":"b54b16e1-ac3b-4bff-a11f-f7ae4ddc27e1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_brewery', {
"id": "b54b16e1-ac3b-4bff-a11f-f7ae4ddc27e1"
});
Response shape
Always returns: id, name, type, address, city, state, postal_code, country, coordinates, phone, website
| Field | Type | Description |
|---|---|---|
id | string | Brewery ID |
name | string | Brewery name |
type | string | Brewery type (e.g., micro, macro, pub) |
address | string | Full street address |
city | string | City name |
state | string | State or province |
postal_code | string | Postal/zip code |
country | string | Country name |
coordinates | unknown | Geographic coordinates if available |
phone | string | Phone number |
website | string | Website URL |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Brewery ID"
},
"name": {
"type": "string",
"description": "Brewery name"
},
"type": {
"type": "string",
"description": "Brewery type (e.g., micro, macro, pub)"
},
"address": {
"type": "string",
"description": "Full street address"
},
"city": {
"type": "string",
"description": "City name"
},
"state": {
"type": "string",
"description": "State or province"
},
"postal_code": {
"type": "string",
"description": "Postal/zip code"
},
"country": {
"type": "string",
"description": "Country name"
},
"coordinates": {
"oneOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"description": "Latitude coordinate"
},
"longitude": {
"type": "number",
"description": "Longitude coordinate"
}
},
"required": [
"latitude",
"longitude"
]
},
{
"type": "null"
}
],
"description": "Geographic coordinates if available"
},
"phone": {
"type": "string",
"description": "Phone number"
},
"website": {
"type": "string",
"description": "Website URL"
}
},
"required": [
"id",
"name",
"type",
"address",
"city",
"state",
"postal_code",
"country",
"coordinates",
"phone",
"website"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"breweries": {
"url": "https://gateway.pipeworx.io/breweries/mcp"
}
}
}
See Getting Started for client-specific install steps.