Model Context Protocol
Servidor MCP de Footalytics
Las mismas predicciones de fútbol con IA del sitio, vía Model Context Protocol: nombra un partido y el servidor devuelve probabilidades de victoria/empate/derrota, confianza, más/menos de 2.5 y ambos equipos marcan — cada llamada se evalúa en público en el panel de precisión.
Qué es
Un servidor MCP hecho a medida sobre HTTP transmisible: JSON-RPC 2.0 (initialize, tools/list, tools/call), sin estado de sesión, sin SSE. El descubrimiento es abierto — initialize y tools/list son metadatos públicos del catálogo; las llamadas a herramientas se autentican con un token Bearer (una clave API de Footalytics fxk_… o un token de acceso OAuth fxt_…, el mismo modelo de cuenta que la API REST). Las llamadas de predicción exitosas cobran 1 crédito, igual que el endpoint REST.
Herramientas
| Herramienta | Qué hace |
|---|---|
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). |
Cómo conectarse
Dirige cualquier cliente MCP al endpoint HTTP transmisible de abajo y autentícate con tu clave API:
{
"mcpServers": {
"footalytics": {
"type": "http",
"url": "https://footalytics.farvor.com/mcp",
"headers": { "Authorization": "Bearer fxk_YOUR_API_KEY" }
}
}
}Obtén una clave en la página de claves API: las cuentas nuevas empiezan con 5 llamadas gratis. Los clientes OAuth usan los documentos de descubrimiento estándar en /.well-known/.