Skip to main content
Glama
FirstCycling MCP Server

FirstCycling MCP Server

by r-huijts

FirstCycling MCP 서버

FirstCycling의 전문 사이클링 데이터를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 프로 사이클 선수, 경기 결과, 경기 세부 정보, 그리고 과거 사이클링 데이터에 대한 포괄적인 정보를 검색할 수 있습니다.

특징

이 MCP 서버는 전문적인 사이클링 데이터에 대한 풍부한 액세스를 제공하며 다음과 같은 도구를 제공합니다.

  • 프로 사이클 선수에 대한 정보 찾기

  • 경주 결과 및 세부 정보 검색

  • 과거 레이스 데이터 탐색

  • 라이더 성과 및 경력 진행 분석

  • 자전거 팀 및 대회에 대한 정보 접근

Related MCP server: Pitstop

실제 사용 사례

이 MCP 서버를 사용하면 Claude를 사용하여 다음을 수행할 수 있습니다.

라이더 분석

  • 성과 추적 : "타데이 포가차르는 지난 몇 년 동안 투르 드 프랑스에서 어떤 성과를 거두었나요?"

  • 경력 진행 : "Wout van Aert의 팀 역사와 경력 진행 상황을 보여주세요."

  • 특수화 분석 : "Monument classics에서 Mathieu van der Poel의 성과는 무엇인가?"

  • 승리 분석 : "요나스 빈게고르의 월드투어 승리를 모두 나열하세요."

  • 역사적 비교 : "Primož Roglič와 Jonas Vingegaard의 그랜드 투어 결과를 비교하십시오."

인종 연구

  • 최근 결과 : "2023년 파리-루베의 결과를 보여주세요."

  • 역사적 맥락 : "플랜더스 투어에서 가장 어린 우승자와 가장 나이 많은 우승자는 누구입니까?"

  • 팀 분석 : "자세한 팀 정보와 함께 2023년 투르 드 프랑스의 출발 목록을 확인하세요."

  • 레이스 통계 : "리에주-바스토뉴-리에주의 우승 기록을 보여주세요. 누가 가장 많이 우승했습니까?"

  • 스테이지 정보 : "2023년 지로 디탈리아의 스테이지 프로필을 보여 주시겠습니까?"

스포츠 저널리즘

  • "사이클링 잡지 기사에 렘코 에베네포엘의 자세한 프로필을 작성하세요."

  • "타데이 포가차르와 요나스 빈게고르 등 최고 경쟁자들의 최근 결과를 바탕으로 다가올 투르 드 프랑스에 대한 미리보기를 작성하세요."

  • "톰 피드콕의 레이스 결과와 팀 역사를 바탕으로 그의 경력 변화를 분석하세요."

자전거 교육

  • "역사와 수상자에 대한 데이터를 사용하여 Monument 클래식을 특별하게 만드는 요소를 설명하세요."

  • "그랜드 투어와 프로 사이클링에서의 중요성에 대한 교육적 요약을 작성하세요."

  • "데이터에서 추출한 예를 사용하여 프로 자전거 선수의 일반적인 경력 진행 과정을 설명하세요."

요구 사항

  • Python 3.10 이상

  • uv 패키지 관리자(추천)

  • pyproject.toml 에 나열된 종속성은 다음과 같습니다.

    • 엠씨피

    • 아름다운수프4

    • lxml

    • 팬더

    • 무기력 상태

    • 웹 스크래핑 및 데이터 처리를 위한 기타 패키지

설정

  1. 이 저장소를 복제하세요

  2. 가상 환경을 만들고 활성화하세요.

    지엑스피1

  3. 종속성 설치:

    uv pip install -e .

FirstCycling API

이 서버는 프로젝트에 직접 통합된 FirstCycling API를 사용합니다. 이 API는 웹 스크래핑을 통해 FirstCycling 웹사이트에서 데이터를 가져오는 방법을 제공합니다.

MCP 도구

서버는 모델 컨텍스트 프로토콜을 통해 다음 도구를 제공합니다.

라이더 정보

도구

설명

get_rider_info

국적, 생년월일, 체중, 키, 현재 팀을 포함한 라이더의 기본적인 전기 정보를 얻으세요.

get_rider_best_results

중요도 순으로 정렬된 라이더의 최고 경력 결과를 검색합니다.

get_rider_grand_tour_results

그랑 투르(투르 드 프랑스, 지로 디탈리아, 부엘타 아 에스파냐) 라이더의 결과를 확인하세요

get_rider_monument_results

자전거의 Monument classics에서 라이더의 결과를 검색하세요

get_rider_team_and_ranking

라이더의 팀 이력과 시간 경과에 따른 UCI 랭킹 추이를 알아보세요.

