Get the FREE Ultimate OpenClaw Setup Guide →

FantasyPremierLeague

Fantasy Premier League Kotlin/Compose Multiplatform sample

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio joreilly-fantasypremierleague java -jar /path/to/serverAll.jar --stdio

How to use

This MCP server integrates the Fantasy Premier League tooling into the MCP ecosystem. The server exposes an MCP tools endpoint that can return player and fixture information, enabling integration with desktop tools such as Claude Desktop or other MCP-enabled clients. To use it, first build the MCP server artifact with Gradle, then run the server using the provided command configuration. The example configuration shows how to launch the packaged JAR in stdio mode so clients can communicate via standard input/output.

Once running, you can query the MCP endpoint for player and fixture data, allowing your client applications to display up-to-date Fantasy Premier League information within a multi-platform workflow. You can plug this endpoint into compatible MCP clients or tooling that supports the MCP protocol to fetch and display the data in your app.

How to install

Prerequisites:

  • Java Runtime (JRE) or JDK installed
  • Gradle wrapper available (gradlew) in the repository

Setup and run steps:

  1. Clone the repository: git clone https://github.com/joreilly/FantasyPremierLeague.git
  2. Navigate to the project folder: cd FantasyPremierLeague
  3. Build the MCP server artifact (shadowJar) to produce serverAll.jar: ./gradlew shadowJar
  4. Locate the generated JAR (typically in mcp-server/build/libs/serverAll.jar)
  5. Run the MCP server using the provided configuration example (adjust the path to the JAR as needed): java -jar /path/to/serverAll.jar --stdio
  6. Update your MCP client configuration to point to this server name and the command/args above, e.g. in your mcp_config: { "mcpServers": { "FantasyPremierLeague": { "command": "java", "args": ["-jar", "/path/to/serverAll.jar", "--stdio"] } } }

Additional notes

Tips and notes:

  • Ensure the path to serverAll.jar is correct in the mcp_config or in the runtime command.
  • The server exposes an MCP endpoint for player and fixture data; verify which MCP methods are supported by the Kotlin MCP SDK version used.
  • If you change the build output location, update the mcp_config accordingly.
  • When running with stdio, make sure the client handles MCP protocol framing for requests and responses.
  • This server is part of a Kotlin Multiplatform project; ensure compatible JRE versions for Kotlin/SDK used in the build.

Related MCP Servers

Sponsor this space

Reach thousands of developers