F1 MCP Server (f1-mcp-server-161e3fe2)

MCP运维云端

提供方 gw-dg

运维云端 stdio · 本地进程 无需鉴权 社区 / 第三方
查看接入方式

一个通过WhatsApp提供全面F1数据的服务,包括赛季、赛道、比赛、车队、车手、结果、冲刺赛、排位赛、进站、圈速、排名和状态信息。

一句话选型结论

按资料字段整理

F1 MCP Server (f1-mcp-server-161e3fe2) 属于运维云端类 MCP 服务器,stdio · 本地进程,无需鉴权,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类运维云端 传输方式stdio · 本地进程 鉴权无需鉴权 部署方式本地部署
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 22 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

运维云端
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量22暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

适用场景

F1数据Python本地部署赛车分析历史数据实时更新WhatsApp集成

安装与配置

stdio · 本地进程 无需鉴权
客户端在本机拉起子进程,数据不出本机
pip install -r requirements.txt

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js 等运行时,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 22 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
云资源查询

查实例、存储、账单等云上资源状态。

部署与发布

把部署、重启、回滚这类操作接进对话。

监控与告警

拉取监控指标,异常时让模型帮你判断。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 22 个工具,覆盖面较广,能满足多种调用。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 资料标注无需鉴权,装好就能连。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
F1 MCP Server (f1-mcp-server-161e3fe2)当前 22 stdio · 本地进程 本地部署 有 2026-05-17
lobehub 未标注 stdio · 本地进程 本地部署 有 2026-04-11
TrendRadar 未标注 stdio · 本地进程 本地部署 有 2026-04-13
Ui Tars Desktop 8a825770 未标注 stdio · 本地进程 本地部署 有 2026-05-17
ruflo 未标注 stdio · 本地进程 本地部署 有 2026-04-13
FastGPT 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

运维云端
字段来自项目仓库与公开索引,中文说明由本站标注
提供方gw-dg上游标注的维护方 gw-dg
分类运维云端本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式无需鉴权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

9.2 KB
来自项目仓库与上游目录的原文,未做删改

Formula 1 MCP Server

A comprehensive Formula 1 MCP server for puch.ai that provides access to all Jolpica F1 API endpoints through WhatsApp. Built using the Jolpica F1 API (Ergast compatible) for complete F1 data coverage including seasons, circuits, races, constructors, drivers, results, sprint, qualifying, pitstops, laps, standings, and status information.

Complete Jolpica F1 API Integration

Core Features (Jolpica F1 API)

  • Next Race Info: Get upcoming race details with date, time, and location
  • Driver Standings: Current F1 championship standings with points and wins
  • Constructor Standings: Team championship standings and points
  • Race Schedule: Complete season calendar with all race dates
  • Race Results: Latest race results and finishing positions
  • Historical Data: Access to all past seasons and race data
  • F1 Trivia: Random F1 facts, statistics, and interesting information
  • All Seasons: Browse complete F1 history
  • All Circuits: Database of F1 tracks and venues
  • Current Drivers: Full driver lineup for current season
  • Current Constructors: Complete team lineup
  • Sprint Results: Sprint race results and analysis
  • Pit Stop Data: Detailed pit stop analysis and timings
  • Lap Times: Lap-by-lap timing analysis
  • Qualifying Results: Complete qualifying session results
  • Driver Profiles: Comprehensive career statistics
  • Driver Season Performance: Detailed season breakdowns
  • Race Analysis: Complete race weekend reports
  • Driver Comparisons: Head-to-head statistical comparisons
  • Status Codes: F1 result status classifications

Quick Start

1. Install Dependencies```bash

Navigate to project directory

cd f1_mcp_server

Install Python dependencies

pip install -r requirements.txt


### 2. Configure Environment```bash
# Create .env file with your details:
# AUTH_TOKEN=your_secret_mcp_auth_token
# MY_NUMBER=919876543210

