Macrofactor MCP Server
by nasseralbusaidiio.github.NasserAlbusaidi/macrofactor-mcpv0.1.1
Combines MacroFactor nutrition data with Garmin training data for recovery checks, daily briefings, weekly reports and nutrition-performance correlations.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Macrofactor MCP server
Install in Claude Code
claude mcp add macrofactor -- uvx macrofactor-mcpInstall in Cursor
{
"mcpServers": {
"macrofactor": {
"command": "uvx",
"args": [
"macrofactor-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"macrofactor": {
"command": "uvx",
"args": [
"macrofactor-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"macrofactor": {
"type": "stdio",
"command": "uvx",
"args": [
"macrofactor-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"macrofactor": {
"command": "uvx",
"args": [
"macrofactor-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MACROFACTOR_DB_PATH | — | — | Path to the local DuckDB database (default: ~/.macrofactor/macrofactor.duckdb) |
| MACROFACTOR_DATA_DIR | — | — | Directory watched for MacroFactor export files to auto-import (default: ~/Downloads) |
| GARMINTOKENS | — | — | Directory holding Garmin Connect auth tokens for optional Garmin sync (default: ~/.garminconnect) |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-10 · 3mo ago · GitHub
Latest release
2026-07-10 · 3mo ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-07-10 · 3mo ago · official registry · v0.1.1
FAQ
›How do I install the Macrofactor MCP server in Claude Code?
Run: claude mcp add macrofactor -- uvx macrofactor-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Macrofactor require an API key?
No required environment variables are declared in its published metadata.
›Can I use Macrofactor as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Macrofactor in the official MCP registry?
Yes, as io.github.NasserAlbusaidi/macrofactor-mcp.