# Pitstop MCP server

> Provides real-time, historical, and news data for Formula 1 through 11 specialized tools for AI clients.

- Repository: https://github.com/praneethravuri/pitstop
- Page: https://hostedmcp.org/servers/praneethravuri/pitstop
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.5.0

## Install

### Claude Code

```sh
claude mcp add --env 'PITSTOP_TRANSPORT=<PITSTOP_TRANSPORT>' pitstop -- uvx pitstop-f1
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "pitstop": {
      "command": "uvx",
      "args": [
        "pitstop-f1"
      ],
      "env": {
        "PITSTOP_TRANSPORT": "<PITSTOP_TRANSPORT>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "pitstop": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pitstop-f1"
      ],
      "env": {
        "PITSTOP_TRANSPORT": "<PITSTOP_TRANSPORT>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"pitstop","type":"stdio","command":"uvx","args":["pitstop-f1"],"env":{"PITSTOP_TRANSPORT":"<PITSTOP_TRANSPORT>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "pitstop": {
      "command": "uvx",
      "args": [
        "pitstop-f1"
      ],
      "env": {
        "PITSTOP_TRANSPORT": "<PITSTOP_TRANSPORT>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add pitstop --env 'PITSTOP_TRANSPORT=<PITSTOP_TRANSPORT>' -- uvx pitstop-f1
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.pitstop]
command = "uvx"
args = ["pitstop-f1"]

[mcp_servers.pitstop.env]
PITSTOP_TRANSPORT = "<PITSTOP_TRANSPORT>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'PITSTOP_TRANSPORT=<PITSTOP_TRANSPORT>' pitstop uvx -- pitstop-f1
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "pitstop": {
      "command": "uvx",
      "args": [
        "pitstop-f1"
      ],
      "env": {
        "PITSTOP_TRANSPORT": "<PITSTOP_TRANSPORT>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PITSTOP_TRANSPORT` | yes | no | Transport mode; must be 'stdio' when run via an MCP client. |

## Tools (11)

- `get_session_data`
- `get_telemetry_data`
- `get_live_data`
- `get_standings`
- `get_schedule`
- `get_reference_data`
- `get_f1_news`
- `get_results`
- `get_race_analysis`
- `query_wikidata`
- `query_f1_database`

## FAQ

### How can I install Pitstop locally?

You can install it via stdio using uvx by running PITSTOP_TRANSPORT=stdio uvx pitstop-f1.

### Does Pitstop provide real-time data?

Yes, it includes live intervals, pit stops, team radio, and race control data through the get_live_data tool.

### Can I run SPARQL queries for F1 history?

Yes, the query_wikidata tool allows you to run read-only SELECT and ASK SPARQL queries against Wikidata for biographical and historical facts.