get_rider_race_history

라이더의 전체 레이스 참가 기록을 검색합니다(연도별로 필터링 가능).

get_rider_one_day_races

1일 경주에서 라이더의 결과를 얻으세요. 연도별로 필터링할 수도 있습니다.

get_rider_stage_races

연도별로 필터링하여 여러 날에 걸친 단계 경주에서 라이더의 결과를 확인하세요.

get_rider_teams

라이더의 경력 전반에 걸친 전체 팀 기록을 검색합니다.

get_rider_victories

WorldTour 또는 UCI 레이스에 대한 선택적 필터가 포함된 라이더의 경력 승리 목록을 받으세요.

레이스 정보

도구

설명

get_race_results

레이스 ID 및 연도별로 특정 레이스 에디션에 대한 결과를 검색합니다.

get_race_overview

역사, 기록, 과거 우승자를 포함한 경주에 대한 일반 정보를 얻으세요

get_race_stage_profiles

다단계 레이스에 대한 단계 프로필 및 세부 정보 검색

get_race_startlist

세부적이거나 기본적인 팀 정보가 포함된 특정 레이스 에디션의 시작 목록을 받으세요

get_race_victory_table

가장 많은 승리를 거둔 라이더를 보여주는 경주의 역대 승리 표를 검색합니다.

get_race_year_by_year

선택적인 분류 필터를 사용하여 경주에 대한 연도별 결과를 얻으세요

get_race_youngest_oldest_winners

경주에서 가장 어린 우승자와 가장 나이 많은 우승자에 대한 정보를 검색합니다.

get_race_stage_victories

다단계 경주에서 단계 승리에 대한 정보를 얻으세요

검색 도구

도구

설명

search_rider

라이더를 이름으로 검색하고, 라이더의 ID와 기본 정보를 반환합니다.

search_race

이름으로 레이스를 검색하고 해당 레이스의 ID와 기본 정보를 반환합니다.

용법

개발 모드

다음을 실행하여 MCP Inspector로 서버를 테스트할 수 있습니다.

uv run mcp dev firstcycling.py

이렇게 하면 서버가 시작되고 브라우저에서 MCP 검사기가 열려 사용 가능한 도구를 테스트할 수 있습니다.

데스크톱용 Claude와 통합

이 서버를 Claude for Desktop과 통합하려면:

  1. 다음 위치에 있는 Claude for Desktop 구성 파일을 편집하세요.

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. 구성에 서버를 추가합니다.

    {
      "mcpServers": {
        "firstcycling": {
          "command": "uv",
          "args": ["--directory", "/path/to/server/directory", "run", "firstcycling.py"]
        }
      }
    }
  3. 데스크톱용 Claude를 다시 시작하세요

특허

MIT

Available Tools

18 tools
get_race_detailsA

Get comprehensive details about a cycling race. This tool provides detailed information about a specific race, including its history, key statistics, route details, and other relevant information. The data can be filtered by specific classification.

Note: If you don't know the race's ID, use the search_race tool first to find it by name.

Example usage:
- Get details for Tour de France (ID: 17)
- Get details for Paris-Roubaix (ID: 30)

Returns a formatted string with:
- Race name, country, and category
- Historical information and key statistics
- Course details and characteristics
- Optional classification details

Inputs: race_id (required), classification_num.

get_race_edition_resultsA

Get detailed results for a specific edition of a cycling race. This tool provides comprehensive results for a particular edition of a race, including rankings, time gaps, and other relevant statistics. Results can be filtered by classification or stage.

Note: If you don't know the race's ID, use the search_race tool first to find it by name.

Example usage:
- Get 2023 Tour de France general classification results (Race ID: 17, Year: 2023)
- Get 2022 Paris-Roubaix results (Race ID: 30, Year: 2022)
- Get results for stage 5 of 2023 Tour de France (Race ID: 17, Year: 2023, Stage: 5)

Returns a formatted string with:
- Race name, year, and category
- Complete result list with rankings and time gaps
- Rider names and teams
- Classification or stage specific information

Inputs: race_id (required), year (required), classification_num, stage_num.

get_race_victory_tableA

Get the all-time victory table for a cycling race. This tool provides a historical summary of the most successful riders in a specific race, showing the number of victories for each rider throughout the race's history.

Note: If you don't know the race's ID, use the search_race tool first to find it by name.

Example usage:
- Get victory table for Tour de France (ID: 17)
- Get victory table for Paris-Roubaix (ID: 30)

Returns a formatted string with:
- Race name
- List of riders with the most victories
- Number of victories for each rider
- Years of victories where available

Inputs: race_id (required).

get_rider_best_resultsA

