Fantasy MCP Server

A type-safe wrapper for the Fantasy Premier League API.

Local serverstdioTypeScript

What is the Fantasy MCP server?

A type-safe wrapper for the Fantasy Premier League API. The fantasy mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.

What it actually does

Its toolset

Everything the assistant can do here goes through one of these:

  • getBootstrapStatic — The getBootstrapStatic tool exposed by this server
  • getEventFixtures — The getEventFixtures tool exposed by this server

Adding it to your client

The server ships on npm as fantasy-premier-league-api, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Fantasy's toolset — getBootstrapStatic, getEventFixtures — is a fair guide to whether it matches your workflow. It is maintained by farazpatankar; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Fantasy's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the fantasy mcp server does with a few real requests.

Available tools

ToolWhat it does
getBootstrapStaticThe getBootstrapStatic tool exposed by this server.
getEventFixturesThe getEventFixtures tool exposed by this server.

How to install the Fantasy MCP server

{
  "mcpServers": {
    "fantasy-premier-league": {
      "command": "npx",
      "args": ["-y", "fantasy-premier-league-api"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Fantasy to getBootstrapStatic.
  • Use Fantasy to getEventFixtures.

Frequently asked questions

It connects Fantasy to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (getBootstrapStatic, getEventFixtures) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Fantasy directly.