stacklog-mcp
v1.0.0
Published
StackLog MCP Server - AI-powered supplement management
Maintainers
Readme
stacklog-mcp
MCP (Model Context Protocol) server for StackLog — an AI-powered supplement tracking platform.
Connect your StackLog account to AI assistants like Claude, enabling natural language supplement management: search supplements, build stacks, log daily intake, and analyze health trends.
Quick Start
1. Get your API Token
Go to StackLog Settings and copy your API Token from the API Token section.
2. Configure your AI client
Add the following to your MCP client configuration:
Claude Code (~/.claude.json):
{
"mcpServers": {
"stacklog": {
"command": "npx",
"args": ["-y", "stacklog-mcp"],
"env": {
"STACKLOG_REFRESH_TOKEN": "your-token-here"
}
}
}
}Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"stacklog": {
"command": "npx",
"args": ["-y", "stacklog-mcp"],
"env": {
"STACKLOG_REFRESH_TOKEN": "your-token-here"
}
}
}
}Tools
Guide
| Tool | Description |
|------|-------------|
| stacklog_guide | Quick start guide with workflow steps and examples |
Public (no authentication required)
| Tool | Description |
|------|-------------|
| search_supplements | Search supplements by name, category, ingredient, brand, or form |
| get_supplement_detail | Get detailed info about a supplement by slug |
| get_platform_stats | Get platform statistics |
| browse_categories | Browse categories, brands, and ingredients |
Authenticated (requires API Token)
| Tool | Description |
|------|-------------|
| create_stack | Create a supplement stack |
| add_to_stack | Add a supplement to a stack |
| list_my_stacks | List your stacks with items |
| log_supplements | Record daily supplement intake |
| rate_effects | Rate energy, sleep, focus, mood, stress (1-5) |
| get_log_history | View intake history |
| get_my_trends | Effect trends for correlation analysis |
Example Usage
Once connected, you can interact with StackLog through natural language:
- "Search for magnesium supplements"
- "Create a new stack called 'Morning Routine'"
- "Add vitamin D to my Morning Routine stack"
- "Log that I took my Morning Routine stack today"
- "Rate my energy as 4 and sleep as 5 today"
- "Show me my supplement trends for the last month"
Requirements
- Node.js >= 18
- A StackLog account
License
MIT
