Docs
Developer Reference
Everything you need to integrate ManU4U into your app, bot, or agent.
POST /ask
The single conversational entry point.
Request body
{
"question": "When does United play next?", // required
"sessionId": "user-abc" // optional, enables multi-turn
}Response
{
"answer": "Manchester United face Chelsea on Sunday at 4:30 PM BST.",
"confidence": 0.95,
"sessionId": "s1",
"toolTrace": [
{ "name": "resolve_time", "sequence": 1 },
{ "name": "get_fixtures", "sequence": 2 }
]
}toolTrace
Every response includes a toolTrace array showing exactly which capabilities were used to answer your question and in what order — a full audit trail with every call.
MCP Server
Coming weeksAdd ManU4U as a tool source to Claude, Cursor, or any MCP-compatible agent. Once installed, your AI can answer United questions with live data without any extra code.
{
"mcpServers": {
"manu4u": {
"command": "npx",
"args": ["manu4u-mcp"],
"env": { "MANU4U_API_KEY": "your_api_key" }
}
}
}Authentication
Pass your API key in the X-API-Key header with every request.
X-API-Key: your_api_key