Fueling & recovery decision engine combining MacroFactor nutrition with Garmin training data
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
MACROFACTOR_DB_PATHOptional | Path to the local DuckDB database (default: ~/.macrofactor/macrofactor.duckdb) |
MACROFACTOR_DATA_DIROptional | Directory watched for MacroFactor export files to auto-import (default: ~/Downloads) |
GARMINTOKENSOptional | Directory holding Garmin Connect auth tokens for optional Garmin sync (default: ~/.garminconnect) |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 10 Jul 2026 |
| Last updated | 10 Jul 2026 |
| Registry name | io.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.
