Cerveja Barata
Beer prices in Brazilian bars ranked by price per litre: search, cheapest now, bars, price index
我该使用它吗
质量与安全性
发现(1)
- LOW在 cheapest_now 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mcp": {
"url": "https://cervejabarata.com.br/mcp"
}
}
}远程端点
https://cervejabarata.com.br/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢price_per_litre(price_brl, volume_ml, units)
Convert a Brazilian beer price into reais per litre, the unit Cerveja Barata ranks by. Give the price paid in BRL, the volume of one unit in ml and how many units the price buys (e.g. 5 for a bucket of 5 long necks).
输入模式
{
"type": "object",
"properties": {
"price_brl": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Price paid, in BRL, e.g. 9.99"
},
"volume_ml": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Volume of one unit in millilitres, e.g. 600"
},
"units": {
"type": "integer",
"minimum": 1,
"default": 1,
"description": "Units the price buys"
}
},
"required": [
"price_brl",
"volume_ml"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"price_per_litre_brl": {
"type": "number"
},
"formatted": {
"type": "string"
}
},
"required": [
"price_per_litre_brl",
"formatted"
]
}🟢search_deals(city, neighbourhood, brand, format, kind, ...)
Beer prices in a city's bars, cheapest per litre first, each with the bar, the serving, the price, when it applies (happy hours) and when it was last checked. Filter by bairro, brand, format, kind or a maximum price per litre. Open bars only come with kind=open_bar, ranked by package price.
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"description": "City slug from catalog, e.g. \"salvador\""
},
"neighbourhood": {
"type": "string",
"maxLength": 80,
"description": "Bairro slug from list_neighbourhoods"
},
"brand": {
"type": "string",
"maxLength": 60,
"description": "Brand slug from catalog, e.g. \"brahma\""
},
"format": {
"type": "string",
"maxLength": 40,
"description": "Format type (lata, long_neck, garrafa, litrao, chopp, torre) or code (garrafa_600), from catalog"
},
"kind": {
"type": "string",
"enum": [
"regular",
"happy_hour",
"promo",
"combo",
"open_bar"
],
"description": "Only this kind of price"
},
"max_price_per_litre": {
"type": "number",
"exclusiveMinimum": 0,
"description": "In BRL per litre, e.g. 15"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10,
"description": "How many prices"
},
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"required": [
"city"
],
"additionalProperties": false
}🟢cheapest_now(city, lat, lng, radius_m, format, ...)
The cheapest beer prices on right now in the city's time zone, happy hours and timed promos included. Give lat and lng to keep bars within radius_m of a point (distance in metres comes back with each price).
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"description": "City slug from catalog, e.g. \"salvador\""
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude of the point, e.g. -13.0109"
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude of the point, e.g. -38.4915"
},
"radius_m": {
"type": "integer",
"minimum": 100,
"maximum": 10000,
"default": 2000,
"description": "Around the point"
},
"format": {
"type": "string",
"maxLength": 40,
"description": "Format type (lata, long_neck, garrafa, litrao, chopp, torre) or code (garrafa_600), from catalog"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 5,
"description": "How many prices"
},
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"required": [
"city"
],
"additionalProperties": false
}🟢get_venue(city, venue, lang)
A bar's details (kind, bairro, address, location, Instagram, opening hours, attributes) and every beer price it has, cheapest per litre first. The venue slug comes from search_deals or cheapest_now URLs.
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"description": "City slug from catalog, e.g. \"salvador\""
},
"venue": {
"type": "string",
"maxLength": 120,
"description": "Venue slug, e.g. \"boteco-do-ze\""
},
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"required": [
"city",
"venue"
],
"additionalProperties": false
}🟢list_neighbourhoods(city, lang)
The city's bairros that have beer prices: how many bars and prices each has and its cheapest price per litre, most covered first. The slugs filter search_deals.
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"description": "City slug from catalog, e.g. \"salvador\""
},
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"required": [
"city"
],
"additionalProperties": false
}🟢price_index(city, month, lang)
The monthly Índice Cerveja Barata for a city: median, quartiles and minimum price per litre, for the whole city and by format, bairro and brand, with how many prices and bars each cell rests on. Latest month by default; final once the month is closed.
输入模式
{
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"description": "City slug from catalog, e.g. \"salvador\""
},
"month": {
"type": "string",
"maxLength": 7,
"description": "Month as YYYY-MM, e.g. \"2026-11\"; latest by default"
},
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"required": [
"city"
],
"additionalProperties": false
}🟢catalog(lang)
The cities covered (with how many prices each has), the beer brands and the serving formats: the slugs the other tools take.
输入模式
{
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"pt-BR",
"en"
],
"default": "pt-BR",
"description": "Language of labels, schedules and page links"
}
},
"additionalProperties": false
}社区
证据