Tulospalvelu MCP
Tulospalvelu MCP
Read-only MCP server for the Palloliitto's result service API.
Features
Connect AI applications to Palloliitto's result service data.
Search clubs, teams, players, competitions and venues data through the open search endpoint for football & futsal.
Find and inspect match data.
Discover competitions, historical season data.
Inspect league tables, player statistics, and optional embedded group matches.
Return normalized, LLM-friendly JSON payloads over MCP
stdio.
Get started
Prerequisites:
Node.js 20+
Usage
Clone the repository
Build the application
npm install npm run buildInstall the MCP
codex mcp add palloliitto \ --env PALLOLIITTO_ACCEPT_HEADER=<your-accept-header> \ -- node /absolute/path/to/palloliitto-mcp/dist/server.js
Enjoy!
Development
npm install
npm run build
npm run typecheckConfiguration
The server reads configuration from environment variables.
Variable | Required | Default |
| No |
|
| Yes | - |
| No |
|
Acquiring PALLOLIITTO_ACCEPT_HEADER
Open Palloliitto's result service
Open browser's developer tools
Locate network tab
Initiate search from the page
Locate related network event
search?text=<your-search-string>Look for
Acceptrequest header in Headers-tab and copy its value to use it as PALLOLIITTO_ACCEPT_HEADER env variable
Tools
search_entitieslist_seasonslist_competitionsget_competitionlist_categoriesget_league_tablelist_matchesget_matchget_match_scorelist_teamsget_teamget_player