Back to MCP Catalog

FirstCycling MCP Server

SportsPython
Access comprehensive professional cycling data including riders, races, and results
Available Tools

get_rider_info

Get basic biographical information about a rider including nationality, birthdate, weight, height, and current team

get_rider_best_results

Retrieve a rider's best career results, sorted by importance

get_rider_grand_tour_results

Get a rider's results in Grand Tours (Tour de France, Giro d'Italia, Vuelta a España)

get_rider_monument_results

Retrieve a rider's results in cycling's Monument classics

get_rider_team_and_ranking

Get a rider's team history and UCI ranking evolution over time

get_rider_race_history

Retrieve a rider's complete race participation history, optionally filtered by year

get_rider_one_day_races

Get a rider's results in one-day races, optionally filtered by year

get_rider_stage_races

Get a rider's results in multi-day stage races, optionally filtered by year

get_rider_teams

Retrieve the complete team history of a rider throughout their career

get_rider_victories

Get a list of a rider's career victories, with optional filters for WorldTour or UCI races

get_race_results

Retrieve results for a specific race edition by race ID and year

get_race_overview

Get general information about a race including history, records, and past winners

get_race_stage_profiles

Retrieve stage profiles and details for multi-stage races

get_race_startlist

Get the startlist for a specific race edition with detailed or basic team information

get_race_victory_table

Retrieve the all-time victory table for a race showing riders with most wins

get_race_year_by_year

Get year-by-year results for a race with optional classification filter

get_race_youngest_oldest_winners

Retrieve information about the youngest and oldest winners of a race

get_race_stage_victories

Get information about stage victories in multi-stage races

search_rider

Search for riders by name, returning their IDs and basic information

search_race

Search for races by name, returning their IDs and basic information

FirstCycling provides rich access to professional cycling data from the FirstCycling website. It allows you to retrieve detailed information about professional cyclists, race results, historical data, and team information. With this integration, you can analyze rider performance, explore race histories, compare cyclists' careers, and access comprehensive statistics about the world of professional cycling. The tools cover everything from Grand Tours and Monument classics to rider career progression and team histories.

Overview

FirstCycling is a comprehensive data source for professional cycling information. This integration allows Claude to access and analyze data from FirstCycling, providing insights about riders, races, teams, and historical cycling data.

Installation

Prerequisites

  • Python 3.10 or higher
  • uv package manager (recommended)

Setup Instructions

  1. Clone the repository:
git clone https://github.com/r-huijts/firstcycling-mcp.git
cd firstcycling-mcp
  1. Create and activate a virtual environment:
uv venv
source .venv/bin/activate  # On macOS/Linux
# or
.venv\Scripts\activate  # On Windows
  1. Install dependencies:
uv pip install -e .

Integration with Claude

To integrate this server with Claude for Desktop, edit your Claude for Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following to your configuration:

"mcpServers": {
  "firstcycling": {
    "command": "uv",
    "args": [
      "--directory",
      "PATH_TO_FIRSTCYCLING_DIRECTORY",
      "run",
      "mcp",
      "dev",
      "firstcycling.py"
    ]
  }
}

Replace PATH_TO_FIRSTCYCLING_DIRECTORY with the actual path to where you cloned the repository.

Usage Examples

Rider Analysis

  • "How has Tadej Pogačar performed in the Tour de France over the years?"
  • "Show me the team history and career progression of Wout van Aert."
  • "What are Mathieu van der Poel's results in Monument classics?"
  • "List all WorldTour victories for Jonas Vingegaard."

Race Research

  • "Show me the results of the 2023 Paris-Roubaix."
  • "Who are the youngest and oldest winners of the Tour of Flanders?"
  • "Get the startlist for the 2023 Tour de France with detailed team information."
  • "Show me the victory table for Liège-Bastogne-Liège. Who has won it the most times?"

Sports Journalism

  • "Create a detailed profile of Remco Evenepoel for a cycling magazine article."
  • "Write a preview for the upcoming Tour de France based on the recent results of top contenders."
  • "Analyze the evolution of Tom Pidcock's career based on his race results and team history."

Development Mode

For testing the server with MCP Inspector, run:

uv run mcp dev firstcycling.py

This will start the server and open the MCP Inspector in your browser, allowing you to test the available tools.

Related MCPs

Fantasy Premier League
SportsPython

Access and analyze Fantasy Premier League data

Strava API
SportsPython

Access and analyze your Strava activity data

College Football Data
SportsPython

Access comprehensive college football statistics and data through the CFBD API

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.