fh5-mcp
MCP server that provides Forza Horizon 5 telemetry tools (session listing, summaries, telemetry windows, tuning recommendations) to AI assistants, enabling natural language queries about driving sessions.
README
fh5-mcp
An MCP server that sits in front of my FH5 Telemetry Java app, so an AI assistant can answer questions about my Forza Horizon 5 driving sessions in plain English instead of me clicking around a web UI.
This was mostly a "learn what MCP actually is" project. It's a thin wrapper, all it does is call the Java app's REST API and hand the result back in a shape a model can use. No telemetry parsing or tuning logic lives here, that's all still in the Java app.
What it does
Four tools:
list_sessions- lists recorded sessionsget_session_summary(session_id)- duration, top speed, peak power, PI, drivetrain for one sessionget_telemetry_window(session_id, start_ms, end_ms)- telemetry samples for a time slice, capped at 100 samples so it doesn't dump a whole session into the model's contextget_tuning_recommendation(session_id, weight_kg, ...)- runs the Java app's tuning engine against a session
Example
Something like "what was my top speed in my last session and does the tuning engine have any suggestions" would go:
list_sessionsto find the most recent recordingget_session_summaryon it, that's where top speed comes fromget_tuning_recommendationwith a weight (has to be supplied, Forza never sends car weight over telemetry), drivetrain/power/PI get pulled from the session automatically if you don't pass them
If you also said "it kept understeering," the model would pass symptoms=["understeer"] to the last call and the recommendation adjusts for it.
Running it locally
Needs the Java app running first (http://localhost:7070 by default, see that repo for how to start it).
python -m venv .venv
.venv\Scripts\pip install -e ".[dev]"
.venv\Scripts\python -m fh5_mcp.server
That starts it over stdio, which is how an MCP client is meant to talk to it (the client launches it, not the other way around), so running it standalone like this is mostly just for checking it starts without errors.
Run the tests with:
.venv\Scripts\python -m pytest -v
They mock the Java API, so the Java app doesn't need to be running for these.
Running in Docker
Build it:
docker build -t fh5-mcp .
Run it over stdio (this is what you'd point an MCP client at):
docker run -i --rm fh5-mcp
Or bring it up as an HTTP service with docker-compose, which also points it at a Java app running on your host machine:
docker compose up
That runs the server on http://localhost:8080/mcp. Compose sets MCP_TRANSPORT=streamable-http for this, since a persistent container is a better fit for HTTP than stdio, stdio is meant to be spawned per client session, not left running in the background.
Config
Two env vars if you need to change anything:
FH5_JAVA_API_BASE- where the Java app is, defaults tohttp://localhost:7070MCP_TRANSPORT-stdio(default) orstreamable-http
Connecting an MCP client
For something like Claude Desktop, point it at the local venv:
{
"mcpServers": {
"fh5-telemetry": {
"command": "C:/path/to/FH5_TELEMETRY_MCP/.venv/Scripts/python.exe",
"args": ["-m", "fh5_mcp.server"]
}
}
}
or at the Docker image instead, so you don't need a local Python setup at all:
{
"mcpServers": {
"fh5-telemetry": {
"command": "docker",
"args": ["run", "-i", "--rm", "fh5-mcp"]
}
}
}
Either way, make sure the Java app is running and reachable first, otherwise every tool call comes back with a "can't reach the telemetry service" error instead of data.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.