Skip to main content
Glama

sisrun-mcp

🇧🇷 Versão em português abaixo

Unofficial MCP server that exposes your SisRUN (appsisrun.com.br) training plan to AI assistants like Claude, so you can ask "what did my coach prescribe this week?" and get a structured answer.

SisRUN has no public API, so this reads the same web pages you see in your browser, with your own credentials, and parses them into structured workout data. It is read-only: it never writes anything to SisRUN.

Tools

Tool

What it returns

get_current_week()

Every workout row of the current week

get_week(date)

The week containing an ISO date (YYYY-MM-DD)

get_upcoming(weeks_ahead=1)

Prescribed-but-not-done workouts from today forward

Each workout row carries: date, status (Proposto = prescribed, Feito = done, Feito Avulso = auto-imported, not prescribed), modality, prescribed distance, pace and HR windows, the coach's structured session (warm-up, repeats, recoveries), the coach's note, and what SisRUN matched as delivered (date, distance, time, avg HR, kcal; SisRUN auto-imports your Garmin/Strava activities).

planned_km vs distance_km: SisRUN's own Distância field is empty for every interval, hill and time-based session, and on interval days it counts the reps only. Summing that column undercounts the real prescription by ~35% (SisRUN's own "Evolução Semanal" panel has the same bug). planned_km derives the honest number from the coach's structured session, expanding Repetir Nx blocks; planned_km_is_est: "yes" marks rows where a timed step had to be converted at an assumed pace.

Related MCP server: Strava MCP Server

Install

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-mcp

Credentials

Your own SisRUN login (the one your coach gave you). Either environment variables:

export SISRUN_EMAIL=you@example.com
export SISRUN_PASSWORD=yourpassword

or a credentials file:

mkdir -p ~/.sisrun
cat > ~/.sisrun/credentials <<'EOF'
email=you@example.com
password=yourpassword
EOF
chmod 600 ~/.sisrun/credentials

⚠️ The password is stored in plain text. SisRUN offers no token or OAuth mechanism, so there is no better option. Keep the file chmod 600, and never commit it.

Claude Desktop / Claude Code config

{
  "mcpServers": {
    "sisrun": {
      "command": "uvx",
      "args": ["sisrun-mcp"]
    }
  }
}

Debugging

Fetch and print your current week without any MCP client:

python -m sisrun_mcp selftest

If a result ever contains a warning about missing detail panels, the JSF form-state accumulation regressed. Please open an issue with the output (it contains no credentials).

How it works (for the curious)

SisRUN is JSF + PrimeFaces 8.0. Every request carries a javax.faces.ViewState token, and all widget ids are server-generated: they change on any redeploy, so nothing here hardcodes them. Buttons are located by their stable, human-authored title attributes, and the ViewState is re-read from every response. The non-obvious part is that the day detail panels are accordions the server only renders when the request carries their expanded state, accumulated across navigation hops, together with javax.faces.partial.execute=@all. Without that you silently get summary rows with no prescriptions. See the comments in client.py.

The client is deliberately polite: one week per request, spaced 0.6 s apart, and week HTML is cached per process.

Contributing

Bug reports, feature suggestions and PRs are welcome, in English or Portuguese. See CONTRIBUTING.md.

Status & disclaimers

  • Unofficial. Not affiliated with, endorsed by, or supported by SisRUN. It may break whenever SisRUN changes their site; issues and PRs welcome.

  • Your data only. This accesses your own training plan with your own credentials, the same data portability the LGPD grants you. Don't use it against accounts that aren't yours, and respect SisRUN's terms of service.

  • Tested against real accounts since 2026-07. Python ≥ 3.10, single dependency (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 o 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 SisRUN associou como realizado (o SisRUN importa suas atividades do 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: get_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-mcp

Credenciais: seu próprio login do SisRUN, por variáveis de ambiente (SISRUN_EMAIL / SISRUN_PASSWORD) ou pelo arquivo ~/.sisrun/credentials:

email=voce@exemplo.com
password=suasenha
chmod 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 por tempo, e em dias de tiro conta só as repetições. Somar essa coluna subestima a prescrição real em ~35% (o painel "Evolução Semanal" do próprio SisRUN tem esse mesmo bug). O planned_km deriva o número honesto a partir da sessão estruturada do treinador, expandindo os blocos Repetir Nx.

Avisos: projeto não afiliado, não endossado e não suportado pelo SisRUN. Pode quebrar quando o site mudar (issues e PRs são bem-vindos). Ele acessa apenas os seus dados, com as suas credenciais, a mesma portabilidade de dados que a LGPD garante a você. Não use contra contas que não são suas e respeite os termos de uso do SisRUN.

Para depurar sem cliente MCP: python -m sisrun_mcp selftest imprime a semana atual em JSON.

License

MIT

Available Tools

3 tools
get_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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior5/5

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.

Conciseness4/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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).

ParametersJSON Schema
NameRequiredDescriptionDefault
weeks_aheadNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.0
    • First observedget_current_week
    • First observedget_upcoming
    • First observedget_week

TDQS

A4.1/5.0
Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cdutr/sisrun-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server