Install
$ agentstack add mcp-lewis-mcgillion-procyclingstats-mcp-server ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
ProCyclingStats MCP Server
An MCP (Model Context Protocol) server that provides professional cycling data from ProCyclingStats.
Tools
| Tool | Description | |------|-------------| | discover_races | Find races from the PCS calendar for a given year and tier | | get_race_overview | Get race metadata — name, dates, category, stages list | | get_stage_results | Get full stage/one-day race results with metadata | | get_rider_profile | Get rider bio, physical stats, specialty scores, palmares | | get_race_startlist | Get the startlist for a race grouped by team | | search_pcs | Free-text search for riders, races, and teams |
Installation
pip install git+https://github.com/lewis-mcgillion/procyclingstats-mcp-server.git
Or clone and install locally:
git clone https://github.com/lewis-mcgillion/procyclingstats-mcp-server.git
cd procyclingstats-mcp-server
pip install -e .
Usage
Run the server directly
procyclingstats-mcp
Configure in your MCP client
Add to your MCP client config (e.g. Claude Desktop, VS Code GitHub Copilot).
Recommended — using uvx (no manual install needed):
{
"mcpServers": {
"procyclingstats": {
"command": "uvx",
"args": ["--from", "git+https://github.com/lewis-mcgillion/procyclingstats-mcp-server.git", "procyclingstats-mcp"]
}
}
}
Using a local clone with uv:
{
"mcpServers": {
"procyclingstats": {
"command": "uv",
"args": ["run", "--directory", "/path/to/procyclingstats-mcp-server", "procyclingstats-mcp"]
}
}
}
Using a global install:
{
"mcpServers": {
"procyclingstats": {
"command": "procyclingstats-mcp",
"args": []
}
}
}
Example Queries
- "What WorldTour races are happening in 2025?"
- "Show me the results of Tour de France 2025 Stage 1"
- "What's Tadej Pogačar's rider profile?"
- "Who's on the startlist for the Giro d'Italia 2025?"
- "Search for Remco Evenepoel"
URL Format
All PCS URLs use the slug format:
- Races:
race/tour-de-france/2025 - Stages:
race/tour-de-france/2025/stage-1 - One-day results:
race/milano-sanremo/2025/result - Riders:
rider/tadej-pogacar
Rate Limiting
The server enforces a 0.5s delay between requests to PCS and retries automatically on server errors (500/502/503/429).
Credits
Built on top of the procyclingstats Python library.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: lewis-mcgillion
- Source: lewis-mcgillion/procyclingstats-mcp-server
- License: Unlicense
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.