RaceHooks for LangChain
io.github.racehooks/racehooks-mcp
F1 race analytics & live timing for AI assistants — webhooks, results, and race simulations.
client:LangChain
transport:stdio
runtime:npm
Install RaceHooks in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"racehooks-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "racehooks-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs