Untappd

io.github.darrenjrobinson由 GitHub 帳號 darrenjrobinson 發布v2.1.0更新於 Oct 29, 2026

MCP server exposing Untappd API tools for AI agents — full v4 read API coverage

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

唯讀的 Untappd 啤酒 API MCP 伺服器,讓助理搜尋啤酒、酒廠與場所,讀取簽到動態並彙整使用者統計。

可以做什麼
  • 搜尋並查詢啤酒、酒廠與場所,場所搜尋可帶入位置資訊
  • 讀取場所、啤酒、酒廠及單筆簽到的詳細資料與近期簽到動態
  • 查看使用者個人檔案、動態、不重複啤酒、願望清單、徽章與好友
  • 讀取全球、在地與好友簽到動態,以及熱門啤酒
  • 彙整統計,例如使用者的風格與酒廠分布、徽章摘要或某場所的簽到狀況
  • 管理 Untappd OAuth 登入並回報驗證狀態
適用情境
適合讓助理根據 Untappd 資料回答啤酒、酒廠、酒吧現場動態或某使用者飲酒紀錄的問題,例如查看某場所最近有哪些啤酒被簽到,或整理某人的口味偏好。
執行需求
透過 npx 在本機執行,需要 Node.js 20 以上版本。需要 Untappd API 的 client ID 與 client secret(UNTAPPD_CLIENT_ID、UNTAPPD_CLIENT_SECRET);若兩者與存取權杖都未設定,伺服器啟動即結束。OAuth 存取權杖(UNTAPPD_ACCESS_TOKEN 或互動式 authenticate_untappd 流程)可解鎖好友動態與更豐富的使用者資料。選用 UNTAPPD_USERNAME、UNTAPPD_REDIRECT_URL、UNTAPPD_TOKEN_PATH。需要連線至 Untappd API 的網路。
安裝前請注意
需要 Untappd API 憑證,並將 OAuth 權杖以明文存放在本機權杖檔案中(macOS/Linux 為 0600 權限,Windows 依賴使用者設定檔的 ACL)。API 每小時僅允許 100 次呼叫,彙整工具可能耗用大量呼叫。僅供唯讀:無法簽到、敬酒、留言或修改願望清單。只能看到公開簽到。互動式驗證會開啟瀏覽器並啟動本機監聽埠。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Untappd,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

untappd-mcp-server

[npm version] [npm downloads] [license]

A Model Context Protocol (MCP) server that exposes the Untappd API as tools for AI agents — 27 tools covering the full Untappd v4 read API, plus built-in interactive OAuth authentication. Search venues, breweries, and beers; check what's on tap via check-in feeds; explore user badges, friends, wish lists, and drinking history; and aggregate stats — all from any MCP-compatible client.

Prerequisites

  • Node.js 20+
  • Untappd API credentials (client_id and client_secret) from untappd.com/api
  • Optional: an Untappd OAuth access token to unlock authenticated tools — obtainable in-chat via the authenticate_untappd tool or npx untappd-mcp-server auth (see Interactive Authentication)

Quick Start

Via npx (zero install)

bash
UNTAPPD_CLIENT_ID=xxx UNTAPPD_CLIENT_SECRET=yyy npx untappd-mcp-server

PowerShell

powershell
$env:UNTAPPD_CLIENT_ID = "your_client_id"$env:UNTAPPD_CLIENT_SECRET = "your_client_secret"npx untappd-mcp-server

Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "untappd": {      "command": "npx",      "args": ["untappd-mcp-server"],      "env": {        "UNTAPPD_CLIENT_ID": "your_client_id",        "UNTAPPD_CLIENT_SECRET": "your_client_secret",        "UNTAPPD_ACCESS_TOKEN": "optional_oauth_token",        "UNTAPPD_USERNAME": "optional_default_username"      }    }  }}

Tools

Tools marked 🔑 token require an access token (UNTAPPD_ACCESS_TOKEN env var or interactive authentication).

Authentication Tools

authenticate_untappd

