Back to Home
Maxbleu icon

MCP-F1data

by Maxbleu

Overview

Provides a Model Context Protocol (MCP) server to allow LLMs like Claude to interact with Formula 1 data through a set of Python tools.

Installation

Run Command
python -m mcp_f1data

Environment Variables

  • PUBLIC_KEY
  • ALGORITHM
  • JWT_TOKEN
  • APIF1DB_PRIVATE_NETWORK_BASE_PATH
  • PORT
  • HOST
  • RAILWAY_ENVIRONMENT

Security Notes

The `ExecutionTools.execute_code` function uses `exec(code, env, local_env)` to execute arbitrary Python code. If the LLM is prompted by a malicious actor to generate harmful code, this could lead to critical Remote Code Execution (RCE) vulnerabilities on the host system. While environment variables are used for sensitive API keys (e.g., `JWT_TOKEN`), the direct execution of arbitrary code from potentially untrusted LLM outputs presents a severe risk.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-20

Tags

F1 DataLLM IntegrationMCP ServerPythonData Query