Skip to main content
Glama
KAIKAKU-AI

Epicure MCP Server

by KAIKAKU-AI

Epicure MCP

Epicure 是一个公开、匿名、只读的 Model Context Protocol 服务器,用于计算风味探索。它暴露了基于 1790 种食材嵌入向量的确定性工具,这些嵌入向量是从包含 414 万条食谱的多语言语料库中学习得到的。

  • MCP 端点: https://epicure-mcp.kaikaku.ai/mcp

  • 健康检查: https://epicure-mcp.kaikaku.ai/healthz

  • 交互式指南: epicure.kaikaku.ai/agents

  • 认证:

  • 传输方式: Streamable HTTP

生产环境源站运行在 KAIKAKU 的本地计算集群上,并通过 Cloudflare Tunnel 发布。它不托管在 Google Cloud 或 Azure 上。每个工具都会读取捆绑的模型工件;MCP 服务器不会发起任何外部 AI 或数据提供商调用。

从 Cursor 连接

Marketplace 插件(推荐)

此仓库打包为 Cursor 插件(.cursor-plugin/plugin.jsonmcp.json)。在它被列出后,从 Cursor MarketplaceCustomize → Plugins 安装 Epicure

在列表上线之前,可从本检出中安装以进行本地测试:

mkdir -p ~/.cursor/plugins/local
ln -sfn "$(pwd)" ~/.cursor/plugins/local/epicure

重新加载 Cursor,启用插件,然后尝试:

  • “使用 Epicure 围绕番茄和罗勒构建一个纯素搭配图。”

  • “比较味噌和酱油在鲜味轴上的差异。”

  • “在 Epicure 的风味空间中,哪些食材与藏红花最接近?”

  • “将大米向东南亚菜系方向旋转 30 度。”

  • “展示柚子位于 Epicure 食材图集上的什么位置。”

  • “从味噌出发,沿着一个一致的因子寻找风味权衡。”

提交检查清单:docs/CURSOR_MARKETPLACE_SUBMISSION.md。 使用 python scripts/validate_plugin.py 验证脚手架。

手动 MCP 条目

在 Cursor MCP 设置中,添加:

{
  "mcpServers": {
    "epicure": {
      "type": "http",
      "url": "https://epicure-mcp.kaikaku.ai/mcp"
    }
  }
}

公共端点无需 API 密钥。

Related MCP server: taste-mcp

从 Claude 连接

在 Claude 中,打开 Settings → Connectors → Add custom connector 并输入:

Name: Epicure
URL:  https://epicure-mcp.kaikaku.ai/mcp
Auth: None

工具输出描述的是学习到的统计关系。它们不是食品安全、过敏、医疗或营养建议。

工具

所有工具都声明了只读、无破坏性、幂等、封闭世界的 MCP 注解和经过验证的 JSON 模式。

工具标题

MCP 名称

用途

在某个轴上比较食材

compare_on_axis

沿着某个风味、菜系、营养、饮食或加工轴比较两种食材。

为食材搭配评分

pairing_score

测量一种精确食材对的余弦亲和力。

探索食材搭配

find_pairings

为一个或多个种子构建多样化的聚类与桥接搭配图。

检查风味相关性

flavour_correlations

返回命名的风味空间轴之间最强的关联。

按菜系分析食材

cultural_profile

衡量食材与捆绑的菜系方向的关系。

查找相似食材

neighbors

返回嵌入空间中最接近的食材。

在风味空间中变换食材

morph

使用球面插值将种子朝向某个方向、模式或食材旋转。

列出变换目标

list_targets

分页查看 morph 的有效方向和模式。

列出风味因子

list_factors

检查 20 个命名的 ICA 因子摘要,可应要求提供示例。

将食材投影到某个因子

ingredient_on_factor

测量食材在 ICA 因子上的带符号位置。

导航风味权衡

pareto_navigate

在近似度与 Pareto 前沿上查找食材。

查找食材的风味区域

closest_mode

查找最近的命名 GMM 模式。

在地图上定位食材

where_on_atlas

返回预计算的地图坐标和附近的同类。

大型目录会被过滤并分页。默认响应刻意保持紧凑;调用方可以通过每个工具记录的输入参数请求更多细节。

数据与隐私

Epicure 没有账户、Cookie、用户配置文件或广告。工具参数和结果内容在内存中处理,绝不会写入应用程序日志。最小的操作遥测包含一个可轮换的伪匿名客户端哈希、工具名称、响应大小、延迟、成功状态和异常类。

阅读完整的 隐私政策安全政策支持政策条款

架构

MCP client
    │  HTTPS / Streamable HTTP
    ▼
Cloudflare edge (TLS, DDoS controls, WAF/rate limits)
    │  outbound-only Cloudflare Tunnel
    ▼
reef-cluster on local KAIKAKU compute
    └── epicure-mcp container
          └── bundled read-only model artefacts