Interactively authenticate with Untappd via OAuth: opens your browser to Untappd's approve page, captures the redirect on a temporary localhost listener, and saves the access token — the 🔑 tools work immediately, no restart. Prerequisite: your Untappd app's Callback URL must be set to exactly http://localhost:8737/callback (or your UNTAPPD_REDIRECT_URL).

ParameterTypeRequiredDescription
timeout_secondsintegerNoHow long to wait for browser approval (default 180, max 600)
get_auth_status

Report authentication status: token presence, source (env var or token file), file path, and whether the 🔑 tools are unlocked. Free by default; validate: true verifies the token with one API call.

ParameterTypeRequiredDescription
validatebooleanNoVerify the token against the API with one call (default false)

Search & Lookup

venue_search

Search for venues (breweries, bars, restaurants) by name with optional location awareness.

ParameterTypeRequiredDescription
qstringYesSearch query (venue name)
latnumberNoLatitude for location-aware results
lngnumberNoLongitude for location-aware results
search_brewery

Search for breweries by name.

ParameterTypeRequiredDescription
qstringYesBrewery name search query
offsetintegerNoOffset for pagination
search_beer

Search for beers by name.

ParameterTypeRequiredDescription
qstringYesBeer name search query
offsetintegerNoPagination offset
sortstringNoSort order: checkin (default), name, count

Venue

get_venue_info

Retrieve detailed information and recent check-ins for a venue.

ParameterTypeRequiredDescription
venue_idintegerYesUntappd venue ID
compactbooleanNoIf true, returns venue info only (no checkins, media, top beers)
get_venue_checkins

Retrieve the recent check-in feed for a venue. This is the primary tool for determining what's currently on tap — recent check-ins act as a live signal for available beers.

