Skip to main content

An MCP server that calculates well-known running formulas

Project description

running-formulas-mcp MCP server

An MCP server with tools to calculate VDOT and recommended training paces based on Jack Daniels.

Features

  • VDOT Calculation: Calculate VDOT from a given distance (meters) and time (seconds) using Jack Daniels' formula.
  • Training Paces: Get recommended training paces (Easy, Marathon, Threshold, Interval, Repetition) for a given VDOT.

Tools

  • calculate_vdot: Returns VDOT for a given distance and time.

    • Input:
      • distance (number, meters)
      • time (number, seconds)
    • Output:
      • vdot (float): The calculated VDOT value
  • training_paces: Returns recommended paces for a given VDOT.

    • Input:
      • vdot (number)
    • Output:
      • Structured pace data with value and format for each training zone:
        • easy (object): Lower and upper bounds for easy pace range
        • marathon (object): Marathon pace
        • threshold (object): Threshold pace
        • interval (object): Interval pace
        • repetition (object): Repetition pace
      • All paces include both value (formatted as "min:sec/km") and format fields

Usage

This server is designed to be used as an MCP stdio server. It does not expose HTTP endpoints directly.

Example: Calculate VDOT for a 5k in 25 minutes

Call the calculate_vdot tool with:

{
  "name": "calculate_vdot",
  "arguments": { "distance": 5000, "time": 1500 }
}

Example: Get training paces for VDOT 38.4

Call the training_paces tool with:

{
  "name": "training_paces",
  "arguments": { "vdot": 38.4 }
}

This returns structured pace data like:

{
  "easy": {
    "lower": {"value": "5:42", "format": "min:sec/km"},
    "upper": {"value": "6:29", "format": "min:sec/km"}
  },
  "marathon": {"value": "5:07", "format": "min:sec/km"},
  "threshold": {"value": "4:50", "format": "min:sec/km"},
  "interval": {"value": "4:32", "format": "min:sec/km"},
  "repetition": {"value": "4:26", "format": "min:sec/km"}
}

Configuration

This server is designed to be used with Claude Desktop or other MCP-compatible clients. See the installation sections below for configuration details.

Installation

{
  "mcpServers": {
    "running-formulas-mcp": {
      "command": "uvx",
      "args": ["running-formulas-mcp"]
    }
  }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

running_formulas_mcp-0.1.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

running_formulas_mcp-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file running_formulas_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: running_formulas_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for running_formulas_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 640886a4d4de7f3a0764a55eb0e9272c157b300e3fd3a076ebc733da25edfcf6
MD5 e3516c600bdfaa810a91c30ac957e2fc
BLAKE2b-256 272da3e3e1939ef3a87881472588a86bc1d6971bbb9405c7f9b566ffcfa3385c

See more details on using hashes here.

File details

Details for the file running_formulas_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for running_formulas_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb3833911b9fc5ed0f59f55e51aad5726eddfe5d1f77c561b9b6243213309e3
MD5 f562ee032f906df20c147dbc76844fda
BLAKE2b-256 acfd96a61bb3487218319371eaf3bd5b1985abb4ba55fc9fb185221c73ec3049

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page