Skip to main content
Glama
mgnirck

Lecka Nutrition Race Planner

by mgnirck
README.md
# lecka-mcp

A Model Context Protocol (MCP) server for the Lecka sports nutrition platform. It exposes tools that let MCP-compatible AI clients (like Claude) query products, calculate race fueling plans, and retrieve personalized nutrition data.

Built with [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) and deployed on Vercel.

## Tools

| Tool | Description |
|------|-------------|
| `get_products` | Returns the full catalog of Lecka nutrition products |
| `calculate_fueling_plan` | Calculates a race-day fueling plan based on duration, intensity, and athlete data |
| `get_nutrition_data` | Retrieves per-product nutrition data (carbs, calories, electrolytes, etc.) |

## MCP Server URL

```
https://lecka-mcp.vercel.app/mcp
```

## Connect with Claude Desktop

Add the following to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "lecka": {
      "url": "https://lecka-mcp.vercel.app/mcp"
    }
  }
}
```

On macOS the config file lives at `~/Library/Application Support/Claude/claude_desktop_config.json`.

## Development

```bash
npm install
npm start
```

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clear and distinct purpose: calculating a fueling plan, retrieving product nutrition data, and listing products. No overlap or ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern using snake_case (e.g., calculate_fueling_plan, get_nutrition_data, get_products), making them predictable.

Tool Count4/5

With only 3 tools, the set is minimal but still covers the core needs for the narrow domain of race nutrition planning using Lecka products. Slightly under but reasonable.

Completeness4/5

The tools cover product discovery, detailed nutrition info, and plan calculation. Minor gaps exist (e.g., no user profile or plan adjustment tools), but the essential workflow is supported.

Maintenance

ActivityInactive
ResponsivenessNo issues