bodylog MCP Server
by abhaymettuio.github.abhaymettu/bodylogv0.1.0
Agent-first workout and food log: sets and meals from chat, USDA and Open Food Facts macros, cards.
context tax
queued
security
queued
cold start
queued
freshness
Active16d ago
Install bodylog MCP server
Install in Claude Code
claude mcp add bodylog -e FDC_API_KEY='<fdc-api-key>' -- uvx bodylog mcpInstall in Cursor
{
"mcpServers": {
"bodylog": {
"command": "uvx",
"args": [
"bodylog",
"mcp"
],
"env": {
"FDC_API_KEY": "<fdc-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"bodylog": {
"command": "uvx",
"args": [
"bodylog",
"mcp"
],
"env": {
"FDC_API_KEY": "<fdc-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"bodylog": {
"type": "stdio",
"command": "uvx",
"args": [
"bodylog",
"mcp"
],
"env": {
"FDC_API_KEY": "<fdc-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"bodylog": {
"command": "uvx",
"args": [
"bodylog",
"mcp"
],
"env": {
"FDC_API_KEY": "<fdc-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| BODYLOG_DB | — | — | SQLite file for the log (default ~/.bodylog/log.db) |
| BODYLOG_CARDS | — | — | Directory for rendered card PNGs (default ~/.bodylog/cards) |
| FDC_API_KEY | — | yes | USDA FoodData Central API key (free at api.data.gov); DEMO_KEY is used without one |
| BODYLOG_OFFLINE | — | — | Set to 1 to use only the bundled USDA table, no network lookups |
Freshness
Active — last maintenance signal 16d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-23 · 16d ago · GitHub
Latest release
2026-09-23 · 16d ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-23 · 16d ago · official registry · v0.1.0
FAQ
›How do I install the bodylog MCP server in Claude Code?
Run: claude mcp add bodylog -e FDC_API_KEY='<fdc-api-key>' -- uvx bodylog mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does bodylog require an API key?
Yes. It expects FDC_API_KEY, of which 1 is a secret.
›Can I use bodylog as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is bodylog in the official MCP registry?
Yes, as io.github.abhaymettu/bodylog.