3. Run the Server```bash

Run with new modular structure (recommended)

python main.py

Or run original single file (still works)

python f1_mcp_server.py


### 4. Make Public with ngrok```bash
# In another terminal
ngrok http 8088

5. Connect with Puch AI```

/mcp connect https://your-domain.ngrok.app/mcp your_auth_token


## WhatsApp Usage Guide

Once your F1 MCP server is connected to puch.ai, you can use these WhatsApp commands:

### Basic F1 Information

- **"When is the next F1 race?"**
- **"F1 driver standings 2025"**
- **"F1 team standings"**
- **"F1 2025 calendar"**
- **"Latest F1 race results"**
- **"Tell me F1 trivia"**

### Advanced Queries

- **"Show me all F1 circuits"**
- **"F1 seasons history"**
- **"Current F1 drivers"**
- **"Current F1 teams"**
- **"Sprint race results"**
- **"Pit stop analysis"**
- **"Qualifying results"**
- **"F1 status codes"**

### Driver Analysis

- **"Profile of Lewis Hamilton"**
- **"Verstappen 2023 season performance"**
- **"Compare Hamilton vs Verstappen"**

### Historical Data

- **"F1 2018 race schedule"**
- **"2024 round 5 race analysis"**
- **"Monaco 2023 qualifying"**

## API Documentation

### MCP Tools Available (20 F1 Tools + 2 Server Tools = 22 Total)

#### Basic F1 Information Tools

1. **validate** - Confirms MCP server connection
2. **get_next_race** - Next F1 race details
3. **get_current_standings** - Current driver championship standings
4. **get_constructor_standings** - Current team championship standings
5. **get_race_schedule** - Complete race calendar for current season
6. **get_latest_race_results** - Latest race results and positions
7. **f1_trivia** - Random F1 facts and trivia

#### Comprehensive Data Tools

8. **get_all_seasons** - All F1 seasons/years in database
9. **get_all_circuits** - All F1 circuits/tracks ever used
10. **get_current_drivers** - All current season drivers
11. **get_current_constructors** - All current season teams
12. **get_sprint_results** - Sprint race results
13. **get_pitstops** - Pit stop data and analysis
14. **get_lap_times** - Lap timing analysis
15. **get_qualifying_results** - Qualifying session results
16. **get_status_codes** - F1 result status classifications

#### Advanced Analysis Tools

17. **get_historical_schedule** - Historical season calendars
18. **get_driver_profile** - Comprehensive driver career profiles
19. **get_driver_season_performance** - Detailed season breakdowns
20. **get_race_analysis** - Complete race weekend analysis
21. **compare_drivers** - Head-to-head driver comparisons
22. **about** - Get F1 server information

## Jolpica F1 API Endpoints Supported

### All Available Routes

- **seasons** - `/seasons` - All F1 seasons
- **circuits** - `/circuits` - All F1 circuits
- **races** - `/2025/races` - Race calendar
- **constructors** - `/2025/constructors` - Team information
- **drivers** - `/2025/drivers` - Driver information
- **results** - `/2025/results` - Race results
- **sprint** - `/2025/sprint` - Sprint results
- **qualifying** - `/2025/qualifying` - Qualifying results
- **pitstops** - `/2025/1/pitstops` - Pit stop data
- **laps** - `/2025/1/laps` - Lap timing data
- **driverstandings** - `/2025/driverstandings` - Driver championship
- **constructorstandings** - `/2025/constructorstandings` - Team championship
- **status** - `/status` - Result status codes

### API Features

- **Free to use** - No authentication required
- **Ergast compatible** - Familiar API structure
- **Comprehensive** - Current and historical F1 data
- **Reliable** - Community-maintained F1 data source
- **Real-time updates** - Current season data

## Configuration

### Environment Variables

- `AUTH_TOKEN`: MCP authentication token for puch.ai
- `MY_NUMBER`: Your WhatsApp number in format 919876543210
- `MCP_SERVER_HOST`: Server host (default: 0.0.0.0)
- `MCP_SERVER_PORT`: Server port (default: 8088)
- `JOLPICA_BASE_URL`: Jolpica F1 API base URL (default: https://api.jolpi.ca/ergast/f1)

### Project Structure```
f1_mcp_server/
├── src/                     # Modular source code
│   ├── config.py           # Configuration and constants
│   ├── api_client.py       # Jolpica F1 API client
│   ├── auth.py             # Authentication provider
│   ├── server.py           # Main MCP server setup
│   └── tools/              # F1 tools organized by category
│       ├── basic_tools.py  # validate, about
│       ├── race_tools.py   # race info, schedule, results
│       ├── standings_tools.py # driver & constructor standings
│       ├── driver_tools.py # driver profiles & performance
│       ├── analysis_tools.py # race analysis & comparisons
│       ├── historical_tools.py # historical data
│       ├── data_tools.py   # circuits, drivers, constructors
│       ├── racing_tools.py # sprint, pitstops, lap times
│       ├── status_tools.py # status codes
│       └── trivia_tools.py # F1 trivia
├── tests/                   # Test files
│   └── test_tools.py       # Basic tests
├── main.py                  # Entry point (recommended)
├── f1_mcp_server.py        # Original single file (still works)
├── requirements.txt         # Dependencies
├── .env                     # Environment configuration
└── README.md               # This file

