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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。