sisrun-mcp
sisrun-mcp
🇧🇷 Portugiesische Version unten
Inoffizieller MCP-Server, der deinen SisRUN-Trainingsplan (appsisrun.com.br) KI-Assistenten wie Claude bereitstellt, sodass du fragen kannst: „Was hat mir mein Trainer diese Woche verordnet?“ – und eine strukturierte Antwort erhältst.
SisRUN hat keine öffentliche API. Der Server liest also dieselben Webseiten, die du im Browser siehst, mit deinen eigenen Zugangsdaten, und parst sie in strukturierte Trainingsdaten. Er ist rein lesend: Er schreibt nie etwas in SisRUN.
Werkzeuge
Tool | Rückgabe |
| Jede Trainingszeile der aktuellen Woche |
| Die Woche, in der ein ISO-Datum ( |
| Verordnete, aber noch nicht erledigte Einheiten von heute an |
Jede Trainingszeile enthält: Datum, Status (Proposto = verordnet, Feito = erledigt, Feito Avulso = automatisch importiert, nicht verordnet), Trainingsart, verordnete Distanz, Tempo- und Herzfrequenzbereiche, die strukturierte Einheit des Trainers (Aufwärmen, Wiederholungen, Erholungsabschnitte), die Notiz des Trainers und das, was SisRUN als erledigt zugeordnet hat (Datum, Distanz, Zeit, durchschnittliche Herzfrequenz, kcal; SisRUN importiert deine Garmin-/Strava-Aktivitäten automatisch).
planned_km vs. distance_km: SisRUNs eigenes Feld Distância ist bei Intervall-, Hügel- und zeitbasierten Einheiten immer leer und zählt an Intervalltagen nur die Wiederholungen. Wenn man diese Spalte summiert, unterschätzt das die tatsächliche Verordnung um ~35 % (das Panel „Evolução Semanal“ von SisRUN hat denselben Fehler). planned_km leitet den realistischen Wert aus der strukturierten Einheit des Trainers ab und expandiert dabei Repetir Nx-Blöcke; planned_km_is_est: "yes" kennzeichnet Zeilen, in denen ein zeitbasierter Schritt mit einem angenommenen Tempo umgerechnet werden musste.
Related MCP server: garmin-mcp
Installation
uvx sisrun-mcp # zero-install run from PyPI
# or
pipx install sisrun-mcp
# or straight from GitHub
uvx --from git+https://github.com/cdutr/sisrun-mcp sisrun-mcpZugangsdaten
Dein eigener SisRUN-Login (der, den dir dein Trainer gegeben hat). Entweder als Umgebungsvariablen:
export SISRUN_EMAIL=you@example.com
export SISRUN_PASSWORD=yourpasswordoder als Zugangsdaten-Datei:
mkdir -p ~/.sisrun
cat > ~/.sisrun/credentials <<'EOF'
email=you@example.com
password=yourpassword
EOF
chmod 600 ~/.sisrun/credentials⚠️ Das Passwort wird im Klartext gespeichert. SisRUN bietet keinen Token- oder OAuth-Mechanismus, daher gibt es keine bessere Möglichkeit. Setze die Datei auf chmod 600 und committe sie niemals.
Claude Desktop / Claude Code-Konfiguration
{
"mcpServers": {
"sisrun": {
"command": "uvx",
"args": ["sisrun-mcp"]
}
}
}Debugging
Ruf deine aktuelle Woche ohne Verbindung ab und gib sie aus:
python -m sisrun_mcp selftestWenn ein Ergebnis jemals einen warning wegen fehlender Detail-Panels enthält, ist die JSF-Formularzustands-Akkumulation in Regression. Bitte schaff ein Issue mit der Ausgabe (sie enthält keine Zugangsdaten).
So funktioniert es (für Neugierige)
SisRUN ist JSF + PrimeFaces 8.0. Jede Anfrage trägt ein javax.faces.ViewState-Token, und alle Widget-IDs werden serverseitig generiert: Sie ändern sich bei jedem Deployment, deshalb werden hier keine festgeschrieben. Schaltflächen werden über ihre stabilen, von Menschen verfassten title-Attribute gefunden, und der ViewState wird bei jeder Antwort neu gelesen. The wenig bekannte Teil: Die Detail-Panels pro Tag sind Akkordeons, die der Server nur aktualisiert, wenn die Anfrage ihren expandiertenontain – über mehrere Navigationsschritte hinweg angesammelt – zusammen mit javax.faces.partial.execute=@all. Sonst erhältst du stillschweigend nur Zusammenfassungszeilen ohne Verordnungen. Näheres siehe in den Kommentaren in client.py.
Der Client ist bewusst manierenhaft: eine Woche pro Anfrage, mit 0,6 Sekunden Abstand, und das Wochen-HTML wird pro Prozessende zwischengespeichert.
Beiträge
Bug-Meldungen, Feature-Wünsche und PRs sind willkommen – auf Englisch oder Portugiesisch. Siehe CONTRIBUTING.md.
Status & Hinweise
Inoffiziell. Weder mit SisRUN verbunden, noch von SisRUN befürwortet oder unterstützt. Wenn SisRUN seine Seite ändert, kann der Server ausfallen; Issues und PRs sind willkommen.
Nur deine eigenen Daten. Diese Erweiterung greift nur mit deinen eigenen Zugangsdaten auf deinen eigenen Trainingsplan zu – dieselbe Datenportabilität, die dir die LGPD garantiert. Verwende sie nicht für Konten, die nicht dir gehören, und beachte die Nutzungsbedingungen von SisRUN.
Getestet mit echten Konten seit 2026-07. Python ≥ 3.10, nur eine einzige Abhängigkeit (
mcp).
Em português (pt-BR)
Servidor MCP não oficial que expõe sua planilha de treinos do SisRUN (appsisrun.com.br) para assistentes de IA como Claude. Com ele você pergunta „O que o treinador prescreveu essa semana?“ e recebe os treinos estruturados: status (Proposto / Feito / Feito Avulso), distância, faixas de ritmo e FC, a estrutura da sessão (aquecimento, tiros, recuperações), a observação do treinador e o que o SisISO associou como realizado (o SisRUN importa suas atividades na Garmin/Strava automaticamente).
O SisRUN não tem API pública, então o servidor lê as mesmas páginas que você vê no navegador, com as suas próprias credenciais. É somente leitura: nunca escreve nada no SisRUN.
Ferramentas: ger_current_week() (semana atual), get_week(date) (semana de uma data), get_upcoming(weeks_ahead) (treinos propostos daqui pra frente).
Instalação:
uvx sisrun-mcp
# ou
pipx install sisrun-mcpCredenciais: seu próprio login do SisRUN, por relações de ambiente (SISRUN_EMAIL / SISRUN_PASSWORD) ou pelo arquivo ~/.sisrun/credentials:
email=voce@exemplo.com
password=suasenhachmod 600 ~/.sisrun/credentials⚠️ A senha fica em texto puro. O SisRUN não oferece token nem OAuth, então não existe opção melhor. Mantenha o arquivo com chmod 600 e nunca faça commit dele.
Sobre planned_km: o campo Distância do próprio SisRUN fica vazio em todo treino intervalado, de subida ou no tempo, e em dias de tiro código só as repetições. Somar essa coluna Strategie, subestima a prescrição real perto de ~35 % (o painel „Evolução Semanal“ do próprio SisRU es hat denselben Bug). O planned_km leitet den wahren Wert aus der strukturierten Trainneinheit de Trainers ab und expandível os blocos Repetir Nx.
Avisos: não afiliado, não endossado e não suportado pelo SisRUN. Pode que causar a quebra quando o site mudar (issues e PRs são bem-vindos). Ele acessa apenas os seus dados, com as suas credenciais, o mesmo nível de portabilidade de dados que a LGPD garante a você. Não use against contagens não não sua culpa.
Para depurar seu cliente MCP nenhum: python -m sisrun_mcp selftest imprime a semana atual em formato JSON.
Lizenz
MIT
Available Tools
3 toolsget_current_weekA
The current week's training plan: every workout with status (Proposto = prescribed / Feito = done / Feito Avulso = auto-imported, not prescribed), modality, prescribed distance (planned_km is the honest number; the raw distance_km field is blank on interval days), pace/HR windows, the coach's structured session, and what SisRUN matched as delivered.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It does this exceptionally well: it explains the status vocabulary, warns that planned_km is the reliable number and raw distance_km may be blank on interval days, and clarifies what the coach's session vs. SisRUN-matched delivered data means.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single structured enumeration with no filler words, and all listed items are meaningful. It is slightly long and runs the items together in one sentence, so a bulleted or shorter phrasing would be improve readability without losing content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless read tool, the description is almost complete: it covers the data included, notable field quirks, and status meanings. It does not specify things like timezone, but that is a minor omission given the output schema exists and the intended meaning is clear.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters, so the schema covers everything needed. The description adds value by focusing on the output structure, which is appropriate given the zero-parameter context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the resource by saying 'The current week's training plan' and enumerates what it contains. It is more than a tautology and distinguishes from siblings by the 'current week' qualifier, though it lacks an explicit retrieval verb and does not directly compare to siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly say when to use this tool versus get_week or get_upcoming. The 'current week' phrasing implies the usage context, but there is no direct guidance about alternatives or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_upcomingA
Prescribed workouts (status Proposto) from today forward, across the
current week plus weeks_ahead future weeks (default 1, max 8).
| Name | Required | Description | Default |
|---|---|---|---|
| weeks_ahead | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the burden of behavioral disclosure. It explains the status filter, exclusion of past workouts, and the configurable future-week window, which are the key behavioral characteristics needed by an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, tight sentence covers purpose, status filter, time window, default, and max. No filler or redundant restating of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter getter with an output schema, the description provides enough information to understand what the tool returns and how the parameter behaves. It could be improved by acknowledging the sibling tools and clarifying ordering, but nothing critical is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema only provides the type and default, but the description adds semantic meaning: weeks_ahead controls the number of future weeks beyond the current week, with a default of 1 and max of 8. This makes the parameter's effect clear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description identifies a specific resource (prescribed workouts) and a specific status filter (Proposto) with a clear time window (today forward through future weeks). It does not explicitly mention sibling tools, but the 'today forward' scope differentiates it from get_current_week and get_week well enough.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The time window implies the intended use: retrieving upcoming proposed workouts. However, it does not give explicit guidance on when to choose this over get_current_week or get_week, nor when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_weekA
The training plan for the week containing date (YYYY-MM-DD).
Navigating far from the current week costs one request per week hop.
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses a non-obvious behavioral trait: each week hop away from the current week costs an extra request. It does not discuss edge cases or invalid dates, but it gives the agent useful insight beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded purpose, no filler. It states what the tool does and then adds the cost caveat efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has only one required parameter, an output schema exists, and the description covers parameter format and an important behavioral cost. It could be more complete by explicitly naming which sibling to use for current or upcoming weeks, but the essentials for invoking it correctly are present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema only says date is a string, so the description's 'YYYY-MM-DD' format and statement that the week contains that date add critical meaning. With 0% schema coverage, the description compensates well for the tool's one parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns 'the training plan for the week containing date', making the resource and action identifiable. It does not explicitly distinguish itself from get_current_week or get_upcoming, but the purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The cost note ('Navigating far from the current week costs one request per week hop') implies that dates far from the current week should be avoided when possible, but it never says when to use this tool rather than get_current_week or get_upcoming. The usage context is implied, not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.0- First observed
get_current_week - First observed
get_upcoming - First observed
get_week
TDQS
Scored across 3 tools
Each tool addresses a clearly different temporal scope: the current week, an arbitrary week by date, and the rolling set of upcoming prescribed workouts. While get_current_week and get_week could both return the current week in some cases, their intended use cases are distinct and visible from the descriptions.
All tools follow a get_ prefix and use temporal terms, which creates a predictable pattern. get_upcoming is slightly less noun-like than get_current_week and get_week, but the naming style is still consistent and readable.
Three tools is a well-scoped size for a read-only training-plan retrieval server. Each tool serves a distinct need and none feels redundant or padding.
The server covers the primary retrieval needs for a training plan: current week, any specific week, and upcoming planned workouts. Minor gaps like direct workout-level detail or historical summaries are not obviously required for the stated scope.
Maintenance
Related MCP Connectors
- Coach MCPOAuthai.iamcoach
Your endurance training data in your AI assistant: activities, recovery, plan, workout edits.
- FlaMapOAuthapp.flamap
Your own cycling data for your AI assistant: rides, power, climbs and routes. Read-only.
AI coach for Garmin: builds training plans and structured workouts, synced straight to your watch.
Your strength-training data for any AI assistant: workouts, progress, muscle volume, routines.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read Garmin activities and create/schedule structured workouts and multi-week training plans on Garmin Connect, syncing to the user's watch.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read Garmin activities and create/schedule structured workouts and multi-week training plans directly on Garmin Connect, syncing to your watch with guided prompts.1MIT
- AlicenseAqualityBmaintenanceProvides AI assistants with read-only access to an athlete's Intervals.icu training data, including activities, wellness metrics, zones, and planned events, for use with MCP clients like ChatGPT and Claude.15MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read your Strava training data and answer plain-language questions about activities, splits, and totals across sports like running, skiing, and hiking.45 npmMIT