Token导航 LogoToken导航TokenDH.com
Running Coach Memory MCP logo
搜索检索stdio官方级别未说明来源级核验

Running Coach Memory MCP

MCP Server

一个为AI跑步教练提供持久化记忆和训练计划管理的MCP服务,包括训练计划和长期语义记忆管理。

工具数

12

提示词数

0

GitHub Stars

0

资源数

0
向量搜索PythonClaudeClaude DesktopClaudeCursor

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

barcia

提供方

barcia

最后核验

2026/5/17 20:22

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uvx --from "git+ssh://git@github.com/barcia/running-coach-memory-mcp" running-coach-memory-mcp

详细介绍

Running Coach Memory MCP

Persistent memory and training plan management for an AI running coach, exposed as an MCP server.

Two data domains:

  • Plans — Training calendar with scheduled workouts. Each plan follows a status lifecycle (pendingcompleted / skipped / cancelled) and can link to external activity IDs (e.g., Garmin).
  • Memories — Long-term semantic memory with vector embeddings (sqlite-vec) for intelligent retrieval across sessions.
This MCP does not store raw health metrics or biometric data. That data lives in external services (e.g., Garmin). This system acts as the coaching "brain" — what to train, why, and what to remember.

Installation

From git (recommended for MCP clients)

uvx --from "git+ssh://git@github.com/barcia/running-coach-memory-mcp" running-coach-memory-mcp

Local development

git clone git@github.com:barcia/running-coach-memory-mcp.git
cd running-coach-memory-mcp
uv sync

Configuration

Create a .env file (see .env.example):

OPENROUTER_API_KEY=sk-or-v1-xxxx

# Optional
DATABASE_PATH=~/.local/share/running-coach/memory.db
VariableRequiredDefaultDescription
OPENROUTER_API_KEYYesOpenRouter API key for generating embeddings
DATABASE_PATHNo~/.local/share/running-coach/memory.dbSQLite database path

Embedding model is fixed: openai/text-embedding-3-large (3072 dimensions) via OpenRouter.

MCP Client Configuration

Claude Desktop / Claude Code / Cursor

{
  "mcpServers": {
    "Running Coach Memory": {
      "command": "uvx",
      "args": [
        "--from",
        "git+ssh://git@github.com/barcia/running-coach-memory-mcp",
        "running-coach-memory-mcp"
      ],
      "env": {
        "OPENROUTER_API_KEY": "sk-or-v1-xxxx"
      }
    }
  }
}

Local development

{
  "mcpServers": {
    "Running Coach Memory": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/running-coach-memory-mcp", "running-coach-memory-mcp"],
      "env": {
        "OPENROUTER_API_KEY": "sk-or-v1-xxxx"
      }
    }
  }
}

MCP Inspector

npx @modelcontextprotocol/inspector uv run running-coach-memory-mcp

Available Tools

List and search tools return CSV format for token efficiency. Single-record tools return JSON.

Memory

ToolParametersReturnsDescription
add_memoryauthor, contentJSON (Memory)Store a coaching insight with automatic embedding generation.
search_memoriesquery, limit?CSV (id,created_at,author,content,distance)Semantic vector search.
list_memoriesauthor?, limit?CSV (id,created_at,author,content)List memories in reverse chronological order.
get_memorymemory_idJSON (Memory)Retrieve a single memory by ID.
delete_memorymemory_idJSON (bool)Permanently delete a memory and its embedding.

Plans

ToolParametersReturnsDescription
add_planplanned_at, description, notes?JSON (Plan)Schedule a workout.
get_planplan_idJSON (Plan)Get plan details by ID.
list_plansstart_date?, end_date?, status?, limit?CSV (id,planned_at,description,notes,status,activity_id)Query plans with optional filters.
get_today_planCSV (same)Get all plans scheduled for today.
get_upcoming_plansdays?CSV (same)Get plans for the next N days (default: 7).
update_planplan_id, planned_at?, description?, notes?, status?, activity_id?JSON (Plan)Update any plan field. Key tool for closing the feedback loop.
delete_planplan_idJSON (bool)Permanently delete a plan record.

Running Tests

uv run pytest

Tech Stack

  • Python 3.12+
  • FastMCP — MCP server framework
  • sqlite-vec — Vector search extension for SQLite
  • Pydantic — Data validation and serialization
  • OpenAI client — Embedding generation via OpenRouter

License

GPL-3.0

目录标签

目录标签

向量搜索PythonClaudeAI跑步教练本地部署训练计划管理语义记忆MCP服务

支持客户端

Claude DesktopClaudeCursor

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

api-key

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

12

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdioapi-key部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP