Model Context Protocol
Servidor MCP do Footalytics
As mesmas previsões de futebol com IA do site, via Model Context Protocol: indique um jogo e o servidor retorna probabilidades de vitória/empate/derrota, confiança, mais/menos de 2.5 e ambos marcam — cada chamada é avaliada publicamente no painel de precisão.
O que é
Um servidor MCP feito sob medida sobre HTTP transmissível: JSON-RPC 2.0 (initialize, tools/list, tools/call), sem estado de sessão, sem SSE. A descoberta é aberta — initialize e tools/list são metadados públicos do catálogo; as chamadas de ferramentas usam autenticação com token Bearer (uma chave de API do Footalytics fxk_… ou um token de acesso OAuth fxt_…, o mesmo modelo de conta da API REST). Chamadas de previsão bem-sucedidas cobram 1 crédito, igual ao endpoint REST.
Ferramentas
| Ferramenta | O que faz |
|---|---|
get_match_prediction | AI football prediction: combines the algorithm with live data, analyses the match in depth, and predicts the score. Returns win/draw/loss probabilities, confidence, Over/Under 2.5 and Both-Teams-To-Score. Keep those numbers in the answer. Team names must be English (Arsenal, not 阿森纳). Uses 1 credit per successful call. Identify the match with fixture=<id> OR home+away (date optional, UTC). |
get_account_credits | Remaining Footalytics credits on the connected account. Call this before a prediction when the user asks about their quota, or when a prediction call failed with insufficient_credits. |
list_fixtures | Upcoming football fixtures with fixture ids and a has_prediction flag (1 credit per successful call). Use it to discover matches, then call get_match_prediction with the fixture id or English team names. |
get_team | Team profile from the Footalytics ratings table: current rating, games tracked and league (1 credit per successful call). |
list_results | Settled official predictions with the real score and the grade — hit/miss per market and Brier score; the public accuracy record (1 credit per successful call). |
Como conectar
Aponte qualquer cliente MCP para o endpoint HTTP transmissível abaixo e autentique-se com sua chave de API:
{
"mcpServers": {
"footalytics": {
"type": "http",
"url": "https://footalytics.farvor.com/mcp",
"headers": { "Authorization": "Bearer fxk_YOUR_API_KEY" }
}
}
}Obtenha uma chave na página de chaves de API — contas novas começam com 5 chamadas grátis. Clientes OAuth usam os documentos de descoberta padrão em /.well-known/.