Macrofactor MCP Server

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

Local serverstdioPython

What is the Macrofactor MCP server?

Macrofactor MCP server exists for a simple reason — assistants are far more useful when they can act on Macrofactor directly instead of describing what you should do. Fueling & recovery decision engine combining MacroFactor nutrition with Garmin training data.

What you get

MacroFactor MCP is a local Fueling & Recovery Decision Engine. Give your MCP client a MacroFactor export, optionally add Garmin, and ask for a decision instead of manually comparing nutrition, sleep, body, and training screens.

What the assistant can call

Once Macrofactor is connected, these are the calls the assistant has available:

  • Mode — Decisions available

Setting it up

The server ships on PyPI as macrofactor-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 2 environment variables: MACROFACTOR_DATA_DIR, MACROFACTOR_DB_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Macrofactor's toolset — Mode — is a fair guide to whether it matches your workflow. It is maintained by NasserAlbusaidi; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Macrofactor's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the macrofactor mcp server does with a few real requests.

Available tools

ToolWhat it does
ModeDecisions available

How to install the Macrofactor MCP server

{
  "mcpServers": {
    "macrofactor": {
      "command": "uvx",
      "args": ["macrofactor-mcp"],
      "env": {
        "MACROFACTOR_DATA_DIR": "your-value",
        "MACROFACTOR_DB_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
MACROFACTOR_DATA_DIRFilesystem location the server is allowed to use.Optional
MACROFACTOR_DB_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Macrofactor to Mode.

Frequently asked questions

It connects Macrofactor to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Mode) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Macrofactor directly.