Skip to content

myastark/digest-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Digest

Local-first nutrition tracking MCP server for Claude Desktop. Log meals by chatting with Claude, see macros in a visual dashboard. No cloud, no account, no subscription.

Pre-alpha. Expect rough edges and breaking changes. Feedback welcome.

What it does

  • Log meals by chatting. "I had two eggs and a slice of toast" — Claude looks up the foods, picks portions, writes them to your local database.
  • Visual dashboard. Calories, protein, carbs, fat, fiber against your goals. Renders as an in-chat artifact that updates in place — no window flipping.
  • Barcode lookup. Read the barcode off a package, get the entry.
  • Label photos. Snap a nutrition label, Claude reads it natively.
  • Goals you set once. Calories and macro targets stored locally.
  • Your data stays yours. Everything lives in ~/.digest/digest.db on your machine. SQLite. Export to CSV anytime.

What it doesn't do

No meal plans. No grocery lists. No social feed. No streaks or gamification. No coaching nudges. No account. No cloud. No ads. No subscription.

It's a log and a dashboard. That's the whole product.

Data sources

Both are queried together and results deduplicated.

Install

pip install digest-mcp

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "digest": {
      "command": "digest-mcp"
    }
  }
}

Restart Claude Desktop.

Optional environment variables

Variable Description
USDA_API_KEY Free key from fdc.nal.usda.gov. Without it, falls back to a rate-limited demo key.
DIGEST_DB_PATH Custom path for the SQLite database. Default: ~/.digest/digest.db

Usage

Open a chat and talk normally:

"Log 3 scrambled eggs and 2 slices of whole wheat toast for breakfast"

"Set my goals to 2400 cal, 180g protein, 250g carbs, 80g fat"

"Show me today's dashboard"

"How much protein have I had today?"

"Look up barcode 049000042566"

"Delete the second entry from lunch"

Tools exposed to Claude

search_food, lookup_barcode, log_meal, update_entry, delete_entry, get_food_log, export_log, set_goals, get_goals, daily_summary, generate_dashboard

Where your data lives

~/.digest/digest.db — a single SQLite file. Back it up, copy it, inspect it, delete it. It's yours. The only network calls are food lookups to USDA and Open Food Facts.

License

MIT

Contributing

Issues and PRs welcome. This is early software — the fastest way to help is to try it and report what breaks.

About

Local-first nutrition tracking MCP server. Log meals by chatting with Claude, see macros in a visual dashboard. No cloud, no account, no subscription.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors