DailyGoal API

Scripts, dashboards and AI agents can read and change your own DailyGoal data. The REST API and the remote MCP server are built from one definition, so they offer the same operations with the same inputs, outputs and errors.

The DailyGoal API is not available on the Free plan. It works with a paid plan or during a free trial. See plans.

Endpoints

Your first request

Create an API token in your DailyGoal settings, then ask for your context. Every agent should make this call first: it returns today's Activity Day, your timezone and your preferred units, so writes land on the right day in the right units.

bash
curl "https://api.dailygoal.fit/v1/me" \
  -H "Authorization: Bearer $DAILYGOAL_API_TOKEN"

Operations available today

The reference lists all 47 operations in the shipped catalogue.

Guides

  • MCP quickstart: connect an MCP client with OAuth or an API token, with each client's verification status.
  • Authentication: API tokens, connected apps, paid access and rate limits.
  • Errors: every error code and what to do next.

MCP behavior and annotations

DailyGoal exposes tools only, with no MCP resources, prompts or widgets. Send a single JSON-RPC message per POST. The server returns JSON, uses no session id and offers no event stream; GET and DELETE on the MCP URL return 405. Every protocol request needs a valid credential. Paid access and request limits apply to tool calls.

Each tool's readOnlyHint says whether it leaves domain data unchanged. destructiveHint marks operations that may delete or overwrite data, including save tools that can replace an existing item. openWorldHint: false means the tool operates on DailyGoal data rather than arbitrary outside systems. These hints describe behavior; they do not grant permission or replace your client's confirmation controls.

Versioning

/v1 only takes additive changes. A breaking change ships as /v2, announced on this page at least six months before /v1 changes. For MCP, renaming a tool or adding a required input counts as a breaking change.

Your data and your terms

A program you connect acts on your account and receives the data it asks for. The Privacy Policy explains what connected programs receive, and the Terms of Use cover your responsibility for tokens and apps you set up.