✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

FirstCycling MCP Server

This is a Model Context Protocol (MCP) server that provides professional cycling data from FirstCycling. It allows you to retrieve comprehensive information about professional cyclists, race results, race details, and historical cycling data.

Features

This MCP server offers rich access to professional cycling data, providing tools for:

  • Finding information about professional cyclists
  • Retrieving race results and details
  • Exploring historical race data
  • Analyzing rider performance and career progression
  • Accessing information about cycling teams and competitions

Real-World Use Cases

With this MCP server, you can use Claude to:

Rider Analysis

  • Performance Tracking: “How has Tadej Pogačar performed in the Tour de France over the years?”
  • Career Progression: “Show me the team history and career progression of Wout van Aert.”
  • Specialization Analysis: “What are Mathieu van der Poel’s results in Monument classics?”
  • Victory Analysis: “List all WorldTour victories for Jonas Vingegaard.”
  • Historical Comparison: “Compare the Grand Tour results of Primož Roglič and Jonas Vingegaard.”

Race Research

  • Recent Results: “Show me the results of the 2023 Paris-Roubaix.”
  • Historical Context: “Who are the youngest and oldest winners of the Tour of Flanders?”
  • Team Analysis: “Get the startlist for the 2023 Tour de France with detailed team information.”
  • Race Statistics: “Show me the victory table for Liège-Bastogne-Liège. Who has won it the most times?”
  • Stage Information: “Can you show me the stage profiles for the 2023 Giro d’Italia?”

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 like Tadej Pogačar and Jonas Vingegaard.”
  • “Analyze the evolution of Tom Pidcock’s career based on his race results and team history.”

Cycling Education

  • “Explain what makes the Monument classics special using data about their history and winners.”
  • “Create an educational summary about Grand Tours and their significance in professional cycling.”
  • “Describe the typical career progression of a professional cyclist using examples from the data.”

Requirements

  • Python 3.10 or higher
  • uv package manager (recommended)
  • Dependencies as listed in pyproject.toml, including:
    • mcp
    • beautifulsoup4
    • lxml
    • pandas
    • slumber
    • and other packages for web scraping and data processing

Setup

  1. Clone this repository
  2. Create and activate a virtual environment:
    uv venv
    source .venv/bin/activate  # On macOS/Linux
    # or
    .venvScriptsactivate  # On Windows
    
  3. Install dependencies:
    uv pip install -e .
    

FirstCycling API

This server uses the FirstCycling API, which has been integrated directly into the project. The API provides methods to fetch data from the FirstCycling website through web scraping.

MCP Tools

The server exposes the following tools through the Model Context Protocol:

Rider Information

ToolDescription
get_rider_infoGet basic biographical information about a rider including nationality, birthdate, weight, height, and current team
get_rider_best_resultsRetrieve a rider’s best career results, sorted by importance
get_rider_grand_tour_resultsGet a rider’s results in Grand Tours (Tour de France, Giro d’Italia, Vuelta a España)
get_rider_monument_resultsRetrieve a rider’s results in cycling’s Monument classics
get_rider_team_and_rankingGet a rider’s team history and UCI ranking evolution over time
get_rider_race_historyRetrieve a rider’s complete race participation history, optionally filtered by year
get_rider_one_day_racesGet a rider’s results in one-day races, optionally filtered by year
get_rider_stage_racesGet a rider’s results in multi-day stage races, optionally filtered by year
get_rider_teamsRetrieve the complete team history of a rider throughout their career
get_rider_victoriesGet a list of a rider’s career victories, with optional filters for WorldTour or UCI races

Race Information

ToolDescription
get_race_resultsRetrieve results for a specific race edition by race ID and year
get_race_overviewGet general information about a race including history, records, and past winners
get_race_stage_profilesRetrieve stage profiles and details for multi-stage races
get_race_startlistGet the startlist for a specific race edition with detailed or basic team information
get_race_victory_tableRetrieve the all-time victory table for a race showing riders with most wins
get_race_year_by_yearGet year-by-year results for a race with optional classification filter
get_race_youngest_oldest_winnersRetrieve information about the youngest and oldest winners of a race
get_race_stage_victoriesGet information about stage victories in multi-stage races

Search Tools

ToolDescription
search_riderSearch for riders by name, returning their IDs and basic information
search_raceSearch for races by name, returning their IDs and basic information

Usage

Development Mode

You can test the server with MCP Inspector by running:

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.

Integration with Claude for Desktop

To integrate this server with Claude for Desktop:

  1. Edit the Claude for Desktop config file, located at:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%Claudeclaude_desktop_config.json
  2. Add the server to your configuration:

    {
      "mcpServers": {
        "firstcycling": {
          "command": "uv",
          "args": ["--directory", "/path/to/server/directory", "run", "firstcycling.py"]
        }
      }
    }
    
  3. Restart Claude for Desktop

License

MIT

FirstCycling MCP Server

Project Details

Recomended MCP Servers

GitMCP
GitMCP

Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

Neon MCP Server
Neon MCP Server

Lightweight MCP server to give your Cursor Agent access to the Neon API

Tencent Cloud COS Server
Tencent Cloud COS Server

基于 MCP 协议的腾讯云 COS MCP Server,无需编码即可让大模型快速接入腾讯云存储 (COS) 和数据万象 (CI) 能力。

🧩
Git Auto Commit

An mcp server that auto commits changes and creates commit message in the form of conventional commits (https://www.conventionalcommits.org/en/v1.0.0/)

Local MCP Server
Local MCP Server

大家好!我是功能丰富的 MCP 服务,旨在打破设备与服务的隔阂,为用户带来便捷体验。 天气工具和气象平台联动,快速为用户推送全球实时天气,助力大家规划出行。控制浏览器工具模拟人工操作,自动搜索、浏览网页,大幅节省时间。摄像头工具调用本地摄像头拍照、录像,实现人脸识别,保障家庭安防。 为实现工具协同,我搭建了稳定框架,开发者可以基于现有服务进行拓展

🧩
Node Fetch
🧩
Linear

Enables AI agents to manage issues, projects, and teams on the Linear platform. MCP server.

Claude Spotify Integration
Claude Spotify Integration

An integration that allows Claude Desktop to interact with Spotify using the Model Context Protocol (MCP).

shadcn/ui Component Reference Server
shadcn/ui Component Reference Server

MCP server for shadcn/ui component references

🧩
Unreasonable Thinking Server

An MCP server for unconventional and boundary-breaking problem-solving through an advanced note-taking system.

🧩
Ant Design Components MCP Server
Smart EHR Server
Smart EHR Server

Connect to an EHR and make clinical data available via MCP

Featured Templates

View More
Verified Icon
AI Agents
AI Chatbot Starter Kit
1336 8300 5.0
AI Assistants
AI Chatbot Starter Kit v0.1
140 913
AI Characters
Sarcastic AI Chat Bot
129 1713
Data Analysis
Pharmacy Admin Panel
252 1957
AI Engineering
Python Bug Fixer
119 1433

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.