Retrieve the best career results of a professional cyclist, including their top finishes in various races. This tool provides a comprehensive overview of a rider's most significant achievements throughout their career, including their highest positions in major races, stage wins, and overall classifications. Results are sorted by importance and include detailed information about each race.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get top 10 best results for Tadej Pogačar (ID: 16973)
- Get top 5 best results for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Rider's name and career highlights
- Top results sorted by importance
- Race details including category and country
- Date and position for each result

Inputs: rider_id (required), limit.

get_rider_grand_tour_resultsA

Get comprehensive results for a rider in Grand Tours (Tour de France, Giro d'Italia, and Vuelta a España). This tool provides detailed information about a rider's performance in cycling's most prestigious three-week races, including their overall classification positions, stage wins, and special classification results. The data is organized chronologically and includes all relevant race details.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get Grand Tour results for Tadej Pogačar (ID: 16973)
- Get Grand Tour results for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Results for each Grand Tour (Tour de France, Giro, Vuelta)
- Overall classification positions
- Stage wins and special classification results
- Time gaps and race details

Inputs: rider_id (required).

get_rider_infoA

Get comprehensive information about a professional cyclist including their current team, nationality, date of birth, and recent race results. This tool provides a detailed overview of a rider's current status and recent performance in professional cycling races. The information includes their current team affiliation, nationality, age, and their most recent race results with positions and times.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get basic info for Tadej Pogačar (ID: 16973)
- Get basic info for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Full name and current team
- Nationality and date of birth
- UCI ID and social media handles
- Last 5 race results with positions and times
- Total number of UCI victories

Inputs: rider_id (required).

get_rider_monument_resultsA

Retrieve detailed results for a rider in cycling's five Monument races (Milan-San Remo, Tour of Flanders, Paris-Roubaix, Liège-Bastogne-Liège, and Il Lombardia). These are the most prestigious one-day races in professional cycling. The tool provides comprehensive information about a rider's performance in these historic races, including their positions, times, and any special achievements.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get Monument results for Tadej Pogačar (ID: 16973)
- Get Monument results for Mathieu van der Poel (ID: 16975)

Returns a formatted string with:
- Results for each Monument race
- Position and time for each participation
- Race details and special achievements
- Chronological organization by year

Inputs: rider_id (required).

get_rider_one_day_racesA

Get a rider's results in one-day races, optionally filtered by year. This tool retrieves detailed information about a rider's performance in one-day races (classics and one-day events). It provides comprehensive data about positions, times, and race categories. Results can be filtered by a specific year.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get one-day race results for Mathieu van der Poel (ID: 16672)
- Get 2023 one-day race results for Wout van Aert (ID: 16948)

Returns a formatted string with:
- Results in one-day races organized by year
- Position and time for each race
- Race category and details
- Chronological organization

Inputs: rider_id (required), year.

get_rider_race_historyA

Get the complete race history of a professional cyclist, optionally filtered by year. This tool retrieves a comprehensive list of all races the rider has participated in, including their positions, times, and race categories. It provides a detailed overview of their racing career.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get complete race history for Tadej Pogačar (ID: 16973)
- Get 2023 race history for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- All races organized by year
- Position and time for each race
- Race category and details
- Chronological organization

Inputs: rider_id (required), year.

get_rider_stage_racesA

Get a rider's results in stage races, optionally filtered by year. This tool retrieves detailed information about a rider's performance in stage races (multi-day races like Tour de France, Giro d'Italia, etc.). It provides comprehensive data about positions, times, and race categories. Results can be filtered by a specific year.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get stage race results for Tadej Pogačar (ID: 16973)
- Get 2023 stage race results for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Results in stage races organized by year
- Position and time for each race
- Race category and details
- Chronological organization

Inputs: rider_id (required), year.

get_rider_team_and_rankingA

Get information about a professional cyclist's team affiliations and UCI rankings throughout their career. This tool retrieves the rider's team history and their UCI ranking points over time. It provides a comprehensive overview of their professional career progression through different teams and their performance in the UCI rankings.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get team and ranking history for Tadej Pogačar (ID: 16973)
- Get team and ranking history for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Complete team history with years
- UCI ranking positions and points
- Career progression timeline
- Current team and ranking status

Inputs: rider_id (required).

get_rider_teamsA

Get a detailed history of a professional cyclist's team affiliations throughout their career. This tool provides a chronological list of all teams the rider has been part of, including years and team details.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get team history for Peter Sagan (ID: 12345)
- Get career team changes for Chris Froome (ID: 67890)

Returns a formatted string with:
- Complete team history
- Years with each team
- Team names and details
- Chronological organization

Inputs: rider_id (required).

get_rider_victoriesA

Get a comprehensive list of a rider's UCI victories. This tool retrieves detailed information about all UCI-registered race victories achieved by the cyclist throughout their career. Victories can be filtered to show only WorldTour wins if desired.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get all UCI victories for Tadej Pogačar (ID: 16973)
- Get WorldTour victories for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Complete list of victories
- Race details including category
- Date and year of each victory
- Option to filter by WorldTour races only

Inputs: rider_id (required), world_tour_only.

get_rider_year_resultsA

Retrieve detailed results for a professional cyclist for a specific year. This tool provides comprehensive information about a rider's performance in all races during a given calendar year. It includes positions achieved, race categories, dates, and additional details.

Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.

Example usage:
- Get 2023 results for Tadej Pogačar (ID: 16973)
- Get 2022 results for Jonas Vingegaard (ID: 16974)

Returns a formatted string with:
- Complete results for the specified year
- Position and time for each race
- Race category and details
- Chronological organization by date

Inputs: rider_id (required), year (required).

get_start_listA

Get the start list for a specific edition of a cycling race. The start list includes rider numbers, names, and teams.

Note: If you don't know the race's ID, use the search_race tool first to find it by name.
If no year is specified, the current year will be used.

Example usage:
- Get start list for current year's Tour de France (Race ID: 17)
- Get start list for 2023 Paris-Roubaix (Race ID: 30, Year: 2023)

Returns a formatted string with:
- Race name and year
- List of participating teams
- Riders for each team with their race numbers

Inputs: race_id (required), year.

get_uci_rankingsB

Get UCI rankings for riders, teams, or nations. This tool provides access to the UCI ranking data for professional cyclists, teams, or nations. Results can be filtered by ranking type, year, and category.

Example usage:
- Get World UCI rider rankings for 2023
- Get Europe Tour UCI team rankings for 2022
- Get UCI nation rankings for 2023 in the World category

Returns a formatted string with:
- Ranking list with positions and points
- Filtered by specified categories
- Organized in a readable format
- Option to filter by country

Inputs: category, country_code, page_num, rank_type, +1 more.

search_raceA

Search for cycling races by name. This tool helps find races by their name, returning a list of matching races with their IDs and countries. This is useful when you know a race's name but need its ID for other operations.

Example usage:
- Search for "tour" to find Tour de France and other tours
- Search for "giro" to find Giro d'Italia

Returns a formatted string with:
- List of matching races
- Each race's ID, name, and country
- Number of matches found

Inputs: query (required).

search_riderA

Search for professional cyclists by name. This tool helps find riders by their name, returning a list of matching riders with their IDs and basic information. This is useful when you need a rider's ID for other operations but only know their name.

Example usage:
- Search for "Tadej Pogacar" to find Tadej Pogačar's ID
- Search for "Van Aert" to find Wout van Aert's ID

Returns a formatted string with:
- List of matching riders
- Each rider's ID, name, nationality, and current team
- Number of matches found

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 18 tools

    Disambiguation3/5

    The tools have clear distinctions between race-focused and rider-focused operations, but there is significant overlap within rider tools. For example, get_rider_best_results, get_rider_grand_tour_results, get_rider_monument_results, get_rider_one_day_races, get_rider_race_history, get_rider_stage_races, and get_rider_year_results all retrieve subsets of race results, which could confuse an agent about which to use for specific queries. The descriptions help differentiate, but the boundaries are fuzzy.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with a verb_noun structure (e.g., get_race_details, search_rider). The naming is predictable and readable throughout, with no deviations in style or convention, making it easy for an agent to parse and understand the tool purposes.

    Tool Count3/5

    With 18 tools, the count is on the higher side for a cycling data server, bordering on heavy. While the domain of professional cycling is broad, the tool set includes many overlapping rider result tools that could potentially be consolidated, making it feel slightly bloated but still within a reasonable scope.

    Completeness4/5

    The tool surface covers the cycling domain well with race details, results, rider information, and search functionalities. However, there are minor gaps, such as no tools for team details beyond rider affiliations, race calendars, or live race data, which agents might need for comprehensive coverage. The core operations are well-represented, allowing agents to work around these omissions.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides comprehensive Formula 1 data access including race schedules, session results, lap times, telemetry data, driver/constructor standings, and circuit information. Enables users to retrieve and analyze F1 racing data through natural language queries using the FastF1 Python package.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides access to Formula 1 data including driver and constructor championship standings with support for current and historical seasons. Enables users to query F1 championship information through natural language with plans for expanded race data and telemetry.
      22
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides professional cycling data from ProCyclingStats, enabling race discovery, stage results, rider profiles, startlists, and free-text search through MCP tools.
      6
      3
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server exposing ProCyclingStats teams, riders, and races data by scraping site pages, enabling custom rankings and historical result analysis.
      -