
Espresso MCP
io.github.mattgierhart由 GitHub 帳號 mattgierhart 發布v0.2.0更新於 Oct 24, 2026
Find great espresso cafes worldwide with curated data and transparent quality scoring.
概覽
本機 MCP 伺服器,內建人工整理的精品義式咖啡店與烘豆商資料庫,並提供透明的評分演算法來評估咖啡店品質。
- 可以做什麼
- 依座標尋找附近排名前面的精品義式咖啡店,附距離與評分理由
- 依關鍵字、城市、國家、烘豆商或最低分搜尋咖啡店資料庫
- 查看單一咖啡店的完整紀錄,含逐項訊號評分明細與附近推薦
- 依觀察到的訊號(烘焙方式、沖煮方式、設備、糖漿比重等)為任何咖啡店評分
- 依國家與聲譽等級列出精選烘豆商
- 列出應避開的反面案例店家
- 適用情境
- 適合旅行途中或身處某城市時找咖啡店、想依明確的品質評分而非人氣排序比較咖啡店,或想用結構化方式評估眼前這家店。資料庫僅涵蓋已整理的城市。
- 執行需求
- 以 stdio 在本機執行,通常透過 npx 啟動 npm 套件 espresso-mcp,因此需要 Node.js,並需連網下載該套件。未宣告任何帳號、API 金鑰、環境變數或標頭。僅支援遠端 HTTPS 端點的用戶端需要額外橋接。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Espresso MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
espresso-mcp
[npm version] [npm downloads] [MCP Registry] [code license] [data license]
An MCP server that finds great espresso cafes — and codifies what makes them great.
espresso-mcp is a Model Context Protocol server you can plug into Claude Desktop, Claude.ai, ChatGPT, Google Gemini, Cursor, Hermes, OpenClaw, and any other standard MCP host. It ships with a curated database of 100+ specialty-coffee shops, 75+ specialty roasters, and a transparent scoring algorithm that captures why a shop is good — sourcing, freshness, equipment, training — and why a shop is bad (the heaviest negative signal: menus dominated by flavored syrups).
It is not a Yelp clone. The data is hand-curated, the scoring is explicit, and the philosophy is "if it's covering bad coffee with flavors, we don't want it."
The bias
espresso-mcp has an opinion. Shops that hide bad coffee behind flavored syrups are the failure pattern this tool is designed to filter out. The scoring algorithm gives syrup_emphasis the heaviest non-disqualifying penalty (−22) — heavier than any single positive signal. Mass-market chains (Starbucks, Dunkin', Costa, Tim Hortons, Peet's, Caribou) and "looks third-wave but tastes flavored" shops (the algorithm's flavor-led-specialty category) score in avoid or fair tier regardless of how good the signage looks.
Positive credit goes to the signals great shops actually invest in:
- In-house roasting, or named-partner sourcing from a known specialty roaster
- Single-origin espresso (not just blends)
- Roast date on retail bags (peak-freshness commitment)
- Espresso + pour-over both offered — the "complete program"
- Cortado on the menu — a confidence proxy; shops avoid small milk drinks when their espresso can't hold up
- Competition involvement / SCA-certified staff
- Equipment from the third-wave shortlist (Slayer, La Marzocco, Synesso, Decent, Victoria Arduino, Modbar)
- Recognition from authoritative rankings (World's 100 Best, SCA championships, Coffee Review 95+, Good Food Awards)
Every signal is documented at src/scoring/weights.ts and surfaced to clients via the score breakdown on every result — you can see exactly why a cafe is recommended.
See it in action
What it does
Once installed in your MCP client, you can ask things like:
- "I'm at the Hotel Adlon Berlin — find me great espresso within walking distance."
- "I'm staying near the Brandenburg Gate. Recommend 3 cafes and rank by quality."
- "Search for cafes in Tokyo scoring above 80."
- "Tell me about Tim Wendelboe."
- "Score this cafe — they have a Slayer, in-house roasting, single-origin espresso, and no flavored syrups."
- "What are the world-class roasters in Denmark?"
- "What should I avoid in Chicago? Show me an anti-pattern example."
The model gets a structured score with reasoning, distance, awards, and per-signal contributions — enough to give you an honest recommendation rather than a popularity list.
Quick install
Recommendation: use @latest while the project is iterating
While we're still adding cafes and refining the algorithm, pin to the live npm tip:
Once the data and scoring stabilize, you can drop @latest and pin a specific version for reproducibility.
Per-client configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). If the file doesn't exist, create it:
Restart Claude Desktop. The 🔌 menu should show 6 tools under "espresso."
Claude.ai (Browser MCP)
Claude.ai's web app supports MCP servers via OAuth and remote endpoints. For local installation, use Claude Desktop instead (above). To expose espresso-mcp to Claude.ai as a remote server, wrap it with mcp-remote (see the ChatGPT section below — same approach).
ChatGPT
⚠ Important: ChatGPT only supports remote MCP servers (HTTPS endpoints), not local stdio processes. You have two options:
Option 1: Use the hosted version (when available). If we publish a hosted endpoint we'll list it here.
Option 2: Bridge espresso-mcp to HTTPS via mcp-remote. Run a small bridge on a machine you control:
Then expose port 8080 via a tunnel (Cloudflare Tunnel, Tailscale Funnel, or a small VPS) and use the resulting HTTPS URL.
Enabling MCP in ChatGPT (Plus / Pro / Team / Enterprise plans only):
- Settings → Connectors → Advanced → toggle Developer mode on.
- Add a custom connector pointing at your bridge URL.
OpenAI's MCP docs have the latest connector setup.
Google Gemini CLI
Edit ~/.gemini/settings.json:
Restart Gemini CLI. It will auto-connect at startup and show "Connected" if successful. See Gemini CLI MCP docs for the full reference.
Hermes (Nous Research)
Hermes uses YAML, not JSON. Edit ~/.hermes/config.yaml:
Optional: filter to just the tools you want exposed:
Restart Hermes — it auto-discovers MCP tools at startup. See Hermes MCP docs.
OpenClaw
OpenClaw uses standard stdio MCP config. Install OpenClaw if you haven't:
Then add to your OpenClaw config (typically ~/.openclaw/config.json — check OpenClaw MCP docs for the current location):
Cursor
Edit ~/.cursor/mcp.json:
VS Code
VS Code uses a dedicated mcp.json file (not settings.json). For workspace-scoped config, create .vscode/mcp.json. For user-wide, run the MCP: Open User Configuration command from the Command Palette.
Note: VS Code uses the key servers (not mcpServers) — this is the most common copy-paste mistake when migrating configs from other clients.
Generic stdio client
For any MCP-compatible host that spawns local processes:
The server writes JSON-RPC to stdout and logs to stderr only — capture stderr if you want startup messages.
From source (development)
Or run the MCP Inspector against the local build:
Travel & address-based queries
The most common real-world question is "I'm at X, where should I get coffee?" Here's the pattern in practice.
Hotel-based recommendation
The model resolves the address to coordinates (using its built-in knowledge or a web search), then calls find_espresso_near. No extra config needed.
Address-based query
Multi-city trip planning
Score what you're looking at right now
Hotel coffee-walkability comparison (manual, until v0.4)
You can do this today with multiple tool calls:
A dedicated score_hotel_coffee_access tool is on the roadmap for v0.5.
Best-effort with cities not yet in the database
If you query a city we haven't curated yet (e.g., Lisbon, Seoul, Mexico City), find_espresso_near returns no curated matches. The model can still combine its own knowledge with score_cafe to evaluate any cafe you describe. We're filling in cities one batch at a time — open an issue if you want yours prioritized.
Tools
find_espresso_near
Find ranked specialty espresso cafes within a radius of coordinates.
Returns cafes from the curated database sorted by espresso-quality score, with per-cafe distance and reasoning.
search_cafes
Search the curated database by query, city, country, roaster, or minimum score.
get_cafe_details
Full record for a cafe by id, including the score breakdown signal-by-signal and a few related/nearby cafes.
score_cafe
The codified algorithm exposed directly. Pass in signals you've observed (from a website, a review, a photo) and get a 0-100 score with a per-signal contribution breakdown. No database lookup required.
list_great_roasters
Curated specialty roasters by country and reputation tier.
list_anti_patterns
Curated shops that exemplify what to avoid — the contrast set for the algorithm. Two flavors:
mass-market-chain— Starbucks, Dunkin', Costa, Tim Hortons, Peet's, Caribou. Generic dark roasts, flavored-drink menus, low sourcing transparency.flavor-led-specialty— shops that display third-wave signage (in-house roasting, single-origin signs, roast dates) but in practice serve a syrup-forward menu. Looks specialty, drinks flavored. Useful contrast when explaining why a recommended shop is the real thing.
Anti-patterns are stored separately in data/anti-patterns.json so they never bleed into find_espresso_near or search_cafes results.
How scoring works
The full weight table is the source of truth at src/scoring/weights.ts. In short:
Positive signals (the things great shops do):
- In-house or named-partner roasting from a known specialty roaster
- Single-origin espresso
- Roast date on retail bags (peak-freshness commitment)
- Espresso + pour-over both offered ("complete program")
- Cortado on the menu (confidence in espresso)
- Competition involvement / SCA-certified staff
- Quality espresso machines (Slayer, La Marzocco, Synesso, Decent, Victoria Arduino, Modbar)
- Awards (World's 100 Best, SCA championships, Coffee Review 95+, Good Food Awards)
Negative signals (the cover-up patterns):
syrup_emphasis(−22) — menu dominated by flavored-syrup drinks. The strongest avoid-signal. Great shops don't hide behind syrups.flavored_drink_share > 0.5(additional −7)no_grinder_visible(−25) — effectively disqualifyingonly_dark_roast(−8) — masks bean defectsno_origin_info(−7) — they don't know or don't care
Roaster reputation bonus: cafes that roast in-house or partner with a known roaster get +25 (world-class), +15 (regional-leader), or +8 (notable) on top of structural signals.
Null/unknown signals are skipped, not penalized. The score includes a confidence value proportional to how many signals were actually observed.
Score tiers:
The "looks specialty but isn't" pattern is tricky — a cafe with genuine third-wave structural signals plus a flavored-drink menu will score in the "good" range despite the syrup penalty. For those cases, the explicit category: flavor-led-specialty flag in data/anti-patterns.json is the authoritative human override.
Curated coverage (v0.2.0)
The database is hand-curated. Coverage skews toward cities where we (or trusted curated guides) have actual recent visits. We add cities batch-by-batch — open an issue if you want yours prioritized.
Plus 8 deliberately-flagged anti-pattern entries (Starbucks, Dunkin', Costa, Tim Hortons, Peet's, Caribou, plus two "looks specialty but tastes flavored" examples).
Gaps worth filling next: SF, LA, Seattle, Portland, Melbourne, Sydney, Stockholm, Amsterdam, Paris, Taipei, Seoul, Mexico City.
Contributing a cafe
Open a PR against data/cafes.json:
- Add the entry in alphabetical order by city, then name.
- Use exact coordinates when possible (
"coord_precision": "exact"). Look them up on Google Maps. - Set
last_verifiedto today's ISO date. - Only include signals you've personally observed or can cite.
- If you're naming a new roaster, add it to
data/roasters.jsonwith a reasonable reputation tier (notable,regional-leader, orworld-class). - Run
npm testandnpm run validate-databefore opening the PR.
See data/README.md for the full schema reference.
Suggesting an anti-pattern
Anti-patterns belong in data/anti-patterns.json with a category field set. Strong candidates are shops you've personally verified as either mass-market or "looks specialty but drinks flavored." Include a notes field explaining the gap between signage and experience.
Reporting feedback
Open an issue with what you tested, what worked, what surprised you, and what's missing. We track the roadmap (community contribution tool, automated address geocoding, live data fallback, hotel-proximity scoring) as open issues.
License
- Code is MIT — see
LICENSE. - Data (
data/*.json) is CC-BY 4.0 — seedata/LICENSE. Attribution required.
If you redistribute the data, please link back to this repository.
Sources we trained the patterns on
The curated cafe roster, the signal weight table, and the anti-pattern category framing were built by reading and cross-referencing the people who already do this work well. Credit and links:
City and region guides
- World's 100 Best Coffee Shops — annual industry-voted ranking; the backbone of the world-class tier
- European Coffee Trip — 6,229+ curated European specialty cafes; used heavily for the London and Berlin batches
- D Magazine — Best Dallas Coffee Shops and Roasters — the canonical DFW specialty guide
- Drips of God — New York — Manhattan + Brooklyn curation
- Bee An Coffee — Best Specialty Coffee in NYC 2026 — Brooklyn roastery focus
- Grounds Club — Hong Kong Specialty Coffee Guide — HK-specific
- Asian Coffee Map — Asia regional anchor
Awards and rankings
- Sprudgie Awards — Sprudge's annual community awards
- Good Food Awards: Coffee — US specialty roaster recognition
- Coffee Review (95+ scores) — exceptional roast quality
- SCA World Barista Championship — competition involvement is a high-signal indicator
Frameworks and taxonomies
- Sprudge — long-form specialty coffee journalism; the original "signal taxonomy" intuition came from years of Sprudge reading
- Specialty Coffee Association — Barista Skills curriculum — equipment shortlist and certification framework
- SCA Certified Commercial Equipment list — what "quality espresso machine" means
A lot of time spent in cafes. Fieldwork. Probably not tax-deductible. The most honest entry on this list — every weight in src/scoring/weights.ts was calibrated by someone who has been personally disappointed by a Slayer-equipped shop that turned out to lean syrup-forward.
Built on
@modelcontextprotocol/sdk— the official MCP TypeScript SDK- Zod, tsup, Vitest, Firecrawl (for scraping city guides during curation)
來源:README.md,提交 2da8367
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分