breweries_by_city
Pack: breweries · Endpoint: https://gateway.pipeworx.io/breweries/mcp
Find all breweries in a city (e.g., “Portland”, “Denver”). Returns location, type, and contact details for each.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
city | string | yes | City name to search breweries in (e.g., “Portland”, “Denver”) |
limit | number | no | Maximum number of results to return (default 10, max 50) |
Example call
Arguments
{
"city": "Portland"
}
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":"breweries_by_city","arguments":{"city":"Portland"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('breweries_by_city', {
"city": "Portland"
});
More examples
{
"city": "Denver",
"limit": 15
}
Response shape
Always returns: city, count, breweries
| Field | Type | Description |
|---|---|---|
city | string | City name searched |
count | number | Number of breweries returned |
breweries | array |
Full JSON Schema
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name searched"
},
"count": {
"type": "number",
"description": "Number of breweries returned"
},
"breweries": {
"type": "array",
"items": {
"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"
]
}
}
},
"required": [
"city",
"count",
"breweries"
]
}
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.