Files
strava-mcp-server/website/index.html
T
matthias 7d0364e0ed
CI/CD Pipeline / Lint & Check (push) Failing after 7s
Deploy Website to S3 / deploy (push) Successful in 6s
CI/CD Pipeline / Publish to PyPI (push) Has been skipped
CI/CD Pipeline / Build & Push Docker Image (push) Has been skipped
chore: update landing page copy, improve code formatting, and add PyPI publish workflow
2026-05-14 20:10:27 +02:00

206 lines
10 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Strava MCP Server | Modern Training Data Access</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="bg-gradient"></div>
<div class="container">
<nav>
<div class="logo">STRAVA<span>MCP</span></div>
<ul class="nav-links">
<li><a href="#features" data-i18n="nav-features">Features</a></li>
<li><a href="#architecture" data-i18n="nav-arch">Architecture</a></li>
<li><a href="#installation" data-i18n="nav-install">Installation</a></li>
<li><a href="https://git.hnrx.net/hnrx/strava-mcp-server" data-i18n="nav-repo">GitHub</a></li>
</ul>
<div class="lang-switch">
<button class="lang-btn active" onclick="setLanguage('en')">EN</button>
<button class="lang-btn" onclick="setLanguage('de')">DE</button>
</div>
</nav>
<header class="hero">
<img src="assets/hero.png" alt="Futuristic Background" class="hero-img">
<h1 data-i18n="hero-title">Empower your AI with Strava Data.</h1>
<p data-i18n="hero-subtitle">A production-ready Model Context Protocol (MCP) server that exposes the Strava
API for AI agents and LLMs.</p>
<div class="btn-group">
<a href="https://git.hnrx.net/hnrx/strava-mcp-server" class="btn btn-primary" data-i18n="btn-start">Get
Started</a>
<a href="#architecture" class="btn btn-secondary" data-i18n="btn-more">Learn More</a>
</div>
</header>
<section id="features">
<div class="section-title">
<h2 data-i18n="features-title">Features</h2>
<p data-i18n="features-subtitle">Comprehensive access to your training data through standardized MCP
tools.</p>
</div>
<div class="grid">
<div class="card">
<span class="card-icon">👤</span>
<h3 data-i18n="feat-1-t">Athlete Profiles</h3>
<p data-i18n="feat-1-d">Detailed profiles, heart rate zones, and power stats for personalized
analysis.</p>
</div>
<div class="card">
<span class="card-icon">🚴</span>
<h3 data-i18n="feat-2-t">Activity Deep-Dive</h3>
<p data-i18n="feat-2-d">Access laps, streams, comments, and detailed segment efforts.</p>
</div>
<div class="card">
<span class="card-icon">📍</span>
<h3 data-i18n="feat-3-t">Segments & Routes</h3>
<p data-i18n="feat-3-d">Explore popular segments and your saved routes with all metadata.</p>
</div>
<div class="card">
<span class="card-icon">⚙️</span>
<h3 data-i18n="feat-4-t">Hardware Tracking</h3>
<p data-i18n="feat-4-d">Manage your equipment and track the mileage of your bikes and shoes.</p>
</div>
</div>
</section>
<section id="architecture" class="architecture">
<div>
<h2 data-i18n="arch-title">Dual-Output Architecture</h2>
<p data-i18n="arch-p">Optimized for both humans and machines. Every tool delivers two outputs:</p>
<br>
<ul style="list-style: none; color: var(--text-dim);">
<li style="margin-bottom: 1rem;"><strong style="color: var(--primary);" data-i18n="arch-user-t">User
Content:</strong> <span data-i18n="arch-user-d">Formatted markdown for an aesthetic display
in the chat.</span></li>
<li><strong style="color: #fff;" data-i18n="arch-llm-t">Assistant Resource:</strong> <span
data-i18n="arch-llm-d">Structured JSON for precise data processing by the LLM.</span></li>
</ul>
</div>
<div class="code-window">
<div class="code-header">
<div class="dot red"></div>
<div class="dot yellow"></div>
<div class="dot green"></div>
</div>
<div class="code-content">
<pre>
<span class="comment">// JSON Resource for Assistant</span>
{
<span class="keyword">"id"</span>: <span class="string">"12345678"</span>,
<span class="keyword">"name"</span>: <span class="string">"Morning Ride"</span>,
<span class="keyword">"distance"</span>: <span class="string">"45200"</span>,
<span class="keyword">"moving_time"</span>: <span class="string">"5400"</span>,
<span class="keyword">"audience"</span>: [<span class="string">"assistant"</span>]
}</pre>
</div>
</div>
</section>
<section id="installation" class="quick-start">
<h2 data-i18n="install-title">Quick Start</h2>
<p data-i18n="install-p">Start the server locally with a single command via UV.</p>
<div class="terminal">
<span>$</span> uv run strava-mcp-server
</div>
</section>
<footer>
<p>&copy; 2024 Strava MCP Server. Build for high-performance AI Agents.</p>
</footer>
</div>
<script>
const translations = {
en: {
"nav-features": "Features",
"nav-arch": "Architecture",
"nav-install": "Installation",
"nav-repo": "Source",
"hero-title": "Empower your AI with Strava Data.",
"hero-subtitle": "A production-ready Model Context Protocol (MCP) server that exposes the Strava API for AI agents and LLMs.",
"btn-start": "Get Started",
"btn-more": "Learn More",
"features-title": "Features",
"features-subtitle": "Comprehensive access to your training data through standardized MCP tools.",
"feat-1-t": "Athlete Profiles",
"feat-1-d": "Detailed profiles, heart rate zones, and power stats for personalized analysis.",
"feat-2-t": "Activity Deep-Dive",
"feat-2-d": "Access laps, streams, comments, and detailed segment efforts.",
"feat-3-t": "Segments & Routes",
"feat-3-d": "Explore popular segments and your saved routes with all metadata.",
"feat-4-t": "Hardware Tracking",
"feat-4-d": "Manage your equipment and track the mileage of your bikes and shoes.",
"arch-title": "Dual-Output Architecture",
"arch-p": "Optimized for both humans and machines. Every tool delivers two outputs:",
"arch-user-t": "User Content:",
"arch-user-d": "Formatted markdown for an aesthetic display in the chat.",
"arch-llm-t": "Assistant Resource:",
"arch-llm-d": "Structured JSON for precise data processing by the LLM.",
"install-title": "Quick Start",
"install-p": "Start the server locally with a single command via UV."
},
de: {
"nav-features": "Funktionen",
"nav-arch": "Architektur",
"nav-install": "Installation",
"nav-repo": "Quellcode",
"hero-title": "Analysiere deine Strava-Daten mit KI-Power.",
"hero-subtitle": "Ein produktionsreifer Model Context Protocol (MCP) Server, der die Strava API für AI Agents und LLMs nutzbar macht.",
"btn-start": "Loslegen",
"btn-more": "Mehr erfahren",
"features-title": "Funktionen",
"features-subtitle": "Umfangreicher Zugriff auf deine Trainingsdaten über standardisierte MCP Tools.",
"feat-1-t": "Athleten-Profile",
"feat-1-d": "Detaillierte Profile, Herzfrequenz-Zonen und Power-Stats für personalisierte Analysen.",
"feat-2-t": "Aktivitäts-Analyse",
"feat-2-d": "Zugriff auf Laps, Streams, Kommentare und detaillierte Segment-Efforts.",
"feat-3-t": "Segmente & Routen",
"feat-3-d": "Erkunde beliebte Segmente und deine gespeicherten Routen mit allen Metadaten.",
"feat-4-t": "Hardware-Tracking",
"feat-4-d": "Verwalte deine Ausrüstung und verfolge die Laufleistung deiner Bikes und Schuhe.",
"arch-title": "Dual-Output Architektur",
"arch-p": "Optimiert für Mensch und Maschine. Jedes Tool liefert zwei Ausgaben:",
"arch-user-t": "User Content:",
"arch-user-d": "Formatiertes Markdown für eine ästhetische Anzeige im Chat.",
"arch-llm-t": "Assistant Resource:",
"arch-llm-d": "Strukturiertes JSON für präzise Datenverarbeitung durch das LLM.",
"install-title": "Schnellstart",
"install-p": "Starte den Server lokal mit nur einem Befehl über UV."
}
};
function setLanguage(lang) {
localStorage.setItem('preferredLang', lang);
// Update all text elements
document.querySelectorAll('[data-i18n]').forEach(el => {
const key = el.getAttribute('data-i18n');
if (translations[lang][key]) {
el.textContent = translations[lang][key];
}
});
// Update toggle buttons
document.querySelectorAll('.lang-btn').forEach(btn => {
btn.classList.remove('active');
if (btn.textContent.toLowerCase() === lang) {
btn.classList.add('active');
}
});
document.documentElement.lang = lang;
}
// Initialize from storage or browser language
const savedLang = localStorage.getItem('preferredLang') || (navigator.language.startsWith('de') ? 'de' : 'en');
setLanguage(savedLang);
</script>
</body>
</html>