mcp-nutrition-db
mcp-nutrition-db
mcp-nutrition-db は、ChatGPT が食事の栄養と栄養目標を記録・修正・照会できるようにするプライベート MCP サービスです。ChatGPT は食事の写真と会話のコンテキストを解釈し、このサービスが永続的で監査可能なデータを保持します。
本番サービスは NixOS ホスト kage 上で実行されることを想定しています。ループバックのみで待ち受け、OpenAI Secure MCP Tunnel を通じて ChatGPT から到達するため、nginx のルートや公開 MCP エンドポイントは不要です。
プロジェクトドキュメント
システム設計 は、プロダクトの境界、MCP ツール、データモデル、セキュリティモデル、NixOS デプロイを定義します。
実装計画 は、フェーズ、受け入れ基準、進捗、先送りされた作業の信頼できる情報源です。
ローカルテスト は、Codex への直接アタッチと、ChatGPT Web 向けの一時的な Secure MCP Tunnel ワークフローについて説明します。
実装計画は、意味のある実装マイルストーンと同じコミットで更新する必要があります。設計変更は、それに依存するコードの前、またはコードと併せて決定ログに記録する必要があります。
Related MCP server: Nutrition MCP Server
現在の状況
ローカル MVP は、SQLite スキーマと全 8 つの MCP ツールを実装しています。リポジトリ、スキーマ、カレンダー、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.sqlite3MCP エンドポイントは http://127.0.0.1:8787/mcp で、readiness は http://127.0.0.1:8787/healthz で確認できます。サーバーはデフォルトでループバック以外の HTTP バインドを拒否します。新しい Codex セッションをアタッチするか、ChatGPT Web 用の固定されたトンネルクライアントを実行するには、ローカルテスト を参照してください。
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityFmaintenanceEnables 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.151MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables 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.
- AlicenseAqualityDmaintenanceEnables natural language access to USDA's FoodData Central database with 1M+ foods, supporting search, nutrition facts, food comparison, and daily value calculations.8MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with real-time access to nutrition data from USDA FoodData Central and FatSecret, enabling accurate answers with citations for nutrition queries.
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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