AIm Workout Journal

com.aim-journal由 aim-journal.com 发布官方发布者v1.3.0更新于 Oct 24, 2026

Chat forgets your workouts. AIm remembers them for Claude and ChatGPT: sets, weights, 1RM, volume.

已验证Streamable HTTP可网页运行位置与生活效率与工作流

概览

AI 生成的概览

远程训练日志 MCP 服务器,让助手记录训练、读取历史、统计、目标与教练上下文。

可以做什么
记录、更新、删除和导入训练课与单组数据,包括粘贴其他应用的导出或笔记本照片。读取训练历史、单次详情、训练量、进展与估算 1RM 等统计,以及计划、目标和身体指标。搜索精选动作库,列出并新增或更新动作。获取教练上下文(目标、经验、器械、伤病、近期训练重量),并通过计划审阅、目标、教练事件和身体指标保持其更新。
适用场景
适合希望 Claude 或 ChatGPT 用自然语言记录训练,并依据自己已记录的历史、伤病和目标来制定训练计划,而不是给出通用建议的场景。
运行要求
通过 streamable HTTP 连接 aim-journal.com 的远程端点。需要 OAuth 2.1 登录并在浏览器中授权,无需手动粘贴 API 密钥或环境变量。同一主机上的移动网页应用可查看日志。
安装前请注意
助手可以写入、修改和删除已记录的训练课与单组数据,并更新目标、教练档案和身体指标。伤病、身体指标和训练历史等健康相关数据会被存储并交给所连接的助手。README 说明旧的 URL 令牌访问方式仍可用,应把这类链接视为机密。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AIm Workout Journal,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.aim-journal%2Faim/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "aim-workout-journal": {
      "type": "http",
      "url": "https://aim-journal.com/mcp"
    }
  }
}

README

AIm Workout Journal

A workout tracker your AI assistant writes to. AIm is an MCP server plus a mobile web app (PWA): you describe a session in Claude or ChatGPT in your own words, the assistant logs it through MCP, and the app shows the program, the history, records, estimated 1RM and per muscle load. The server hands the assistant your goal, injuries and logged weights as data, so it plans from your training instead of generic advice.

Live at aim-journal.com. Free, and it runs inside the AI subscription you already pay for rather than being a second one. Guides: connect a workout tracker over MCP, AI personal trainer, 1RM calculator.

How it works

There are two ways in, on the same host, and both resolve to the same user_id:

https://<app>/mcp                OAuth 2.1 — add as a connector, approve in the browserhttps://<app>/{token}            mobile web app / installable PWAhttps://<app>/{token}/mcp        the original connector address, still supportedhttps://<app>/{token}/api/*      read only JSON the UI consumes

OAuth is what a connector uses now. The server is an OAuth 2.1 resource server: an unauthenticated call gets a 401 carrying RFC 9728 protected-resource metadata, the client discovers the authorization server from it, registers itself dynamically, and the user approves on a consent screen this app serves. Supabase Auth is the authorization server, so no authorization codes or access tokens are stored here; the access token's sub is mapped to an account through users.supabase_user_id. Nothing secret is pasted by hand.

The URL token predates it and still works, which is why every link already in someone's inbox kept working when OAuth landed. A token resolver middleware maps the leading path segment to a user and scopes every query by user_id; the OAuth path sets the same context variable from a verified token instead. Two doors, one scoping rule.

What the MCP server exposes

20 tools over stateless streamable HTTP (FastMCP):

  • Logging: log_session, update_session, update_set, delete_session, import_document (paste an export from another tracker or a photo of a notebook page).
  • Reading: get_sessions, get_session, get_stats (volume, progression, estimated 1RM via Epley), get_program, get_goals, get_body_metrics.
  • Catalogue: search_exercise_pool (a curated global pool with illustrations), list_exercises, upsert_exercise.
  • Coaching: get_coaching_context is the important one. It returns data only: this user's goal, experience, equipment, injuries (with the movement patterns that load them), recent working weights, goal-matched planning ranges and the intake state, for the task at hand (next workout, new program, weekly review), so the assistant plans from data rather than from nothing. How the assistant uses it lives in the server's MCP instructions. review_program_draft, update_coach_profile, upsert_goal, log_coach_event, log_body_metric keep that context current.

Repo layout

api/index.py      Vercel entrypoint (must stay at repo root, see below). Imports backend/src.requirements.txt  Vercel's Python build reads this (must also stay at repo root).backend/          Python package, tests, scripts, DB migrations.web/              Vite + React SPA (own package.json, own dev server) and the static guide pages.

api/index.py and requirements.txt cannot move: Vercel's zero config Python builder only auto detects functions under a root level api/, and only installs a root level requirements.txt alongside them. Everything else in backend/ (pyproject.toml, uv.lock, tests, scripts, supabase/) is hidden from the Vercel build by .vercelignore, so Vercel treats the repo as a static SPA plus one Python function.

One thing to know before you go reading: some code comments cite internal planning documents by path, such as docs/COACHING_PLAN.md, docs/TEST_CASES.md or docs/DEPLOYMENT.md. Those are product and research notes that are not published here, so the paths will not resolve. Nothing in the code depends on them; they are provenance for a decision, not a dependency. Everything you need to build, test and run what is in this repository is in this README.

Stack

  • Backend (backend/): Python 3.12, FastMCP (stateless HTTP), psycopg3, Supabase Postgres (transaction pooler). MCP and the read API live in backend/src/workout_storage/, served by api/index.py.
  • Frontend (web/): Vite, React, Tailwind v4, shadcn/ui, recharts, React Query, vite-plugin-pwa. Data layer in web/src/app/lib/ (token to api to adapter to hooks). The guide pages under web/guides/ are generated to static HTML at build time and ship no bundle.
  • Hosting: one Vercel project. vercel.json routes mcp, api and cron to the function and everything else to the SPA.

Frontend dev

bash
cd webnpm installecho 'VITE_API_ORIGIN=https://workout-storage.vercel.app' > .env.local  # dev against prod APInpm run dev              # http://localhost:5173/{token}npm run test             # vitest: pure function + component testsnpx playwright install chromium   # one time, before the first test:e2e runnpm run test:e2e         # Playwright, against /demo (no backend needed)

Backend dev

bash
cd backenduv sync --extra dev           # install depscp ../.env.example ../.env     # fill DATABASE_URL etc. (kept at repo root, shared by all tooling)uv run pytest                  # unit + integration + e2euv run ruff check . && uv run mypy .

Create a user (prints the token to open in the browser and to paste into an assistant):

bash
cd backenduv run python scripts/create_user.py --name "Alex"

Running your own

Everything needed is here, but this is the source of a hosted service rather than a turnkey self host kit: you supply a Supabase project (migrations in backend/supabase/migrations/), a Vercel project, and the environment variables listed in .env.example. Analytics, email and backup integrations are optional and stay dormant without their keys.

Attribution

Exercise illustrations are third party works under CC BY-SA, each credited in web/ATTRIBUTIONS.md. They keep their own license regardless of the license on this repository.

License

MIT, see LICENSE. The exercise illustrations are the one exception, see Attribution above.

来源:README.md,提交 ce93aa1

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

3
  1. v1.3.0最新Oct 18, 2026
  2. v1.2.1Sep 16, 2026
  3. v1.2.0Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分