Skip to main content

Coach Claude MCP Server

The MCP (Model Context Protocol) server component of Coach Claude. Provides health and wellness tracking capabilities through a SQLite database.

Installation

pip install coach-claude

Usage

The MCP server runs as a background service and exposes tools for tracking water intake and workouts.

Running the Server

The server supports two transport modes: stdio (default) and SSE (for remote/daemon use).

# Start with stdio transport (default, for local use)
coach-claude

# Start with SSE transport (for remote/daemon use)
coach-claude --transport sse --port 8787

# Custom host binding (default: 127.0.0.1)
coach-claude --transport sse --host 0.0.0.0 --port 8787

MCP Configuration (stdio)

For local use, add to your ~/.claude/settings.json:

{
  "mcpServers": {
    "coach-claude": {
      "command": "coach-claude"
    }
  }
}

MCP Configuration (SSE) - For Devcontainers

Run the server as a daemon on your host machine, then configure devcontainers to connect via SSE:

On host machine:

# Run as a background daemon
coach-claude --transport sse --port 8787 &

In devcontainer ~/.claude/settings.json:

{
  "mcpServers": {
    "coach-claude": {
      "url": "http://host.docker.internal:8787/sse"
    }
  }
}

This allows all your devcontainers to share the same workout/water tracking database on your host machine.

Available Tools

  • log_water(amount, unit?) - Log water intake
  • log_workout(type, name, duration) - Log a workout
  • get_last_water() - Get last water intake
  • get_last_workout() - Get last workout
  • check_reminders() - Check what reminders are due
  • get_stats(period?) - Get statistics
  • update_config(key, value) - Update configuration
  • get_config(key?) - Get configuration

Development

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black src/
ruff check src/

License

Apache 2.0

Metadata

Release files for coach-claude 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coach-claude 1.1.0
File Size Uploaded
coach_claude-1.1.0.tar.gz 37.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coach-claude 1.1.0
File Interpreter ABI Platform
coach_claude-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 74.0 kB

Release files / coach_claude-1.1.0.tar.gz

Download URL coach_claude-1.1.0.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cf58daa5183d4522f290182770748f33be7ef2b166654006e3047adbafb2f1af
BLAKE2b-256 checksum
How to use checksums
0de4d58b8e17315161ef71569c762d1bb917957c3a3bd9633dd34527472a1f88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 13, 2025.

Transparency log

Release files / coach_claude-1.1.0-py3-none-any.whl

Download URL coach_claude-1.1.0-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0ecbde06c44b1f15a987be839940b701f06c062ba0bfd1a280bab2fa16c0f9a
BLAKE2b-256 checksum
How to use checksums
6a8eb99574a99837f7d223b82417379330cb82584fb34c5f1f98bcb898a1a695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 13, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page