ParameterTypeRequiredDescription
venue_idintegerYesUntappd venue ID
limitintegerNoNumber of results (max 25, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID
get_venue_foursquare_lookup

Resolve a Foursquare venue ID to its Untappd venue — the bridge between Foursquare/location data and Untappd venue tools.

ParameterTypeRequiredDescription
foursquare_idstringYesFoursquare venue ID in v2 MD5-hash format (v3 numeric IDs will not work)

Beer

get_beer_info

Retrieve detailed information for a specific beer.

ParameterTypeRequiredDescription
bidintegerYesUntappd beer ID
compactbooleanNoIf true, returns beer info only
get_beer_checkins

Retrieve the recent public check-in feed for a specific beer — what people are saying about it right now, and where they're drinking it.

ParameterTypeRequiredDescription
bidintegerYesUntappd beer ID
limitintegerNoResults per page (max 50, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID
get_trending_beers

Retrieve globally trending beers (macro and micro brew lists, by recent check-in velocity). No parameters.

Brewery

get_brewery_info

Retrieve detailed information, beer list, and recent check-ins for a brewery.

ParameterTypeRequiredDescription
brewery_idintegerYesUntappd brewery ID
compactbooleanNoIf true, returns brewery info only
get_brewery_checkins

Retrieve the recent public check-in feed for a brewery — all its beers being checked in globally.

ParameterTypeRequiredDescription
brewery_idintegerYesUntappd brewery ID
limitintegerNoResults per page (max 50, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID

User

get_user_info

Retrieve profile and stats for an Untappd user.

ParameterTypeRequiredDescription
usernamestringYesUntappd username
compactbooleanNoIf true, returns user info only (no checkins, media, recent brews)
get_user_activity

Retrieve the recent check-in activity feed for a user.

ParameterTypeRequiredDescription
usernamestringYesUntappd username
limitintegerNoNumber of results (max 25, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID
get_user_distinct_beers

Retrieve the unique beers a user has checked in, with flexible sort ordering. sort=checkin with limit=1 is the single-call pattern for "most-checked-in beer".

ParameterTypeRequiredDescription
usernamestringYesUntappd username
offsetintegerNoPagination offset
limitintegerNoResults per page (max 50, default 25)
sortstringNodate (default), checkin, highest_rated, lowest_rated, highest_rated_you, lowest_rated_you
get_user_wishlist

Retrieve beers on a user's wish list.

ParameterTypeRequiredDescription
usernamestringYesUntappd username
offsetintegerNoPagination offset
limitintegerNoResults per page (max 50, default 25)
sortstringNodate (default), checkin, highest_rated, lowest_rated
get_user_badges

Retrieve a user's earned badges (pages of 50, most recent first).

ParameterTypeRequiredDescription
usernamestringYesUntappd username
offsetintegerNoPagination offset (pages of 50)
get_user_friends

Retrieve a user's friend list (public accounts only).

ParameterTypeRequiredDescription
usernamestringYesUntappd username
offsetintegerNoPagination offset
limitintegerNoResults per page (max 50, default 25)

Activity Feeds

get_global_feed

Retrieve the global public check-in feed (The Pub). High rate-limit cost for the data returned — prefer min_id polling to fetch only new check-ins. Note: standard API keys are typically not authorized for /thepub — Untappd returns "You are not authorized to call this method from this key" unless your key has elevated access (get_local_feed is not restricted).

ParameterTypeRequiredDescription
limitintegerNoResults per page (max 50, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID
get_local_feed

Retrieve the public check-in feed near a geographic point.

ParameterTypeRequiredDescription
latnumberYesLatitude
lngnumberYesLongitude
radiusintegerNoRadius in miles (default 25, max 50)
limitintegerNoResults per page (max 50, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID
get_friend_feed 🔑 token

Retrieve the friend check-in feed for the authenticated user.

ParameterTypeRequiredDescription
limitintegerNoResults per page (max 50, default 25)
max_idintegerNoReturn results older than this checkin ID
min_idintegerNoReturn only checkins newer than this ID

Checkin

get_checkin_info

Retrieve extended details for a specific check-in, including badges earned, toasts, and comments.

ParameterTypeRequiredDescription
checkin_idintegerYesUntappd check-in ID

Composite / Aggregation

These tools make multiple API calls (1 per page scanned — 50 beers/badges, 25 check-ins). They pre-check the remaining rate limit before starting and stop early — setting truncated: true in the response — if the budget runs low.

get_user_stats_at_venue

Get a user's check-in stats at a specific venue — visit count, last visit, average rating, top beers — by scanning their recent check-in feed. Untappd's API has no venue-history endpoint, so the stats cover the scanned window (max_pages × 25 check-ins), not all time.

ParameterTypeRequiredDescription
venue_idintegerYesUntappd venue ID
usernamestringNoUntappd username (defaults to UNTAPPD_USERNAME)
max_pagesintegerNoMax feed pages to scan at 25 check-ins/page (default 5 = 125 check-ins)
search_venue_then_get_user_stats

Search for a venue by name, then get the user's check-in stats at the top match.

ParameterTypeRequiredDescription
qstringYesVenue search query
usernamestringNoUntappd username (defaults to UNTAPPD_USERNAME)
latnumberNoLatitude for location-aware search
lngnumberNoLongitude for location-aware search
max_pagesintegerNoMax feed pages to scan at 25 check-ins/page (default 5 = 125 check-ins)
get_user_beer_stats

Aggregate a user's distinct beer history into style, brewery, and rating breakdowns — top styles, top breweries, average personal vs global ratings, highest-rated, and most-checked-in.

ParameterTypeRequiredDescription
usernamestringYesUntappd username
max_pagesintegerNoMax pages to scan at 50 beers/page (default 10 = 500 beers)
get_user_badge_summary

Retrieve all badges for a user (paginating to completion) with a structured summary.

ParameterTypeRequiredDescription
usernamestringYesUntappd username
max_pagesintegerNoMax pages to scan at 50 badges/page (default 10 = 500 badges)

Rate Limiting

The Untappd API allows 100 calls per hour per API key (per access token when authenticated). Every tool response includes the current rate limit status:

json
{  "rateLimit": {    "limit": 100,    "remaining": 97  }}

Composite tools call assertRateLimitSufficient before starting pagination and stop early with truncated: true rather than exhausting the budget. If the limit is exceeded, the Untappd API returns a 429 error which is surfaced as: Rate limit exceeded. Limit: 100, Remaining: 0. Resets hourly.

Authentication

ModeEnv VarsUnlocks
PublicUNTAPPD_CLIENT_ID + UNTAPPD_CLIENT_SECRETAll public tools
Authenticated+ UNTAPPD_ACCESS_TOKEN (+ optional UNTAPPD_USERNAME)get_friend_feed, user-scoped rate limits, richer /user data

When an access token is configured (env var or saved token file), the server prefers it for all calls — rate limits become user-scoped and /user endpoints return richer data. UNTAPPD_USERNAME provides a default username for authenticated user tools.

The server exits on startup if neither a client id/secret pair nor an access token is configured.

Interactive Authentication

You don't need to obtain an access token manually — the server can run Untappd's OAuth flow for you.

One-time prerequisite: in your Untappd app settings at untappd.com/api, set the Callback URL to exactly:

http://localhost:8737/callback

(or the value of UNTAPPD_REDIRECT_URL if you override it — it must be a localhost http URL, and the two must match exactly or Untappd rejects the flow).

In chat: ask your agent to run the authenticate_untappd tool. Your browser opens to Untappd's approve page; once you approve, the token is saved and the 🔑 tools work immediately — no restart needed.

In a terminal:

bash
npx untappd-mcp-server auth            # run the interactive flownpx untappd-mcp-server auth --status   # show current auth statusnpx untappd-mcp-server auth --clear    # delete the saved token

(In the repo: npm run auth.)

Storage & precedence: the token is saved to ~/.untappd-mcp-server/token.json (override with UNTAPPD_TOKEN_PATH). If UNTAPPD_ACCESS_TOKEN is set it always wins over the file. Untappd tokens do not expire.

Security note: the token is stored in plaintext with 0600 permissions on macOS/Linux; on Windows protection relies on your user-profile ACLs. Delete it any time with auth --clear. Tool outputs only ever include a masked form of the token.

Development

bash
npm installnpm run buildnpm test          # unit tests (mocked API — no rate limit cost)npm run smoke     # live smoke test against the real API (~25 calls, ~26 with a token)

The smoke test uses your UNTAPPD_* env vars, skips authenticated tools when no access token is set, and aborts if the remaining rate limit drops below 5. Filter to a single tool with npm run smoke -- --only=tool_name.

Testing with MCP Inspector

bash
npx @modelcontextprotocol/inspector node dist/index.js

Known Limitations

  • No tap list data — actual tap lists require an Untappd for Business subscription. Venue check-in feeds serve as a real-time proxy.
  • No venue events — Untappd's public API has no events endpoint, and the Eventbrite search API that could have bridged the gap was discontinued; deferred to v3.
  • No venue-history endpoint — the v4 API has no per-user venue history; get_user_stats_at_venue scans the recent check-in feed instead, so its stats cover a window (max_pages × 25 check-ins), not all time.
  • Rate limit: 100/hour — minimise redundant calls; every response surfaces rateLimit.remaining.
  • Feed limit caps — tools accept limit up to 50, but the API caps some feeds at 25 server-side.
  • Global feed requires an elevated key — /thepub (get_global_feed) is not authorized for standard API keys; the local feed works with any key.
  • Foursquare lookup requires v2 IDs — the MD5-hash format; Foursquare v3 numeric IDs will not work.
  • Venue IDs required — use venue_search first to resolve a venue name to an ID.
  • Public check-ins only — private user accounts are not visible.
  • Read-only — write operations (check-in, toast, comment, wish-list management) are deferred to v3.
  • MCP client timeouts — some MCP clients cap tool-call duration below the authenticate_untappd default of 180s; pass a smaller timeout_seconds if your client times out first, or use npx untappd-mcp-server auth in a terminal instead.

License

MIT

來源:README.md,提交 457aaa9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v2.1.0最新Oct 29, 2026
  2. v2.0.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分