Skip to main content
Glama
owen-lacey

FPL MCP Server

by owen-lacey

FPL MCP Server

A Model Context Protocol (MCP) server for the Fantasy Premier League API.

Installation

npm install -g fpl-mcp

Install from Source

git clone https://github.com/owen-lacey/fpl-mcp.git
cd fpl-mcp
npm install
npm run build

Related MCP server: Fantasy Premier League MCP Server

Quick Start

Using with Claude Desktop

If installed via NPM, add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "fpl-api": {
      "command": "npx",
      "args": ["fpl-mcp@latest"]
    }
  }
}

If installed from source, use:

{
  "mcpServers": {
    "fpl-api": {
      "command": "node",
      "args": ["/path/to/fpl-mcp/build/src/server.js"]
    }
  }
}

Inspect the MCP tools

Use the Model Inspector to explore available tools:

npx @modelcontextprotocol/inspector npx fpl-mcp

Usage Example

You can connect this MCP server to Claude Desktop and interact with FPL data using natural language.

Screenshot of Claude Desktop using FPL MCP server


Endpoints Supported

See docs/fpl-api-cheatsheet.md for all FPL API endpoints exposed as MCP tools.


Example Prompts

Use these prompts to interact with the MCP server via your LLM:

  • "Show me the fixtures for gameweek 5."

  • "How am I doing in my private leagues (team id is 12345)?"

  • "How did mo salah get on in GW1?"

You can ask natural language questions about any supported endpoint. The LLM will use the appropriate MCP tool to fetch the data.


Development

Publishing to npm

This repository includes a GitHub Actions workflow that automatically publishes to npm when the version number in package.json changes.

Setup

  1. Create an npm access token:

    • Log in to npmjs.com

    • Go to Access Tokens in your account settings

    • Generate a new "Automation" token

  2. Add the token to GitHub Secrets:

    • Go to your repository Settings > Secrets and variables > Actions

    • Create a new secret named NPM_TOKEN

    • Paste your npm token as the value

  3. Publish a new version:

    • Update the version in package.json (e.g., 1.0.11.0.2)

    • Commit and push to the main branch

    • The workflow will automatically build and publish to npm

    • A git tag (e.g., v1.0.2) will be created automatically


License

MIT

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Connects LLMs to the Fantasy Premier League API for intelligent team management, enabling natural language player research, competitor analysis, transfer decisions, and strategic planning using friendly names instead of IDs.
    Last updated
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Provides tools to query football match data, odds, standings, and team statistics via natural language, integrating with the football-scraper-api.
    Last updated
  • F
    license
    A
    quality
    C
    maintenance
    Enables natural language interaction with Sleeper Fantasy Football API data, allowing queries about leagues, players, matchups, draft results, and trade analysis.
    Last updated
    13
    9

View all related MCP servers

Related MCP Connectors

  • API-Football MCP — comprehensive soccer/football data

  • Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/owen-lacey/fpl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server