BikeScout
AI cycling route planner for MTB, gravel, road and e-bike riders

BikeScout turns map, weather and elevation data into a pre-ride briefing: where to ride, what the surface will be like, how to set up the bike and when to go.
- Route and surface intelligence. Generates loops and A-to-B missions, then reports surface mix, gradient, climb categories and technical difficulty.
- Conditions and timing. Combines the short-term forecast, recent rain and soil drainage into a mud-risk estimate, a Go/No-Go verdict and the best ride window.
- Setup and logistics. Recommends tire pressure, estimates e-MTB battery drain, builds a nutrition and hydration plan, and finds route-adjacent Points of Interest (POIs).
- Artifacts you can use. Exports GPX, altimetry, tactical maps and race PDFs through MCP resources.
Use it from the Streamlit planner or from any MCP client: Claude Desktop, Cursor, Codex, Gemini, Windsurf or Cline.
Website · Documentation · API reference · Releases
If BikeScout saves you a bad ride, star the repo. Stars help other riders and agent developers find it.
Quickstart
Requirements: Python 3.10+ (or uv) and a free OpenRouteService API key from HeiGIT.
Add BikeScout to an MCP client
Add this to the client configuration (Claude Desktop, Cursor, Codex, Gemini, Windsurf or Cline):
{
"mcpServers": {
"bikescout": {
"command": "uvx",
"args": ["bikescout"],
"env": {
"ORS_API_KEY": "your_key"
}
}
}
}
uvx downloads and runs the published package; the client starts the stdio server for you.
Or install the package
pip install bikescout
echo 'ORS_API_KEY=your_key' > .env
bikescout
The bikescout command starts the MCP stdio server and waits for a client, so run it only when your host expects a stdio process.
ORS_API_KEY is required for routing, geocoding and POI requests. Weather, terrain and export analysis use open data and local processing.
Prefer the GUI? Clone the repository and run the Streamlit planner:
git clone https://github.com/hifly81/bikescout.git
cd bikescout
uv sync --extra test --extra dev
uv run streamlit run src/bikescout/app.py
Full setup, Docker, local GGUF models and client-specific configs: BikeScout documentation.
What a mission looks like
Ask in natural language; BikeScout resolves coordinates, routes, analyzes and returns a structured briefing.
“Plan a 30 km MTB loop near Castelli Romani. Avoid urban roads, check mud risk, recommend tire pressure and tell me the best window tomorrow.”
The briefing includes route geometry, surface breakdown, elevation and climbs, weather and mud risk, a Go/No-Go verdict, mechanical setup, nutrition, POIs and export links.
Demo
Example scenarios
BikeScout handles multi-step requests. It combines real-time data with cycling-specific analysis and returns a structured answer.
- “I’m at Monte Cavo, near Rome (Italy) with my MTB (29" tires). Plan a 25 km loop. Check whether the terrain is compatible with my bike, verify the afternoon rain probability, and suggest a fraschetta for the finish. Use the Castelli Romani guide.”
Bike setup and surface intelligence
- “Check this route from Barcelona city center to El Prat. I’m on a road bike with 25 mm tires. Is it compatible? Give me the exact percentage of gravel versus asphalt.”
Visual elevation and gradient analysis
- “Plan a 40 km route starting from Bormio, Italy. Show the elevation profile with the exact gradients of the Stelvio climb. Highlight sections over 12% so I can manage my pacing.”
- “Give me the terrain truth for this route: true ascent, maximum gradient, every significant climb with a FIETS category, and how confident you are in the elevation data.”
Local expertise
- “Use the Derby local guide to plan a road cycling route starting from Derby. I need at least 800 m of elevation gain. Also, recommend the correct tire pressure for high-altitude descents.”
Quick technical checks
- “Give me the safety checklist and calculate front/rear pressure for a 90 kg rider on 2.3" tubeless tires (25 mm internal rims, DH casing) for a muddy S3 ride.”
Post-ride analysis and terrain truth
- “Analyze my ride from 2026-04-12. Compare my average speed with the mud risk at that time and tell me whether the terrain conditions explain the slow pace.”
How BikeScout compares
BikeScout is built for pre-ride tactical planning and route audit. It complements route discovery, training logs and trail databases with deterministic, cycling-specific analysis.
| Platform |
Typical focus |
What BikeScout adds |
| Komoot |
Route discovery and navigation |
Weather-aware route planning, TAEL mud-risk heuristics, surface/S-scale context, tire pressure and setup guidance, nutrition planning, and exportable GPX/altimetry artifacts. |
| Strava |
Activity tracking, social and training history |
Pre-ride Go/No-Go window planning with forecast-bounded analysis dates (tomorrow to +5 days), plus GPX tactical audit with heuristic climb categorization, performance simulation and risk alerts. |
| Ride with GPS |
Route planning and cue sheets |
Terrain truth (distance, ascent, gradient, climb metrics), rider- and bike-aware recommendations, POI/logistics overlays, and structured tool outputs. |
| Trailforks |
Trail maps and community condition reports |
Route-specific planning context: weather window, mud/traction heuristics, surface/difficulty signals, and equipment/nutrition recommendations for the planned ride. |
| Generic AI assistants |
General reasoning from text prompts |
Grounded MCP tools with typed schemas, a local Streamlit planner/chat GUI, explicit uncertainty/assumption labels, and exportable artifacts (GPX, altimetry, map, race PDF MCP resource). |
BikeScout is designed to work alongside these tools, not replace their social, navigation or community-history strengths.
Contributing
Contributions are welcome: bug reports, feature requests, documentation fixes and focused pull requests.
- Report bugs. Open an issue with a description and steps to reproduce.
- Request features. Open an issue to discuss the idea before implementing it.
- Open a pull request. Fork the repository, create a feature branch (
git checkout -b feature/amazing-feature), and make a focused change with clear commits.
- If you touch Python under
src/, run uv run ruff check, uv run ruff format --check, uv run pyright and uv run pytest --cov=src/bikescout --cov-fail-under=80 before opening the PR.
- Discuss changes to public MCP tool signatures, tool names or Streamlit session keys in an issue first.
- Keep code comments in English.
Coding standards
- Follow PEP 8 for Python code.
- Document new tools and schema changes in
site/documentation/api-reference.html, with tests.
- Keep comments in English for international collaboration.
By contributing, you agree that your contributions will be licensed under the project’s AGPLv3 License.
License and data attributions
Software license
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.
Why AGPLv3?
BikeScout contains proprietary-grade tactical logic (such as the TAEL® Mud Reservoir Model). The AGPLv3 ensures that:
- Transparency: any modified version of BikeScout used to provide a service over a network must make its full source code available to the community.
- Integrity: the core tactical intelligence remains open and collaborative, preventing closed-source commercial hijacking of the platform’s algorithms.
Data sources and credits
BikeScout aggregates data from several open providers. Users of this server must adhere to their respective terms:
Found BikeScout useful? Star the repository and share it with your riding group.
评论