
Achiote
tech.kyanitelabs由 kyanitelabs.tech 发布v0.2.2更新于 Oct 24, 2026
Food-memory reconstruction: recreate childhood dishes with ingredients available where you are.
概览
一个本地 MCP 服务器,帮助助手把家庭饮食记忆整理成结构化调研、感官分析和一次小规模试味。
- 可以做什么
- 整理零散的饮食记忆片段、谐音线索和家庭背景,并规划菜品调研,给出假设与待核实查询;在配置了搜索密钥时可选调用网络搜索,否则明确返回未搜索说明。构建、校验并汇总来源记录,再生成区分用户所述、调研所得、推断与未知的档案。解析菜名所属类别与候选,并生成向亲属温和追问的问题。分析对怀旧关键的感官维度,从内置食材数据中寻找感官替代品,并给出静态的区域采购提示与区域比较。产出最小可行的怀旧线索,即最容易获得的香气、一口、一饮或仪式,用于先验证记忆方向。
- 适用场景
- 当有人想凭模糊记忆复刻童年或家乡菜,并希望走一条有据可循的结构化路径而非凭空编造食谱时使用。适合研究饮食记忆与文化味道的研究者和开发者;除非用户要求更多,流程止于一次小规模试味。
- 运行要求
- 需要 Node.js 22 或更高版本及 npm;该包已发布到 npm,也可在源码检出后构建运行。原生 SQLite 依赖可能需要编译工具链或受支持的预编译包。可选的网络搜索需要配置搜索密钥;可选 HTTP 服务器使用 ACHIOTE_API_KEYS 和 PORT,本地语音需另行安装引擎。
安装
在 SourceWeft 中
- 打开 控制台中的 Achiote,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Achiote
TL;DR: Achiote — food-memory and cultural taste research product. Best for researchers and builders exploring food memory and heritage taste. Keywords: food memory research, cultural taste, heritage cuisine AI.
Achiote is a Model Context Protocol (MCP) server for research-first food-and-drink memory reconstruction. It helps a host AI turn incomplete family food or drink memories into structured clues, research plans, cited/provenance-ready findings, sensory analysis, sourcing/substitution strategy, and a minimum viable nostalgia cue before any fuller recipe handoff.
"The nostalgia lives in the maillard crust's interaction with the lactic tang — here's how to reproduce that."
Super Quick Start
From this repo:
Claude Code can use the checked-in .mcp.json after the build step. For Codex, add the MCP server to ~/.codex/config.toml with an absolute path to this repo's built dist/index.js:
Restart the host AI session, then test with:
Expected behavior: the host AI should use the MCP tools to collect the memory, plan research, build a dossier, and present a minimum viable nostalgia cue first. Only after that should it ask whether the user wants something more complex, such as sourcing help or a full recipe handoff.
Public Web Surfaces
The hosted/static product surface lives under docs/landing/. The core app and launch pages are dependency-free static assets served by the optional HTTP server:
/->docs/landing/index.html, the public landing page./app->docs/landing/app.html, the interactive food-memory detective./pricing,/about,/roadmap,/changelog,/status,/blog, and/receipt-> standalone launch/trust/growth pages./ai-search,/llms.txt,/privacy,/terms,/safety,/support,/compare,/robots.txt, and/sitemap.xml-> AI-search, legal, support, comparison, and crawler surfaces.
Open the HTML files directly in a browser for static review; the full route behavior is covered by npm run package:smoke.
What It Does Today
Achiote is a research-first food-and-drink memory reconstruction server. It provides 19 MCP tools that let a host AI chat client run the workflow from a fragment to a minimum viable nostalgia cue, with optional sourcing/substitution and recipe handoff if the user wants more:
All tools return MCP structuredContent. Most tools also display JSON text; intake tools may display a short human-readable summary so Claude Code output stays readable while structured data remains available to the host.
End-to-end flow
This executes through the full MCP workflow and is covered by tests/reconstruction-flow-e2e.test.ts. The preferred stopping point is the minimum viable nostalgia cue: the smallest, most accessible, easiest-to-find aroma, bite, sip, condiment, or ritual that tests whether the memory is on the right track. If the user asks for more, the MCP server can then provide sourcing/substitution context and a recipe-generation handoff. The host AI writes final recipe prose because live research, family confirmation, and adaptation judgment should not be faked by bundled data.
Requirements
- Node.js
>=22.0.0 - npm
better-sqlite3 is a native dependency, so unsupported Node/platform combinations may need a compiler toolchain or a supported prebuild.
Installation
Achiote is published to npm.
The published package ships the built dist/ output, so no build step is needed. To run from a source checkout instead:
Using with Claude Code or another MCP client
After building, add the stdio server to your MCP settings:
If installed as a package, the CLI binary is achiote.
HTTP server
An optional HTTP server provides a web UI and AI agent endpoint:
Hosted Achiote (https://achiote.kyanitelabs.tech) does not enforce authentication: anonymous access is open and billing-issued API keys are honored (GET /health reports authEnabled: false). Self-hosted HTTP can still require keys: configure ACHIOTE_API_KEYS for /ask, /mcp, and voice upload endpoints. Setting ACHIOTE_AUTH_ENABLED=false does not by itself expose anonymous /ask or voice processing; set ACHIOTE_ALLOW_ANON_ASK=true only for local demos. Generate a self-hosted key with npm run keygen -- --tier pro --name admin; put the printed envRecord inside the ACHIOTE_API_KEYS JSON array, not the one-time raw key. Port defaults to 3000, configurable via PORT env var.
Shareable Memory Receipt links keep receipt JSON in the URL fragment (/receipt#data=...). URL fragments are not sent to the server, so possession of the link is the access boundary. Do not put private family memory text into telemetry or server-side share records.
Local OSS speech
Voice is disabled by default and uses only local OSS speech engines when configured. The recommended stack is whisper.cpp for multilingual speech-to-text and Kokoro-82M for local read-aloud. This path is aimed at immigrant families and children of immigrants: speech input defaults to auto language detection so accents, transliterated dish names, and code-switching can reach the same food-memory workflow as typed text. Exact language and accent quality depends on the local model you install.
Example environment:
/voice/status is public readiness discovery. /voice/transcribe and /voice/synthesize use the same auth and anonymous-demo policy as /ask, because recorded family memories are sensitive.
Cache and privacy
The SQLite research cache path is:
$ACHIOTE_CACHE_PATH, if set$XDG_CACHE_HOME/achiote/culture-cache.db, ifXDG_CACHE_HOMEis set~/.cache/achiote/culture-cache.db
User memories can be emotionally sensitive. Do not add optional food-data provider integrations without documenting what is sent, where it is sent, and how it is cached.
Operator reference seeding
Achiote can turn private aggregate /ask quality counters into reference seed priorities for future data hardening:
The command prints host-research prompts and reference bootstrap targets. It does not browse. SQLite is an optional persistent overlay for additional approved ResearchRecord objects:
Fixtures must match the seed manifest and pass provenance validation before any SQLite write.
The repo also ships an approved CC0 structured-data pantry batch. Those records are committed in src/data/reference-pantry-fixtures.json, compiled into dist/data/, and used by runtime tools as the built-in baseline even when SQLite has never been bootstrapped:
That optional bootstrap command copies the bundled baseline into SQLite for deployments that want a single local database view, but it is not required on every request and it is not required for Achiote to see the baseline pantry. The bundled batch uses Wikidata structured labels/descriptions only. It currently contains 138 typed ResearchRecord fixtures: the original 18-record skeleton plus a 120-record expansion across 20 culture-area buckets and six food-memory bands. It covers every current food form, culture-area bucket, region scope, name system, and sensory mechanism, and remains explicit that the records are broad grounding context rather than final family-specific answers. It marks the entries as cited researched records without pretending they are family-confirmed memories or operator quality signals.
The reference pantry is intentionally conservative. src/data/reference-source-registry.json allows CC0/public-domain structured sources first, currently Wikidata structured food data and USDA FoodData Central, and marks sources such as Open Food Facts and FAO/INFOODS for manual review before fixture use. Do not copy recipe prose, paywalled database content, proprietary rankings, raw user memories, credentials, or uncited model guesses into pantry fixtures.
Development
For self-hosted GitHub Actions runner and queued-job troubleshooting, see docs/SELF_HOSTED_RUNNER.md.
Architecture
See docs/ARCHITECTURE.md.
Current long-lived module boundaries include:
src/lib/provider-runtime.tsfor provider/model profile resolution and ask-session adapter selection.src/lib/account-access.tsfor auth, billing, credits, anonymous demo behavior, and rate-limit decisions.src/lib/local-speech-controller.tsfor HTTP voice route behavior around local OSS speech engines.src/lib/cue-profile-engine.tsfor minimum viable nostalgia cue profile evidence surfaces.src/lib/constraint-adapter.tsfor dietary, allergy, and religious constraint rewrites.docs/landing/product-app.jsfor browser app primitives such as SSE parsing, actionable HTTP errors, and chat-history updates.scripts/lib/package-surface.mjsfor the intentional package/release surface.
The Science
Food-evoked nostalgia should be handled as a sensory-memory workflow, not as a medical claim. The server preserves evidence boundaries: user memory, host-researched facts, model inference, and unknowns stay separate so the host can cite real sources and avoid pretending bundled data is research.
The bundled food-science references in src/data/food-science-references.json organize peer-reviewed research by mechanism area. Each entry includes a DOI for verification. The 12 mechanism areas are:
License
Business Source License 1.1 (BUSL-1.1). See LICENSE.
What is Achiote?
Achiote is a food-memory and cultural taste research product that helps researchers and builders exploring food memory and heritage taste capture and reason about food memory with structured research surfaces.
Who it's for
- Primary: researchers and builders exploring food memory and heritage taste
- Use when you need to capture and reason about food memory with structured research surfaces
- Skip if you need a recipe SEO blog
FAQ
What is Achiote?
Achiote is a food-memory and cultural taste research product. It helps researchers and builders exploring food memory and heritage taste capture and reason about food memory with structured research surfaces.
Who should use Achiote?
researchers and builders exploring food memory and heritage taste.
How is Achiote different?
Unlike recipe aggregators, Achiote focuses on memory and cultural taste research.
Is Achiote production software?
Treat the README status and release tags as source of truth for maturity. Validate against your own requirements before production use.
Status
- Maintained as of 2026 on the default branch
- Prefer release tags when pinning dependencies
- Report issues on GitHub
Agent surface
- Coding agents: read this README first, then repo docs/
AGENTS.mdif present - Prefer machine-readable briefs (
llms.txt) when the repo ships one - MCP or skill entrypoints are documented in-repo when applicable
Contributing
Issues and PRs welcome on GitHub. Keep public docs free of secrets and machine-local paths.
License
See LICENSE in this repository (or package metadata if license is package-only).
Table of contents
Licensing
Achiote is source-available under the Business Source License 1.1 (BUSL-1.1).
- Free: personal, evaluation, and development use.
- Commercial / production use requires a license — see pricing (Commercial tier from $299/mo includes hosted API + MCP production access and commercial self-hosting terms).
- Alternative licensing: [email protected].
- The license converts to GPLv2+ at the Change Date (2030) per BUSL-1.1.
来源:README.md,提交 456d8f1
工具
0版本历史
1- v0.2.2最新Oct 13, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。