NestDaddy

Macrofactor Mcp

io.github.NasserAlbusaidi/macrofactor-mcp · v0.1.1

Fueling & recovery decision engine combining MacroFactor nutrition with Garmin training data

Connect Runs on your machine

Terminal
claude mcp add macrofactor-mcp -e MACROFACTOR_DB_PATH=<MACROFACTOR_DB_PATH> -e MACROFACTOR_DATA_DIR=<MACROFACTOR_DATA_DIR> -e GARMINTOKENS=<GARMINTOKENS> -- uvx macrofactor-mcp==0.1.1
claude_desktop_config.json
{
  "mcpServers": {
    "macrofactor-mcp": {
      "command": "uvx",
      "args": [
        "macrofactor-mcp==0.1.1"
      ],
      "env": {
        "MACROFACTOR_DB_PATH": "<MACROFACTOR_DB_PATH>",
        "MACROFACTOR_DATA_DIR": "<MACROFACTOR_DATA_DIR>",
        "GARMINTOKENS": "<GARMINTOKENS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "macrofactor-mcp": {
      "command": "uvx",
      "args": [
        "macrofactor-mcp==0.1.1"
      ],
      "env": {
        "MACROFACTOR_DB_PATH": "<MACROFACTOR_DB_PATH>",
        "MACROFACTOR_DATA_DIR": "<MACROFACTOR_DATA_DIR>",
        "GARMINTOKENS": "<GARMINTOKENS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "macrofactor-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "macrofactor-mcp==0.1.1"
      ],
      "env": {
        "MACROFACTOR_DB_PATH": "<MACROFACTOR_DB_PATH>",
        "MACROFACTOR_DATA_DIR": "<MACROFACTOR_DATA_DIR>",
        "GARMINTOKENS": "<GARMINTOKENS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
MACROFACTOR_DB_PATH
Optional
Path to the local DuckDB database (default: ~/.macrofactor/macrofactor.duckdb)
MACROFACTOR_DATA_DIR
Optional
Directory watched for MacroFactor export files to auto-import (default: ~/Downloads)
GARMINTOKENS
Optional
Directory holding Garmin Connect auth tokens for optional Garmin sync (default: ~/.garminconnect)

Details

Package[email protected] (PYPI, stdio)
First published10 Jul 2026
Last updated10 Jul 2026
Registry nameio.github.NasserAlbusaidi/macrofactor-mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.