源服务绑定到集群主机上的回环地址。未开放入站路由器端口;cloudflared 从私有 Docker 网络发起隧道。有关操作,请参阅 docs/DEPLOYMENT.md;有关 Claude 目录列表,请参阅 docs/CLAUDE_SUBMISSION.md;有关 Cursor Marketplace 包,请参阅 docs/CURSOR_MARKETPLACE_SUBMISSION.md

本地开发

支持 Python 3.11 或更高版本(生产环境使用 Python 3.12)。

python3.12 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
python scripts/verify_data.py --data-dir data
ruff check src tests scripts
pytest -q
python -m epicure_mcp.server

本地端点为:

路径

方法

用途

/healthz

GET

轻量级存活探针。

/mcp

POST/GET/DELETE

Streamable HTTP MCP 传输。

/atlas

GET

Epicure 网站使用的只读 3-D UMAP 投影。

/favicon.ico/favicon.png

GET

连接器图标。

使用官方 MCP Inspector 检查本地服务器:

npx -y @modelcontextprotocol/inspector \
  --cli http://127.0.0.1:8080/mcp --transport http --method tools/list

针对生产环境运行完整的远程冒烟测试套件:

python scripts/smoke_test_remote.py https://epicure-mcp.kaikaku.ai/mcp

配置

变量

默认值

用途

EPICURE_DATA_DIR

<repo>/data

捆绑工件目录。

EPICURE_ASSETS_DIR

<repo>/assets

可选的 favicon 目录。

HOST

0.0.0.0

绑定地址。

PORT

8080

绑定端口。

RATE_LIMIT_PER_MINUTE

10

每个客户端的令牌补充速率。

RATE_LIMIT_BURST

10

每个客户端的突发令牌限制。

MCP_SERVER_NAME

Epicure

MCP 初始化响应中的服务器名称。

MCP_ALLOWED_HOSTS

localhost,127.0.0.1

允许的主机名列表(逗号分隔)。

捆绑的工件

该仓库包含经过验证的数据工件,这些工件随服务器分发。

工件

说明

食材嵌入矩阵

1790 种食材的 768 维嵌入,用于余弦相似度和运算符。

监督方向

预计算的轴定义,用于 compare_on_axismorph 工具。

ICA 模式与载荷

20 个独立的因子方向及其特征载荷。

GMM 模式描述

用于 list_factorsingredient_on_factor 的命名高斯模式。

2-D/3-D UMAP 投影

用于地图和 atlas 端点的预计算投影。

每个工件都使用 npm 包 @kaikaku/epicure-artifacts 进行版本化。仓库通过 npm update 或 CI 中的手动流水线重新生成工件。

使用说明 / 免责声明

Epicure 工具返回的是从训练语料库中学到的统计关联,而非事实或建议。不要 依赖 Epicure 输出作为食品科学、营养、过敏或医疗决策的依据。请寻求合格的专业人士的指导。

本地开发

支持 Python 3.11 或更高版本(生产环境使用 Python 3.12)。

python3.12 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
python scripts/verify_data.py --data-dir data
ruff check src tests scripts
pytest -q
python -m epicure_mcp.server

路径

方法

目的

/healthz

GET

轻量级存活探针。

/mcp

POST/GET/DELETE

MCP 传输端点。

/atlas

GET

Epicure 站点使用的只读 3-D UMAP 投影。

/favicon.ico, /favicon.png

GET

连接器图标。

使用官方 MCP Inspector 检查本地服务器:

npx -y @modelcontextprotocol/inspector \
  --cli http://127.0.0.1:8080/mcp --transport http --method tools/list

对生产环境运行完整的远程冒烟测试:

python scripts/smoke_test_remote.py https://epicure-mcp.kaikaku.ai/mcp

配置

变量

默认值

用途

EPICURE_DATA_DIR

<repo>/data

捆绑工件目录。

EPICURE_ASSETS_DIR

捆绑工件

可选的 favicon 目录。

HOST

0.0.0.0

绑定地址。

PORT

8080

监听端口。

RATE_LIMIT_PER_MIN

30

每个客户端每分钟的请求数。

RATE_LIMIT_BURST

10

突发请求的令牌桶大小。

MCP_API_TOKEN

生产环境未设置;如果设置,则要求持有者令牌。

MCP_ALLOWED_ORIGINS

http://localhost:*

允许的来源,用于基于浏览器的访问。

存储库结构

GXP8

文档

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    3
    14
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that provides semantic memory with search, related-content traversal, and write-back capabilities, all powered by local embeddings of your notes, documents, and chat histories.
    14
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Read-only local-first MCP server enabling AI assistants to semantically search private Markdown, PDF, and Tika-backed knowledge bases without data upload.
    45
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.

  • Read-only MCP server for wafergraph.com's semiconductor & AI supply-chain data: 30 tools, no auth.

  • Federated commerce search across independent WooCommerce merchants. Keyless, read-only MCP server.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KAIKAKU-AI/epicure-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server