Randonneuring Connect MCP Server
Connect AI assistants to randonneuring cycling event data
An MCP server that lets AI agents explore randonneuring (ultra-distance cycling) events through natural language. Provides 8 intelligent tools for analyzing Audax India events and worldwide LRM results.
What is This?
This MCP server lets AI agents analyze randonneuring (long-distance cycling) event data through natural language. It consolidates 60+ individual functions into 8 powerful tools:
- 3 Audax India tools - Query events, participants, and statistics
- 3 LRM tools - Query worldwide Long Randonnée Medal results
- 2 utility tools - List available values and merge datasets
Ask questions like:
- "Who has completed the most events in Audax India?"
- "Show me all 1200km events in Maharashtra last year"
- "What's the completion rate for Paris-Brest-Paris?"
- "Which clubs have the most finishers?"
The AI uses the appropriate tools to answer your questions.
Quick Start
Installation
pip install randonneuring-connect-mcp
Configure in Kiro
Add to your Kiro MCP config (C:\Users\<username>\.kiro\settings\mcp.json on Windows):
{
"mcpServers": {
"randonneuring-connect": {
"command": "randonneuring-connect"
}
}
}
Configure in Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"randonneuring-connect": {
"command": "randonneuring-connect"
}
}
}
Restart Your AI Client
Restart Kiro or Claude Desktop to load the server.
Features
8 Consolidated Intelligent Tools
Audax India Tools:
audax_query_events- Query events with flexible filters (year, club, location, state, distance, status, type)audax_query_participants- Query participants with filters (name, club, result, medal, fee)audax_get_statistics- Get statistics and aggregations with 26 stat_types including:- Event, club, participant, state statistics
- Completion rates by distance/club/year/state
- Financial analysis (revenue, fees, outstanding payments)
- Medal analysis (distribution, rates, top winners)
- NEW: Leaderboards (top participants, top clubs, participant history, distance finishers)
- Trends and DNS/DNF analysis
audax_list_values- List available clubs, locations, states, distances, event types
LRM (Long Randonnée Medal) Tools:
5. lrm_query_results - Query worldwide results (year, rider, event, club filters)
6. lrm_get_statistics - Get statistics with 4 stat_types:
- Rider, club, event statistics
- NEW: Top riders leaderboard
lrm_list_values- List available riders and clubs
Cross-Dataset Tools:
8. merge_and_analyze - Combine Audax India and LRM data for comparative analysis
Example Queries
"Show me all 600km BRM events in Karnataka in 2023"
→ AI chains: audax_filter_by_year + audax_filter_by_distance + audax_filter_by_state
"What are the completion rates for different distances?"
→ AI calls: audax_get_completion_rates
"Show me John Smith's LRM statistics"
→ AI calls: lrm_get_rider_stats
"Which clubs have organized the most events?"
→ AI calls: audax_get_club_statistics
Data
The package includes bundled data files (~23 MB):
- LRM worldwide results
- Audax India event catalog with participant details
Data is loaded once at startup for fast query performance.
Requirements
- Python 3.10 or higher
- Works with any MCP-compatible AI client:
- Kiro
- Claude Desktop
- Custom MCP clients
Architecture
AI Agent (Kiro/Claude)
↓
MCP Protocol (STDIO)
↓
This MCP Server
↓
randonneuring-intelligence (business logic)
↓
Bundled JSON Data Files
Development
Install from Source
git clone https://github.com/mprathappandian/randonneuring-platform.git
cd randonneuring-platform/packages/mcp-server
pip install -e .
Run Tests
pip install -e ".[dev]"
pytest
Advanced Configuration
Custom Data Directory
Set environment variable to use your own data files:
{
"mcpServers": {
"randonneuring-connect": {
"command": "randonneuring-connect",
"env": {
"RANDONNEURING_DATA_DIR": "/path/to/your/data"
}
}
}
}
Debug Logging
{
"mcpServers": {
"randonneuring-connect": {
"command": "randonneuring-connect",
"env": {
"LOG_LEVEL": "DEBUG"
}
}
}
}
Troubleshooting
Server Won't Start
- Check Python version:
python --version(must be 3.10+) - Verify installation:
pip show randonneuring-connect-mcp - Test manually:
randonneuring-connect(should show startup logs)
Tools Not Working
- Check logs in your AI client's console
- Enable debug logging (see Advanced Configuration)
- Verify data files loaded (check startup logs)
Import Errors
Ensure randonneuring-intelligence is installed:
pip install randonneuring-intelligence
Project Links
- PyPI: https://pypi.org/project/randonneuring-connect-mcp/
- GitHub: https://github.com/mprathappandian/randonneuring-platform
- Issues: https://github.com/mprathappandian/randonneuring-platform/issues
- MCP Package: packages/mcp-server/
License
MIT License - see LICENSE file for details.
Author
Prathap Pandian
- Email: mprathappandian@gmail.com
- GitHub: @mprathappandian
Acknowledgments
Built with:
- Model Context Protocol by Anthropic
- randonneuring-intelligence - Core data processing library
Version History
3.1.0 (2024-12-XX)
- RENAMED: Package renamed from randonneuring-intelligence-mcp to randonneuring-connect-mcp
- Display name changed to "Randonneuring Connect"
- Configured for Kiro plugin marketplace with public HTTP endpoint
- Updated CLI commands:
randonneuring-connectandrandonneuring-connect-http - All functionality remains identical - only branding changes
- Deployment URL: https://randonneuring-connect-server.onrender.com
0.1.0 (2024-11-18)
- Initial release as randonneuring-intelligence-mcp
- 53 tools (21 LRM + 32 Audax India)
- Bundled data files
- Support for Kiro and Claude Desktop
Metadata
Release files for randonneuring-connect-mcp 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| randonneuring_connect_mcp-3.1.0.tar.gz | 25.3 kB | Without provenance | Details for randonneuring_connect_mcp-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| randonneuring_connect_mcp-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for randonneuring_connect_mcp-3.1.0-py3-none-any.whl |
Total release size: 58.4 kB
Release files / randonneuring_connect_mcp-3.1.0.tar.gz
| Download URL | randonneuring_connect_mcp-3.1.0.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc7c430a106ce97c4c43cb185fc5e9beef10233088fccca0e5d41af6246d00d1
|
|
BLAKE2b-256 checksum How to use checksums |
d5d79ed5fb452f1ef12e2a17e7b3709e5cbcc455545a2a0fd1b39eb1d4265b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / randonneuring_connect_mcp-3.1.0-py3-none-any.whl
| Download URL | randonneuring_connect_mcp-3.1.0-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83fb2817e1ffd12521642c35014669b4ff8dc66f020aeed1ec3771fc2e5a0e58
|
|
BLAKE2b-256 checksum How to use checksums |
c1dcd17d0cf8e26b6a04bd5635304c6397f4a3329c00eb37a21504c507e6027e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Security for randonneuring-connect-mcp 3.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.