Skip to main content

🏎️ MCP Server F1Data

A Model Context Protocol (MCP) server for interacting with F1Data through LLM interfaces like Claude. You will need to have Claude installed on your system to continue.

Getting Started

First of all, you need to install mcp-f1data package from pypi with pip, using the following command:

pip install mcp-f1data

To use mcp-f1data server in claude can be configured by adding the following to your configuration file.

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

Add the F1Data MCP server configuration:

{
  "mcpServers": {
    "mcp-f1data": {
        "command": "python",
        "args": [ "-m", "mcp-f1data" ]
    }
  }
}

Tools

  • fastest lap
  • lap
  • top speed
  • total laps
  • driver team
  • team driver
  • box laps
  • deleted laps

Instalation

Active the virtual environment and install the requirements using:

.\.venv\Scripts\activate

Install the mcp server in Claude using the following command:

mcp install .\server.py

Requirements

The requirementes used to build this MCP server are:

  • fastf1
  • pandas
  • fastmcp
  • websockets
  • mcp
  • pydantic

Testing

You can test the server using the MCP Inspector:

mcp dev .\server.py

License

This project is licensed under the MIT LICENSE - see the details.

Metadata

Release files for mcp-f1data 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-f1data 0.1.5
File Size Uploaded Provenance
mcp_f1data-0.1.5.tar.gz 935.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-f1data 0.1.5
File Interpreter ABI Platform
mcp_f1data-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 942.8 kB

Release files / mcp_f1data-0.1.5.tar.gz

Download URL mcp_f1data-0.1.5.tar.gz
Size 935.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ebb4b8d1066e518d77d130bd2650e9de711174a73bf2357a71f181648887e2e1
BLAKE2b-256 checksum
How to use checksums
0cebbf400cab79bd771d6a0471eef7ab61ead83e42bd669b9160d6a73f0b667a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.1 importlib-metadata/8.6.1 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.10

Release files / mcp_f1data-0.1.5-py3-none-any.whl

Download URL mcp_f1data-0.1.5-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
676d17b69afc3f89031c4d192adc61a5c6f2f34bb7a4d83c3bb42649f1afb31e
BLAKE2b-256 checksum
How to use checksums
4ce3e14d6e2aa88fa8cc1757740a295bae37d820e471923132764729ee3c73cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.1 importlib-metadata/8.6.1 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.10

Security for mcp-f1data 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page