
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 分
請在儲存庫或註冊中心條目中宣告授權條款。