Skip to main content
Glama
KireinaHoro

mcp-nutrition-db

by KireinaHoro

mcp-nutrition-db

mcp-nutrition-db 是一个私有 MCP 服务,让 ChatGPT 可以记录、更正和查询膳食营养与营养目标。ChatGPT 负责解读餐食照片和对话上下文;本服务负责持有持久、可审计的数据。

生产服务计划运行在 NixOS 主机 kage 上。它仅监听回环地址,ChatGPT 通过 OpenAI Secure MCP Tunnel 访问它,因此不需要 nginx 路由或公共 MCP 端点。

项目文档

  • 系统设计定义了产品边界、MCP 工具、数据模型、安全模型和 NixOS 部署。

  • 实施计划是各阶段、验收标准、进度和暂缓工作的权威来源。

  • 本地测试说明了直接挂载 Codex 和面向 ChatGPT Web 的临时 Secure MCP Tunnel 工作流。

实施计划应与有意义的实现里程碑在同一提交中更新。设计变更应在依赖它们的代码之前或与之同步记录到决策日志中。

Related MCP server: Nutrition MCP Server

当前状态

本地 MVP 已实现 SQLite schema 和全部八个 MCP 工具。仓库、schema、日历、MCP 进程、Streamable HTTP、包和 NixOS 评估检查均通过;有关确切的已验证状态,请参阅实施计划。

开发

进入锁定环境并运行检查:

nix develop
PYTHONPATH=src ruff format --check src tests
PYTHONPATH=src ruff check src tests
PYTHONPATH=src mypy src
PYTHONPATH=src pytest

运行一个使用临时状态的回环开发服务器:

nix run . -- serve --database /tmp/mcp-nutrition-db.sqlite3

MCP 端点为 http://127.0.0.1:8787/mcp;就绪检查位于 http://127.0.0.1:8787/healthz。默认情况下,服务器拒绝非回环的 HTTP 绑定。参见本地测试以挂载新的 Codex 会话,或为 ChatGPT Web 运行锁定的隧道客户端。

A
license - permissive license
Not graded
quality - not tested
B
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
    Not graded
    quality
    F
    maintenance
    Enables tracking food intake and nutrition using the USDA FoodData Central database. Supports logging meals, setting daily nutrition goals, viewing food diaries, and analyzing nutrition trends over time with local SQLite storage.
    15
    1
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables intelligent nutrition tracking through natural language meal logging with automatic macro calculation using the FoodData Central API. Users can set daily macro goals, review meal history, and monitor nutritional progress through local JSON storage.

View all related MCP servers

Related MCP Connectors

  • Personal nutrition tracking — log meals, track macros, review history, import from another app.

  • Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.

  • Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.

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/KireinaHoro/mcp-nutrition-db'

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