Security & Privacy

  • Bearer token authentication with puch.ai
  • No data storage - purely API-driven responses
  • No personal data collection - only F1 public information
  • Secure API calls with timeout and error handling

Troubleshooting

Common Issues

  1. "No race data found":
  • Check if F1 season is active
  • Verify Jolpica F1 API is accessible
  1. "Jolpica F1 API error":
  • Check internet connectivity
  • Verify JOLPICA_BASE_URL in .env
  1. Authentication failed:
    - Verify AUTH_TOKEN in .env
    - Check puch.ai MCP connection

Debug Commands```bash

Test Jolpica F1 API directly

curl "https://api.jolpi.ca/ergast/f1/current.json"

Check server logs

python main.py # Watch console output (new structure)

OR

python f1_mcp_server.py # Original single file
```

Ready to Race!

Status: COMPLETE - Production-ready F1 MCP Server with comprehensive Jolpica F1 API integration!

Your comprehensive F1 MCP server now provides access to all Jolpica F1 API endpoints, giving you complete F1 data coverage from live championship standings to detailed historical analysis through WhatsApp. With 20 F1 data tools (22 total including server tools) using the Ergast-compatible API, you have the most comprehensive F1 data access available!

New Modular Structure Benefits

✅ Clean Architecture - Separated concerns with config, API client, auth, and tools
✅ Easy Maintenance - Each tool category in dedicated files
✅ Better Testing - Dedicated test structure for reliability
✅ Flexible Deployment - Choose main.py (new) or f1_mcp_server.py (original)
✅ Scalable Design - Easy to add new tools and features

Features: Real-time race updates + Championship standings + Constructor standings + Historical seasons + Race results + F1 trivia + All circuits + Driver profiles + Season analysis + Qualifying results + Sprint races + Pit stops + Lap times + Driver comparisons + Status codes


Built for F1 fans everywhere! #BuildWithPuch

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
F1 MCP Server (f1-mcp-server-161e3fe2) 怎么安装?

在客户端按下面的安装命令接入:pip install -r requirements.txt。装完在客户端配置里引用同一个包或端点。

F1 MCP Server (f1-mcp-server-161e3fe2) 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

F1 MCP Server (f1-mcp-server-161e3fe2) 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

F1 MCP Server (f1-mcp-server-161e3fe2) 需要 API Key 吗?

资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

F1 MCP Server (f1-mcp-server-161e3fe2) 能提供哪些能力?

资料显示约 22 个工具;能力标签包括 历史数据、Python、实时更新。具体工具清单以官方文档为准。

F1 MCP Server (f1-mcp-server-161e3fe2) 需要什么运行环境?

属于本地进程,需要在本机装好运行环境。

F1 MCP Server (f1-mcp-server-161e3fe2) 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。